All Superinterfaces:
CapacityCarrying
, Copyable
, ExtendedCollection <E>
, Iterable <E>
, ReleasingCollection <E>
, Sized
, XGettingCollection <E>
, XIterable <E>
, XJoinable <E>
, XReplacingCollection <E>
All Known Subinterfaces:
XBasicTable.Values <K,V>
, XChart.Values <K,V>
, XDecreasingList <E>
, XIncreasingList <E>
, XList <E>
, XReference <E>
, XSettingList <E>
, XTable.Values <K,V>
All Known Implementing Classes:
ArrayAccessor
, ArrayCollector
, BulkList
, EqBulkList
, EqHashTable.Values
, FixedList
, HashTable.Values
, LimitList
, LinkReference.Default
, ListAccessor
, LockedList
, Single
, Singleton
, SubList
, SubListAccessor
, SubListProcessor
, SynchList
public interface XReplacingBag<E>
extends XGettingCollection <E>, XReplacingCollection <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
boolean replaceOne (
E element,
E replacement)
long replace (
E element,
E replacement)
boolean replaceOne (
Predicate <? super E > predicate,
E replacement)
long replace (
Predicate <? super E > predicate,
E replacement)
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 XGettingCollection <E >
Returns:
a copy of this list