Class TiledOverlappingRangeBasedPropertyMap<T,U>
java.lang.Object
com.here.platform.location.inmemory.graph.TiledOverlappingRangeBasedPropertyMap<T,U>
- Type Parameters:
T- Type of the property values inside theOverlappingRangeBasedPropertyTilesU- Type of the property values returned by thisPropertyMap
- All Implemented Interfaces:
com.here.platform.location.core.graph.PropertyMap<Vertex,scala.collection.immutable.Seq<com.here.platform.location.core.graph.RangeBasedProperty<U>>>
public abstract class TiledOverlappingRangeBasedPropertyMap<T,U>
extends Object
implements com.here.platform.location.core.graph.PropertyMap<Vertex,scala.collection.immutable.Seq<com.here.platform.location.core.graph.RangeBasedProperty<U>>>
Unifies multiple
OverlappingRangeBasedPropertyTiles, to enable using them transparently to look up
property values by Vertex.
TiledOverlappingRangeBasedPropertyMap supports properties of type U that are represented by
a different type T inside the underlying OverlappingRangeBasedPropertyTiles.
In this case, property values are converted from one type to the other whenever they are retrieved.
See also OverlappingTiledRangeBasedPropertyMap.transform
param: tileById Used to retrieve the data tiles by their ID, if they exist
param: default Default sequence of
RangeBasedProperties
returned when no property applies to the given Vertex. Unless specified, this
is an empty sequence.
-
Constructor Summary
ConstructorsConstructorDescriptionTiledOverlappingRangeBasedPropertyMap(scala.Function1<TileId, scala.Option<OverlappingRangeBasedPropertyTile<T>>> tileById, scala.collection.immutable.IndexedSeq<com.here.platform.location.core.graph.RangeBasedProperty<U>> default_) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.here.platform.location.core.graph.PropertyMap
apply$mcD$sp, apply$mcZ$sp
-
Constructor Details
-
TiledOverlappingRangeBasedPropertyMap
public TiledOverlappingRangeBasedPropertyMap(scala.Function1<TileId, scala.Option<OverlappingRangeBasedPropertyTile<T>>> tileById, scala.collection.immutable.IndexedSeq<com.here.platform.location.core.graph.RangeBasedProperty<U>> default_)
-
-
Method Details
-
apply
-
contains
-