Interface XAddGetSet<E>
- All Superinterfaces:
CapacityCarrying
,CapacityExtendable
,Consumer<E>
,Copyable
,ExtendedCollection<E>
,Iterable<E>
,OptimizableCollection
,Sized
,XAddGetCollection<E>
,XAddingCollection<E>
,XAddingSet<E>
,XGettingCollection<E>
,XGettingSet<E>
,XIterable<E>
,XJoinable<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>
,XPutGetEnum<E>
,XPutGetSet<E>
,XRank<E>
,XSet<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 XAddGetSet<E> extends XAddingSet<E>, XGettingSet<E>, XAddGetCollection<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XAddGetSet.Factory<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.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 XAddGetSet<E>
addAll(E... elements)
XAddGetSet<E>
addAll(E[] elements, int srcStartIndex, int srcLength)
XAddGetSet<E>
addAll(XGettingCollection<? extends E> elements)
E
addGet(E element)
XAddGetSet<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.E
deduplicate(E element)
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 one.microstream.collections.interfaces.OptimizableCollection
optimize
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAdd
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
-
Method Details
-
addGet
-
deduplicate
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
-
addAll
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
-
copy
XAddGetSet<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 interfaceXAddGetCollection<E>
- Specified by:
copy
in interfaceXGettingCollection<E>
- Specified by:
copy
in interfaceXGettingSet<E>
- Returns:
- a copy of this list
-