Packages

t

com.here.platform.location.core.graph

RangeBasedPropertyMap

trait RangeBasedPropertyMap[K, T] extends PropertyMap[K, Seq[RangeBasedProperty[T]]]

Specialized PropertyMap for properties that potentially apply to only part of a key.

These properties are represented by a series of ranges assigning a value to parts of an element. Each part is defined by a start and an end offset (in the [0.0; 1.0] range).

For example, the speed limits could be represented by a RangeBasedProperty[Vertex, Int] where each vertex could be mapped to multiple speed limits. Each range corresponds to a specific speed limit and defines where it starts and ends.

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

Abstract Value Members

  1. abstract def apply(key: K): Seq[RangeBasedProperty[T]]

    Look up all range-based properties for a given key.

    Look up all range-based properties for a given key.

    returns

    The sequence of non-overlapping range-based properties, in ascending order by start offset, then end offset

    Definition Classes
    RangeBasedPropertyMapPropertyMap
    Note

    Consecutive calls with the same arguments must return the ranges in the same order

    ,

    Two ranges r1 and r2 are non-overlapping iff r1.start >= r2.end || r1.end <= r2.start

  2. abstract def contains(key: K): 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
    PropertyMap

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: K, offset: Double): Option[RangeBasedProperty[T]]

    Look up the range-based property for a given key and offset.

    Look up the range-based property for a given key and offset.

    The last range containing the offset is returned, so when the end offset O of the range R1 equals the start offset of the range R2 (the ranges are adjacent to each other), apply(key, O) returns R2.

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

Inherited from PropertyMap[K, Seq[RangeBasedProperty[T]]]

Inherited from AnyRef

Inherited from Any

Ungrouped