class TiledUndirectedPropertyMap[T] extends PropertyMap[Vertex, T]
A property map for properties that do not depend on the direction of a vertex (segment properties).
See also UndirectedPropertyTile for details on the data format used by this class.
- Note
Undirected (i.e. Segment) properties have the same value for both vertices corresponding to a segment. Therefore, we can store a single value for both to reduce memory usage.
- Alphabetic
- By Inheritance
- TiledUndirectedPropertyMap
- PropertyMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
TiledUndirectedPropertyMap(tileById: (TileId) ⇒ Option[UndirectedPropertyTile[T]])
- tileById
Used to retrieve the data tiles by their ID, if they exist
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): T
Retrieves the property value associated with a particular
key
.Retrieves the property value associated with a particular
key
.- Definition Classes
- TiledUndirectedPropertyMap → PropertyMap
- Exceptions thrown
java.util.NoSuchElementException
if the key is not found
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @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
true
if this PropertyMap contains a value forkey
,false
otherwise
- Definition Classes
- TiledUndirectedPropertyMap → PropertyMap
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()