Interface XAddGetCollection<E>
-
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Consumer<E>,Copyable,ExtendedCollection<E>,Iterable<E>,OptimizableCollection,Sized,XAddingCollection<E>,XGettingCollection<E>,XIterable<E>,XJoinable<E>
- All Known Subinterfaces:
XAddGetSet<E>,XBag<E>,XBasicEnum<E>,XBasicList<E>,XBasicSequence<E>,XBasicTable<K,V>,XBasicTable.Keys<K,V>,XChart<K,V>,XChart.Keys<K,V>,XCollection<E>,XEnum<E>,XLadder<E>,XList<E>,XMap<K,V>,XMap.Keys<K,V>,XPutGetCollection<E>,XPutGetEnum<E>,XPutGetList<E>,XPutGetSequence<E>,XPutGetSet<E>,XRank<E>,XSequence<E>,XSet<E>,XSortation<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
ArrayCollector,BulkList,EqBulkList,EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,LimitList,LockedCollection,LockedList,LockedMap,MutexSet,OpenAdressingMiniSet,Single,SubList,SynchCollection,SynchList,SynchSet
public interface XAddGetCollection<E> extends XGettingCollection<E>, XAddingCollection<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXAddGetCollection.Creator<E>-
Nested classes/interfaces inherited from interface one.microstream.typing.Copyable
Copyable.Static
-
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
-
Method Summary
Modifier and Type Method Description XAddGetCollection<E>addAll(E... elements)XAddGetCollection<E>addAll(E[] elements, int srcStartIndex, int srcLength)XAddGetCollection<E>addAll(XGettingCollection<? extends E> elements)XAddGetCollection<E>copy()Creates a true copy of this collection which references the same elements as this collection does at the time the method is called.-
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
nullAllowed
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface one.microstream.collections.interfaces.OptimizableCollection
optimize
-
Methods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAdd
-
Methods inherited from interface one.microstream.collections.types.XGettingCollection
applies, contains, containsAll, containsId, containsSearched, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, get, hashCode, hasVolatileElements, immure, intersect, intSize, iterator, join, max, min, nullContained, old, search, seek, size, toArray, toArray, union, view
-
-
-
-
Method Detail
-
copy
XAddGetCollection<E> copy()
Description copied from interface:XGettingCollectionCreates a true copy of this collection which references the same elements as this collection does at the time the method is called. The elements themselves are NOT copied (no deep copying).
The type of the returned set is the same as of this list if possible.- Specified by:
copyin interfaceCopyable- Specified by:
copyin interfaceXGettingCollection<E>- Returns:
- a copy of this list
-
addAll
XAddGetCollection<E> addAll(E... elements)
- Specified by:
addAllin interfaceXAddingCollection<E>
-
addAll
XAddGetCollection<E> addAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
addAllin interfaceXAddingCollection<E>
-
addAll
XAddGetCollection<E> addAll(XGettingCollection<? extends E> elements)
- Specified by:
addAllin interfaceXAddingCollection<E>
-
-