//Spheroid Script/spheroid.client.ar/NodeCollection
NodeCollection
interface NodeCollection : MutableCollection
Functions
Name | Summary |
---|---|
add | Adds the specified element to the collection. fun add(element: Node): Boolean |
clear | Removes all elements from this collection. fun clear() |
contains | Checks if the specified element is contained in this collection. operator fun contains(element: Node): Boolean |
isEmpty | Returns true if the collection is empty (contains no elements), false otherwise. fun isEmpty(): Boolean |
remove | Removes a single instance of the specified element from this collection, if it is present. fun remove(element: Node): Boolean |
toString | fun toString(): String |
Properties
Name | Summary |
---|---|
size | Returns the size of the collection. val size: Long |