Class TiledRangeBasedPropertyMap<T,U>
java.lang.Object
com.here.platform.location.inmemory.graph.TiledRangeBasedPropertyMap<T,U>
- Type Parameters:
T- Type of the property values inside theRangeBasedPropertyTilesU- Type of the property values returned by thisRangeBasedPropertyMap
- All Implemented Interfaces:
com.here.platform.location.core.graph.PropertyMap<Vertex,,scala.collection.immutable.Seq<com.here.platform.location.core.graph.RangeBasedProperty<U>>> com.here.platform.location.core.graph.RangeBasedPropertyMap<Vertex,U>
- Direct Known Subclasses:
TiledRangeBasedPropertyMap.Identity
public abstract class TiledRangeBasedPropertyMap<T,U>
extends Object
implements com.here.platform.location.core.graph.RangeBasedPropertyMap<Vertex,U>
Unifies multiple
RangeBasedPropertyTiles, to enable using them transparently to look up
property values by Vertex.
TiledRangeBasedPropertyMap supports properties of type U that are represented by
a different type T inside the underlying RangeBasedPropertyTiles.
In this case, property values are converted from one type to the other whenever they are retrieved.
See also TiledRangeBasedPropertyMap.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classATiledRangeBasedPropertyMapthat does not apply any transformation to the values inside theRangeBasedPropertyTiles before returning them.static class -
Constructor Summary
ConstructorsConstructorDescriptionTiledRangeBasedPropertyMap(scala.Function1<TileId, scala.Option<RangeBasedPropertyTile<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$spMethods inherited from interface com.here.platform.location.core.graph.RangeBasedPropertyMap
apply
-
Constructor Details
-
TiledRangeBasedPropertyMap
public TiledRangeBasedPropertyMap(scala.Function1<TileId, scala.Option<RangeBasedPropertyTile<T>>> tileById, scala.collection.immutable.IndexedSeq<com.here.platform.location.core.graph.RangeBasedProperty<U>> default_)
-
-
Method Details
-
apply
-
contains
-