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
- Alphabetic
- By Inheritance
- Identity
- TiledRangeBasedPropertyMap
- RangeBasedPropertyMap
- PropertyMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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[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
- TiledRangeBasedPropertyMap → RangeBasedPropertyMap → PropertyMap
- 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
- def apply(key: Vertex, offset: Double): Option[RangeBasedProperty[T]]
Look up the range-based property for a given
keyandoffset.Look up the range-based property for a given
keyandoffset.The last range containing the
offsetis 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
- 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
- TiledRangeBasedPropertyMap → 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
- 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
- Identity → TiledRangeBasedPropertyMap
- 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)