Interface XReplacingBag<E>
- 
- 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> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceXReplacingBag.Factory<E>- 
Nested classes/interfaces inherited from interface one.microstream.typing.CopyableCopyable.Static
 - 
Nested classes/interfaces inherited from interface one.microstream.collections.types.XGettingCollectionXGettingCollection.Creator<E>
 - 
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterableXIterable.Executor<E>
 
- 
 - 
Method SummaryModifier and Type Method Description XReplacingBag<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.longreplace(E element, E replacement)longreplace(Predicate<? super E> predicate, E replacement)longreplaceAll(XGettingCollection<? extends E> elements, E replacement)booleanreplaceOne(E element, E replacement)booleanreplaceOne(Predicate<? super E> predicate, E replacement)longsubstitute(Predicate<? super E> predicate, Function<E,E> mapper)- 
Methods inherited from interface one.microstream.collections.interfaces.CapacityCarryingisFull, maximumCapacity, remainingCapacity
 - 
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollectionnullAllowed
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 - 
Methods inherited from interface one.microstream.collections.types.XGettingCollectionapplies, 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.XReplacingCollectionsubstitute
 
- 
 
- 
- 
- 
Method Detail- 
replaceAlllong replaceAll(XGettingCollection<? extends E> elements, E replacement) 
 - 
copyXReplacingBag<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 interface- Copyable
- Specified by:
- copyin interface- XGettingCollection<E>
- Returns:
- a copy of this list
 
 
- 
 
-