Interface XPutGetCollection<E>
-
- All Superinterfaces:
CapacityCarrying
,CapacityExtendable
,Consumer<E>
,Copyable
,ExtendedCollection<E>
,Iterable<E>
,OptimizableCollection
,Sized
,XAddGetCollection<E>
,XAddingCollection<E>
,XGettingCollection<E>
,XIterable<E>
,XJoinable<E>
,XPuttingCollection<E>
- All Known Subinterfaces:
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>
,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 XPutGetCollection<E> extends XAddGetCollection<E>, XPuttingCollection<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XPutGetCollection.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 XPutGetCollection<E>
addAll(E... elements)
XPutGetCollection<E>
addAll(E[] elements, int srcStartIndex, int srcLength)
XPutGetCollection<E>
addAll(XGettingCollection<? extends E> elements)
XPutGetCollection<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.XPutGetCollection<E>
putAll(E... elements)
XPutGetCollection<E>
putAll(E[] elements, int srcStartIndex, int srcLength)
XPutGetCollection<E>
putAll(XGettingCollection<? extends E> elements)
-
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
-
Methods inherited from interface one.microstream.collections.types.XPuttingCollection
nullPut, put
-
-
-
-
Method Detail
-
copy
XPutGetCollection<E> copy()
Description copied from interface:XGettingCollection
Creates 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:
copy
in interfaceCopyable
- Specified by:
copy
in interfaceXAddGetCollection<E>
- Specified by:
copy
in interfaceXGettingCollection<E>
- Returns:
- a copy of this list
-
addAll
XPutGetCollection<E> addAll(E... elements)
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
-
addAll
XPutGetCollection<E> addAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
-
addAll
XPutGetCollection<E> addAll(XGettingCollection<? extends E> elements)
- Specified by:
addAll
in interfaceXAddGetCollection<E>
- Specified by:
addAll
in interfaceXAddingCollection<E>
-
putAll
XPutGetCollection<E> putAll(E... elements)
- Specified by:
putAll
in interfaceXPuttingCollection<E>
-
putAll
XPutGetCollection<E> putAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
putAll
in interfaceXPuttingCollection<E>
-
putAll
XPutGetCollection<E> putAll(XGettingCollection<? extends E> elements)
- Specified by:
putAll
in interfaceXPuttingCollection<E>
-
-