abstract class TiledOverlappingRangeBasedPropertyMap[T, U] extends PropertyMap[Vertex, Seq[RangeBasedProperty[U]]]
Unifies multiple OverlappingRangeBasedPropertyTiles, to enable using them transparently to look up property values by com.here.platform.location.inmemory.graph.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
- T
Type of the property values inside the OverlappingRangeBasedPropertyTiles
- U
Type of the property values returned by this PropertyMap
- Alphabetic
- By Inheritance
- TiledOverlappingRangeBasedPropertyMap
- PropertyMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TiledOverlappingRangeBasedPropertyMap(tileById: (TileId) => Option[OverlappingRangeBasedPropertyTile[T]], default: IndexedSeq[RangeBasedProperty[U]] = IndexedSeq.empty)
- tileById
Used to retrieve the data tiles by their ID, if they exist
- default
Default sequence of RangeBasedProperties returned when no property applies to the given Vertex. Unless specified, this is an empty sequence.
Abstract Value Members
- abstract def transform(value: T): U
Converts the value of a property from its representation inside the underlying OverlappingRangeBasedPropertyTile to the form that will be returned to the user.
Converts the value of a property from its representation inside the underlying OverlappingRangeBasedPropertyTile to the form that will be returned to the user.
This transformation will be applied every time a value is retrieved and its results will not be cached. For this reason, this method should be as fast as possible.
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(key: Vertex): Seq[RangeBasedProperty[U]]
Retrieves the property value associated with a particular
key.Retrieves the property value associated with a particular
key.- Definition Classes
- TiledOverlappingRangeBasedPropertyMap → PropertyMap
- Exceptions thrown
java.util.NoSuchElementExceptionif the key is not found
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def contains(key: Vertex): Boolean
Tests whether this PropertyMap contains a value for a particular key.
Tests whether this PropertyMap contains a value for a particular key.
- returns
trueif this PropertyMap contains a value forkey,falseotherwise
- Definition Classes
- TiledOverlappingRangeBasedPropertyMap → PropertyMap
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)