Examples of MapAdapter


Examples of aimax.osm.routing.agent.MapAdapter

  public void readMap(InputStream stream) {
    if (stream != null) {
      MapReader mapReader = new Bz2OsmReader();
      MapBuilder mapBuilder = new DefaultMapBuilder();
      mapReader.readMap(stream, mapBuilder);
      map = new MapAdapter(mapBuilder.buildMap());
    }
    else
      LOG.warning("Map reading failed because input stream does not exist.");
  }
View Full Code Here

Examples of aimax.osm.routing.agent.MapAdapter

  /** Reads a map from the specified file and stores it in {@link #map}. */
  public void readMap(File file) {
    MapReader mapReader = new Bz2OsmReader();
    MapBuilder mapBuilder = new DefaultMapBuilder();
    mapReader.readMap(file, mapBuilder);
    map = new MapAdapter(mapBuilder.buildMap());
  }
View Full Code Here

Examples of dk.valtech.octools.util.collections.MapAdapter

   * </p>
   */
  @SuppressWarnings("unchecked")
  public Map<Number, String> getPathPart() {
    if (pathPart == null) {
      pathPart = new MapAdapter() {
        /*
         * (non-Javadoc)
         * @see java.util.Map#get(java.lang.Object)
         */
        public Object get(Object key) {
View Full Code Here

Examples of org.fjank.jcache.collection.MapAdapter

     * A method to retrieve a Map based implementation
     * of a CacheAccess to the default region.
     * @return a Map based Cache implementation to the default region.
     */
  public CacheMap getMapAccess() {
    return new MapAdapter(getNewAccessImpl(null));
  }
View Full Code Here

Examples of org.fjank.jcache.collection.MapAdapter

   * A method to retrieve a Map based implementation
   * of a CacheAccess to the specified region.
   * @return a Map based Cache implementation to the specified region.
   */
  public CacheMap getMapAccess(final String region) {
    return new MapAdapter(getNewAccessImpl(region));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.