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 theOverlappingRangeBasedPropertyTile
sU
- Type of the property values returned by thisPropertyMap
- All Implemented Interfaces:
com.here.platform.location.core.graph.PropertyMap<Vertex,
scala.collection.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.Seq<com.here.platform.location.core.graph.RangeBasedProperty<U>>>
Unifies multiple
OverlappingRangeBasedPropertyTile
s, 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 OverlappingRangeBasedPropertyTile
s.
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.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, wait
Methods 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.IndexedSeq<com.here.platform.location.core.graph.RangeBasedProperty<U>> default_)
-
-
Method Details
-
apply
-
contains
-