Generic type of this collection (e.g.
Generic type of this collection (e.g. Map, Map2, Set).
Immutable variant of this collection.
Immutable variant of this collection.
Mutable variant of this collection.
Mutable variant of this collection.
Returns this collection if already immutable, or an immutable copy.
Returns this collection if already immutable, or an immutable copy.
Checks if two collections are equal.
Checks if two collections are equal.
Equal means the collections have the same generic type (which is checked
by the method ptrCastT
) and the same contents.
Comparing metal collections with any other collection types (including those from Scala) will return false.
Hashes the contents of the collection to an Int value.
Hashes the contents of the collection to an Int value.
By xor'ing all the collection's element hashes together, we can be sure that collections with the same contents will have the same hashCode regardless of the order those items appear.
Returns true if the container is empty, false otherwise.
Returns true if the container is empty, false otherwise.
Return the size of this container; we use Long
so that big containers
can be manipulated.
Return the size of this container; we use Long
so that big containers
can be manipulated.
Creates a mutable copy of this collection.
Creates a mutable copy of this collection.
Returns true if the container is non-empty, false otherwise.
Returns true if the container is non-empty, false otherwise.
Flag indicating that the equals methods of this object should be called in priority.
Flag indicating that the equals methods of this object should be called in priority.
Returns a pointer to the start of this container instance.
Returns a pointer to the start of this container instance.
Tests if the parameter has the same generic type, and returns an optional cast.
Checks that the pointed element exists in the other collection and has the same value.
Checks that the pointed element exists in the other collection and has the same value.
Returns a pointer to the given item, if it exists, or null.
Returns a pointer to the given item, if it exists, or null.
Returns the hashCode of the pointed element.
Returns the hashCode of the pointed element.
Returns the key pointed by ptr
.
Returns the key pointed by ptr
.
Returns a pointer to the next element if available, or returns a null pointer.
Returns a pointer to the next element if available, or returns a null pointer.
Returns the toString representation of the pointed element.
Returns the toString representation of the pointed element.
String prefix used in the toString
method.
String prefix used in the toString
method.