public interface XImmutableCollection<E> extends XGettingCollection<E>, Immutable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XImmutableCollection.Factory<E> |
XGettingCollection.Creator<E>XIterable.Executor<E>Copyable.Static| Modifier and Type | Method and Description |
|---|---|
static <E> Aggregator<E,XImmutableCollection<E>> |
Builder() |
static <E> Aggregator<E,XImmutableCollection<E>> |
Builder(long initialCapacity) |
XImmutableCollection<E> |
copy()
Creates a true copy of this collection which references the same elements as this collection does
at the time the method is called.
|
XImmutableCollection<E> |
immure()
Always returns the already immutable collection instance itself
|
applies, contains, containsAll, containsId, containsSearched, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, get, hashCode, hasVolatileElements, intersect, intSize, iterator, join, max, min, nullContained, old, search, seek, size, toArray, toArray, union, viewnullAllowedforEach, spliteratorisFull, maximumCapacity, remainingCapacityequals, hashCodestatic <E> Aggregator<E,XImmutableCollection<E>> Builder()
static <E> Aggregator<E,XImmutableCollection<E>> Builder(long initialCapacity)
XImmutableCollection<E> copy()
XGettingCollectioncopy in interface Copyablecopy in interface XGettingCollection<E>XImmutableCollection<E> immure()
For spawning a copy of the collection instance, see copy()
immure in interface XGettingCollection<E>copy()Copyright © 2022 MicroStream Software. All rights reserved.