A Java Collection
that wraps a Ceylon
Collection
. This collection is unmodifiable, throwing
UnsupportedOperationException
from mutator
methods.
Anything
Object
Basic
...and other supertypesAbstractCollection
...and other supertypesJavaCollection
AbstractCollection
Collection
Iterable
no subtypes hierarchy
Initializer |
JavaCollection(Collection<E?> collection) |
Attributes | |
hash | Source Codeshared actual Integer hash The hash value of the value, which allows the value to be an element of a hash-based set or key of a hash-based map. Implementations must respect the constraint that:
Therefore, a class which refines In general, Note that when executing on a Java Virtual Machine, the
64-bit |
Inherited Attributes |
Attributes inherited from: AbstractCollection<E> empty , string |
Attributes inherited from: Object |
Methods | |
equals | Source Codeshared actual Boolean equals(Object that) Determine if two values are equal. For any two non-null objects x == y Implementations should respect the constraints that:
Furthermore it is recommended that implementations
ensure that if A class which explicitly refines Note that an implementation of |
iterator | Source Codeshared actual Iterator<E> iterator() Refines AbstractCollection.iterator ultimately refines Iterable.iterator |
size | Source Codeshared actual Integer size() Refines AbstractCollection.size ultimately refines Collection.size |
Inherited Methods |
Methods inherited from: AbstractCollection<E> add , addAll , clear , contains , containsAll , iterator , remove , removeAll , retainAll , size , toArray |
Methods inherited from: Object |