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 interface
XPuttingEnum.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, remainingCapacity
Methods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacity
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
hasVolatileElements, nullAllowed
Methods inherited from interface one.microstream.collections.interfaces.OptimizableCollection
optimize
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAdd
-
Method Details
-
putAll
Description copied from interface:XPuttingSet
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:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in interfaceXPuttingSet<E>
- Parameters:
elements
- to add- Returns:
- this
-
putAll
Description copied from interface:XPuttingSet
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:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in 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:XPuttingSet
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:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Specified by:
putAll
in interfaceXPuttingSet<E>
- Parameters:
elements
- to add- Returns:
- this
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingEnum<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
- Specified by:
addAll
in interfaceXPuttingSet<E>
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingEnum<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
- Specified by:
addAll
in interfaceXPuttingSet<E>
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingEnum<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXAddingSet<E>
- Specified by:
addAll
in interfaceXPuttingSet<E>
-