Type Parameters:
E
- type of contained elements
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>
Method Summary
All Methods Instance Methods Abstract Methods
Methods inherited from interface one.microstream.collections.interfaces.Sized
isEmpty
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.XIterable
iterate
Method Details
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 interface Copyable
Specified by:
copy
in interface XAddGetCollection <E >
Specified by:
copy
in interface XGettingCollection <E >
Returns:
a copy of this list
Adds the specified elements to this collection if it is not already present (optional operation).
Specified by:
putAll
in interface XPuttingCollection <E >
Parameters:
elements
- to add
Returns:
this
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.
Specified by:
putAll
in interface XPuttingCollection <E >
Parameters:
elements
- to add
srcStartIndex
- start index of elements-array to add to collection
srcLength
- length of elements-array to add to collection
Returns:
this
Adds the specified elements to this collection if it is not already present (optional operation).
Specified by:
putAll
in interface XPuttingCollection <E >
Parameters:
elements
- to add
Returns:
this