Interface XProcessingSet<E>
- All Superinterfaces:
CapacityCarrying
,Clearable
,ConsolidatableCollection
,Copyable
,ExtendedCollection<E>
,Iterable<E>
,OptimizableCollection
,Processable<E>
,ReleasingCollection<E>
,Sized
,Truncateable
,XGettingCollection<E>
,XGettingSet<E>
,XIterable<E>
,XJoinable<E>
,XProcessingCollection<E>
,XRemovingCollection<E>
,XRemovingSet<E>
- All Known Subinterfaces:
XBasicEnum<E>
,XBasicTable<K,V>
,XBasicTable.Keys<K,V>
,XChart<K,V>
,XChart.Keys<K,V>
,XDecreasingEnum<E>
,XEnum<E>
,XMap<K,V>
,XMap.Keys<K,V>
,XProcessingEnum<E>
,XProcessingMap.Keys<K,V>
,XRank<E>
,XSet<E>
,XTable<K,V>
,XTable.Keys<K,V>
- All Known Implementing Classes:
EnumProcessor
,EqHashEnum
,EqHashTable
,EqHashTable.Keys
,HashEnum
,HashTable
,HashTable.Keys
,LockedMap
,MutexSet
,OpenAdressingMiniSet
,Single
,SynchSet
public interface XProcessingSet<E> extends XRemovingSet<E>, XGettingSet<E>, XProcessingCollection<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XProcessingSet.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.XGettingSet
XGettingSet.Creator<E>
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
Method Summary
Modifier and Type Method Description XProcessingSet<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.XImmutableSet<E>
immure()
Provides an instance of an immutable collection type with equal behavior and data as this instance.Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacity
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowed
Methods 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, view
Methods inherited from interface one.microstream.collections.types.XProcessingCollection
fetch, iterate, moveTo, pinch, removeBy, removeDuplicates, retrieve, retrieveBy
Methods inherited from interface one.microstream.collections.types.XRemovingCollection
clear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncate
-
Method Details
-
immure
XImmutableSet<E> immure()Description copied from interface:XGettingCollection
Provides 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:
immure
in interfaceXGettingCollection<E>
- Specified by:
immure
in interfaceXGettingSet<E>
- Returns:
- an immutable copy of this collection instance.
-
copy
XProcessingSet<E> copy()Description copied from interface:XGettingCollection
Creates 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:
copy
in interfaceCopyable
- Specified by:
copy
in interfaceXGettingCollection<E>
- Specified by:
copy
in interfaceXGettingSet<E>
- Returns:
- a copy of this list
-