Interface XPuttingSet<E>
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Consumer<E>,ExtendedCollection<E>,OptimizableCollection,ReleasingCollection<E>,Sized,XAddingCollection<E>,XAddingSet<E>,XPuttingCollection<E>
- All Known Subinterfaces:
XBasicEnum<E>,XBasicTable<K,V>,XBasicTable.Keys<K,V>,XChart<K,V>,XChart.Keys<K,V>,XEnum<E>,XExpandingEnum<E>,XIncreasingEnum<E>,XInputtingEnum<E>,XMap<K,V>,XMap.Keys<K,V>,XPutGetEnum<E>,XPutGetSet<E>,XPuttingEnum<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 XPuttingSet<E> extends XPuttingCollection<E>, XAddingSet<E>, ReleasingCollection<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXPuttingSet.Creator<E> -
Method Summary
Modifier and Type Method Description XPuttingSet<E>addAll(E... elements)XPuttingSet<E>addAll(E[] elements, int srcStartIndex, int srcLength)XPuttingSet<E>addAll(XGettingCollection<? extends E> elements)XPuttingSet<E>putAll(E... elements)Adds the specified elements to this collection if it is not already present (optional operation).XPuttingSet<E>putAll(E[] elements, int srcStartIndex, int srcLength)Adds the specified elements to this collection if it is not already present (optional operation).
Only the elements with indizes from the srcStartIndex to the srcStartIndex+srcLength are put in the collection.XPuttingSet<E>putAll(XGettingCollection<? extends E> elements)Adds the specified elements to this collection if it is not already present (optional operation).Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
hasVolatileElements, nullAllowedMethods inherited from interface one.microstream.collections.interfaces.OptimizableCollection
optimizeMethods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAdd
-
Method Details
-
putAll
Adds the specified elements to this collection if it is not already present (optional operation).In this implementation it overwrites equal, already contained elements.
- Specified by:
putAllin interfaceXPuttingCollection<E>- Parameters:
elements- to add- Returns:
- this
-
putAll
Adds the specified elements to this collection if it is not already present (optional operation).
Only the elements with indizes from the srcStartIndex to the srcStartIndex+srcLength are put in the collection.In this implementation it overwrites equal, already contained elements.
- Specified by:
putAllin interfaceXPuttingCollection<E>- Parameters:
elements- to addsrcStartIndex- start index of elements-array to add to collectionsrcLength- length of elements-array to add to collection- Returns:
- this
-
putAll
Adds the specified elements to this collection if it is not already present (optional operation).In this implementation it overwrites equal, already contained elements.
- Specified by:
putAllin interfaceXPuttingCollection<E>- Parameters:
elements- to add- Returns:
- this
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSet<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSet<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSet<E>
-