Interface XPuttingEnum<E>
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Consumer<E>,ExtendedCollection<E>,ExtendedSequence<E>,OptimizableCollection,ReleasingCollection<E>,Sized,XAddingCollection<E>,XAddingEnum<E>,XAddingSequence<E>,XAddingSet<E>,XPuttingCollection<E>,XPuttingSequence<E>,XPuttingSet<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>,XPutGetEnum<E>,XRank<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,Single
public interface XPuttingEnum<E> extends XPuttingSet<E>, XPuttingSequence<E>, XAddingEnum<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXPuttingEnum.Creator<E> -
Method Summary
Modifier and Type Method Description XPuttingEnum<E>addAll(E... elements)XPuttingEnum<E>addAll(E[] elements, int srcStartIndex, int srcLength)XPuttingEnum<E>addAll(XGettingCollection<? extends E> elements)XPuttingEnum<E>putAll(E... elements)Adds the specified elements to this collection if it is not already present (optional operation).XPuttingEnum<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.XPuttingEnum<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
Description copied from interface:XPuttingSetAdds 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>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSet<E>- Parameters:
elements- to add- Returns:
- this
-
putAll
Description copied from interface:XPuttingSetAdds 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>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSet<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
Description copied from interface:XPuttingSetAdds 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>- Specified by:
putAllin interfaceXPuttingSequence<E>- Specified by:
putAllin interfaceXPuttingSet<E>- Parameters:
elements- to add- Returns:
- this
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingEnum<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXPuttingSet<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingEnum<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXPuttingSet<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingEnum<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXAddingSet<E>- Specified by:
addAllin interfaceXPuttingSet<E>
-