Packages

class Identity[T] extends TiledRangeBasedPropertyMap[T, T]

A TiledRangeBasedPropertyMap that does not apply any transformation to the values inside the RangeBasedPropertyTiles before returning them.

T

Type of the property values

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Identity
  2. TiledRangeBasedPropertyMap
  3. RangeBasedPropertyMap
  4. PropertyMap
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Identity(tileById: (TileId) ⇒ Option[RangeBasedPropertyTile[T]], default: IndexedSeq[RangeBasedProperty[T]] = 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.

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[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
    TiledRangeBasedPropertyMapRangeBasedPropertyMapPropertyMap
    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

  5. def apply(key: Vertex, 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.

    Definition Classes
    RangeBasedPropertyMap
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. 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
    TiledRangeBasedPropertyMapPropertyMap
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def transform(value: T): T

    Converts the value of a property from its representation inside the underlying RangeBasedPropertyTile to the form that will be returned to the user.

    Converts the value of a property from its representation inside the underlying RangeBasedPropertyTile 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
    Definition Classes
    IdentityTiledRangeBasedPropertyMap
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from TiledRangeBasedPropertyMap[T, T]

Inherited from RangeBasedPropertyMap[Vertex, T]

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

Inherited from AnyRef

Inherited from Any

Ungrouped