c

com.here.platform.location.inmemory.graph

TiledOverlappingRangeBasedPropertyMap

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

Linear Supertypes
PropertyMap[Vertex, Seq[RangeBasedProperty[U]]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TiledOverlappingRangeBasedPropertyMap
  2. PropertyMap
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
    TiledOverlappingRangeBasedPropertyMapPropertyMap
    Exceptions thrown

    java.util.NoSuchElementException if the key is not found

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. 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

    true if this PropertyMap contains a value for key, false otherwise

    Definition Classes
    TiledOverlappingRangeBasedPropertyMapPropertyMap
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from PropertyMap[Vertex, Seq[RangeBasedProperty[U]]]

Inherited from AnyRef

Inherited from Any

Ungrouped