Interface XSet<E>
-
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Clearable,ConsolidatableCollection,Consumer<E>,Copyable,ExtendedCollection<E>,Iterable<E>,OptimizableCollection,Processable<E>,ReleasingCollection<E>,Sized,Truncateable,XAddGetCollection<E>,XAddGetSet<E>,XAddingCollection<E>,XAddingSet<E>,XCollection<E>,XGettingCollection<E>,XGettingSet<E>,XIterable<E>,XJoinable<E>,XProcessingCollection<E>,XProcessingSet<E>,XPutGetCollection<E>,XPutGetSet<E>,XPuttingCollection<E>,XPuttingSet<E>,XRemovingCollection<E>,XRemovingSet<E>
- All Known Subinterfaces:
XBasicEnum<E>,XBasicTable<K,V>,XBasicTable.Keys<K,V>,XChart<K,V>,XChart.Keys<K,V>,XEnum<E>,XMap<K,V>,XMap.Keys<K,V>,XRank<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,LockedMap,MutexSet,OpenAdressingMiniSet,Single,SynchSet
public interface XSet<E> extends XCollection<E>, XPutGetSet<E>, XProcessingSet<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXSet.Factory<E>-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
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.XAddGetCollection
XAddGetCollection.Creator<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XAddingSet
XAddingSet.Creator<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>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XPutGetCollection
XPutGetCollection.Creator<E>
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XPuttingSet
XPuttingSet.Creator<E>
-
-
Method Summary
Modifier and Type Method Description XSet<E>addAll(E... elements)XSet<E>addAll(E[] elements, int srcStartIndex, int srcLength)XSet<E>addAll(XGettingCollection<? extends E> elements)XSet<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.XSet<E>putAll(E... elements)XSet<E>putAll(E[] elements, int srcStartIndex, int srcLength)XSet<E>putAll(XGettingCollection<? extends E> elements)-
Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacity
-
Methods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacity
-
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
nullAllowed
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface one.microstream.functional.Processable
process
-
Methods inherited from interface one.microstream.collections.types.XAddGetSet
addGet, deduplicate
-
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, nullAdd
-
Methods inherited from interface one.microstream.collections.types.XCollection
collector
-
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.XGettingSet
iterate
-
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.XProcessingSet
immure
-
Methods inherited from interface one.microstream.collections.types.XPutGetSet
putGet, replace
-
Methods inherited from interface one.microstream.collections.types.XPuttingCollection
nullPut, put
-
Methods inherited from interface one.microstream.collections.types.XRemovingCollection
clear, consolidate, nullRemove, optimize, remove, removeAll, removeDuplicates, removeOne, retainAll, truncate
-
-
-
-
Method Detail
-
putAll
XSet<E> putAll(E... elements)
- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetSet<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSet<E>
-
putAll
XSet<E> putAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetSet<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSet<E>
-
putAll
XSet<E> putAll(XGettingCollection<? extends E> elements)
- Specified by:
putAllin interfaceXCollection<E>- Specified by:
putAllin interfaceXPutGetCollection<E>- Specified by:
putAllin interfaceXPutGetSet<E>- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSet<E>
-
addAll
XSet<E> addAll(E... elements)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddGetSet<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetSet<E>- Specified by:
addAllin interfaceXPuttingSet<E>
-
addAll
XSet<E> addAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddGetSet<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetSet<E>- Specified by:
addAllin interfaceXPuttingSet<E>
-
addAll
XSet<E> addAll(XGettingCollection<? extends E> elements)
- Specified by:
addAllin interfaceXAddGetCollection<E>- Specified by:
addAllin interfaceXAddGetSet<E>- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXCollection<E>- Specified by:
addAllin interfaceXPutGetCollection<E>- Specified by:
addAllin interfaceXPutGetSet<E>- Specified by:
addAllin interfaceXPuttingSet<E>
-
copy
XSet<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 interfaceXAddGetCollection<E>- Specified by:
copyin interfaceXAddGetSet<E>- Specified by:
copyin interfaceXCollection<E>- Specified by:
copyin interfaceXGettingCollection<E>- Specified by:
copyin interfaceXGettingSet<E>- Specified by:
copyin interfaceXProcessingSet<E>- Specified by:
copyin interfaceXPutGetCollection<E>- Specified by:
copyin interfaceXPutGetSet<E>- Returns:
- a copy of this list
-
-