Interface XGettingBag<E>
- All Superinterfaces:
CapacityCarrying,Copyable,ExtendedBag<E>,ExtendedCollection<E>,Iterable<E>,Sized,XGettingCollection<E>,XIterable<E>,XJoinable<E>
- All Known Subinterfaces:
XBag<E>,XBasicList<E>,XBasicTable.Values<K,V>,XChart.Values<K,V>,XDecreasingList<E>,XGettingList<E>,XGettingMap.Values<K,V>,XGettingTable.Values<K,V>,XImmutableBag<E>,XImmutableList<E>,XImmutableMap.Values<K,V>,XImmutableTable.Values<K,V>,XIncreasingList<E>,XLadder<E>,XList<E>,XMap.Values<K,V>,XProcessingBag<E>,XProcessingList<E>,XProcessingMap.Values<K,V>,XPutGetBag<E>,XPutGetList<E>,XReference<E>,XReferencing<E>,XSettingList<E>,XTable.Values<K,V>
- All Known Implementing Classes:
ArrayAccessor,ArrayCollector,ArrayView,BulkList,Constant,ConstHashTable.Values,ConstList,Empty,EqBulkList,EqConstHashTable.Values,EqConstList,EqHashTable.Values,FixedList,HashTable.Values,LimitList,LinkingReferencing.Default,LinkReference.Default,ListAccessor,ListProcessor,ListView,LockedList,MappedList,Single,Singleton,SingletonView,SubList,SubListAccessor,SubListProcessor,SubListView,SynchList
public interface XGettingBag<E> extends XGettingCollection<E>, ExtendedBag<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXGettingBag.Factory<E>Nested classes/interfaces inherited from interface one.microstream.collections.interfaces.ExtendedCollection
ExtendedCollection.Creator<E,C extends ExtendedCollection<E>>Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingCollection
XGettingCollection.Creator<E>Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E> -
Method Summary
Modifier and Type Method Description XGettingBag<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()Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowedMethods inherited from interface one.microstream.collections.types.XGettingCollection
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
-
Method Details
-
copy
XGettingBag<E> copy()Description copied from interface:XGettingCollectionCreates a true copy of this collection which references the same elements as this collection does at the time the method is called. The elements themselves are NOT copied (no deep copying).
The type of the returned set is the same as of this list if possible.- Specified by:
copyin interfaceCopyable- Specified by:
copyin interfaceXGettingCollection<E>- Returns:
- a copy of this list
-
view
XGettingBag<E> view()- Specified by:
viewin interfaceXGettingCollection<E>
-
immure
XImmutableBag<E> immure()Description copied from interface:XGettingCollectionProvides an instance of an immutable collection type with equal behavior and data as this instance.If this instance already is of an immutable collection type, it returns itself.
- Specified by:
immurein interfaceXGettingCollection<E>- Returns:
- an immutable copy of this collection instance.
-