public interface XProcessingBag<E> extends XRemovingBag<E>, XGettingBag<E>, XProcessingCollection<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XProcessingBag.Factory<E> |
XGettingCollection.Creator<E>XIterable.Executor<E>Copyable.Static| Modifier and Type | Method and Description |
|---|---|
XProcessingBag<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.
|
XImmutableBag<E> |
immure()
Provides an instance of an immutable collection type with equal behavior and data as this instance.
|
XGettingBag<E> |
view()
Creates a view of this collection and returns it.
|
fetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveByprocessclear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncateapplies, 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, unionnullAllowedforEach, spliteratorisFull, maximumCapacity, remainingCapacityXProcessingBag<E> copy()
XGettingCollectioncopy in interface Copyablecopy in interface XGettingBag<E>copy in interface XGettingCollection<E>XGettingBag<E> view()
XGettingCollection
A view is different from immutable collection (XGettingCollection.immure())
in the way, that changes in this collection are still affecting the view.
The immutable collection on the other hand has no reference to this collection
and changes therefore do not affect the immutable collection.
view in interface XGettingBag<E>view in interface XGettingCollection<E>XImmutableBag<E> immure()
If this instance already is of an immutable collection type, it returns itself.
immure in interface XGettingBag<E>immure in interface XGettingCollection<E>Copyright © 2022 MicroStream Software. All rights reserved.