public interface XPuttingBag<E> extends XAddingBag<E>, XPuttingCollection<E>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XPuttingBag.Creator<E> |
XAddingBag.Factory<E>| Modifier and Type | Method and Description |
|---|---|
XAddingCollection<E> |
addAll(E... elements) |
XAddingCollection<E> |
addAll(E[] elements,
int srcStartIndex,
int srcLength) |
XAddingCollection<E> |
addAll(XGettingCollection<? extends E> elements) |
XPuttingCollection<E> |
putAll(E... elements)
Adds the specified elements to this collection if it is not already present (optional operation).
|
XPuttingCollection<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. |
XPuttingCollection<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, remainingCapacityoptimizeXAddingCollection<E> addAll(E... elements)
addAll in interface XAddingBag<E>addAll in interface XAddingCollection<E>XAddingCollection<E> addAll(E[] elements, int srcStartIndex, int srcLength)
addAll in interface XAddingBag<E>addAll in interface XAddingCollection<E>XAddingCollection<E> addAll(XGettingCollection<? extends E> elements)
addAll in interface XAddingBag<E>addAll in interface XAddingCollection<E>XPuttingCollection<E> putAll(E... elements)
In this implementation it is identical to addAll(Object...)
putAll in interface XPuttingCollection<E>elements - to addXPuttingCollection<E> putAll(E[] elements, int srcStartIndex, int srcLength)
In this implementation it is identical to addAll(Object[], int, int)
putAll in interface XPuttingCollection<E>elements - to addsrcStartIndex - start index of elements-array to add to collectionsrcLength - length of elements-array to add to collectionXPuttingCollection<E> putAll(XGettingCollection<? extends E> elements)
In this implementation it is identical to addAll(XGettingCollection)
putAll in interface XPuttingCollection<E>elements - to addCopyright © 2022 MicroStream Software. All rights reserved.