public interface XPuttingSet<E> extends XPuttingCollection<E>, XAddingSet<E>, ReleasingCollection<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XPuttingSet.Creator<E> |
| Modifier and Type | Method and 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).
|
nullPut, putaccept, add, collector, nullAddhasVolatileElements, nullAllowedcurrentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityisFull, maximumCapacity, remainingCapacityoptimizeXPuttingSet<E> putAll(E... elements)
In this implementation it overwrites equal, already contained elements.
putAll in interface XPuttingCollection<E>elements - to addXPuttingSet<E> putAll(E[] elements, int srcStartIndex, int srcLength)
In this implementation it overwrites equal, already contained elements.
putAll in interface XPuttingCollection<E>elements - to addsrcStartIndex - start index of elements-array to add to collectionsrcLength - length of elements-array to add to collectionXPuttingSet<E> putAll(XGettingCollection<? extends E> elements)
In this implementation it overwrites equal, already contained elements.
putAll in interface XPuttingCollection<E>elements - to addXPuttingSet<E> addAll(E... elements)
addAll in interface XAddingCollection<E>addAll in interface XAddingSet<E>XPuttingSet<E> addAll(E[] elements, int srcStartIndex, int srcLength)
addAll in interface XAddingCollection<E>addAll in interface XAddingSet<E>XPuttingSet<E> addAll(XGettingCollection<? extends E> elements)
addAll in interface XAddingCollection<E>addAll in interface XAddingSet<E>Copyright © 2022 MicroStream Software. All rights reserved.