Interface XExpandingSequence<E>
- All Superinterfaces:
CapacityCarrying,CapacityExtendable,Consumer<E>,ExtendedCollection<E>,ExtendedSequence<E>,OptimizableCollection,Sized,XAddingCollection<E>,XAddingSequence<E>,XExtendingSequence<E>,XPrependingSequence<E>,XPreputtingSequence<E>,XPuttingCollection<E>,XPuttingSequence<E>
- All Known Subinterfaces:
XEnum<E>,XExpandingEnum<E>,XExpandingList<E>,XIncreasingEnum<E>,XIncreasingList<E>,XIncreasingSequence<E>,XInputtingEnum<E>,XInputtingList<E>,XInputtingSequence<E>,XList<E>,XSequence<E>,XTable<K,V>,XTable.Keys<K,V>
- All Known Implementing Classes:
ArrayCollector,BulkList,EqBulkList,EqHashEnum,EqHashTable,EqHashTable.Keys,HashEnum,HashTable,HashTable.Keys,LimitList,LockedList,Single,SubList,SynchList
public interface XExpandingSequence<E> extends XExtendingSequence<E>, XPuttingSequence<E>, XPreputtingSequence<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceXExpandingSequence.Creator<E> -
Method Summary
Modifier and Type Method Description XExpandingSequence<E>addAll(E... elements)XExpandingSequence<E>addAll(E[] elements, int srcStartIndex, int srcLength)XExpandingSequence<E>addAll(XGettingCollection<? extends E> elements)XExpandingSequence<E>prependAll(E... elements)XExpandingSequence<E>prependAll(E[] elements, int srcStartIndex, int srcLength)XExpandingSequence<E>prependAll(XGettingCollection<? extends E> elements)XExpandingSequence<E>preputAll(E... elements)XExpandingSequence<E>preputAll(E[] elements, int srcStartIndex, int srcLength)XExpandingSequence<E>preputAll(XGettingCollection<? extends E> elements)XExpandingSequence<E>putAll(E... elements)Adds the specified elements to this collection if it is not already present (optional operation).XExpandingSequence<E>putAll(E[] elements, int srcStartIndex, int srcLength)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.XExpandingSequence<E>putAll(XGettingCollection<? extends E> elements)Adds the specified elements to this collection if it is not already present (optional operation).Methods inherited from interface one.microstream.collections.interfaces.CapacityCarrying
isFull, maximumCapacity, remainingCapacityMethods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacityMethods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
hasVolatileElements, nullAllowedMethods inherited from interface one.microstream.collections.interfaces.OptimizableCollection
optimizeMethods inherited from interface one.microstream.collections.types.XAddingCollection
accept, add, collector, nullAddMethods inherited from interface one.microstream.collections.types.XPrependingSequence
nullPrepend, prependMethods inherited from interface one.microstream.collections.types.XPreputtingSequence
nullPreput, preput
-
Method Details
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXExtendingSequence<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXExtendingSequence<E>
-
addAll
- Specified by:
addAllin interfaceXAddingCollection<E>- Specified by:
addAllin interfaceXAddingSequence<E>- Specified by:
addAllin interfaceXExtendingSequence<E>
-
putAll
Description copied from interface:XPuttingCollectionAdds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Parameters:
elements- to add- Returns:
- this
-
putAll
Description copied from interface:XPuttingCollectionAdds 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:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Parameters:
elements- to addsrcStartIndex- start index of elements-array to add to collectionsrcLength- length of elements-array to add to collection- Returns:
- this
-
putAll
Description copied from interface:XPuttingCollectionAdds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAllin interfaceXPuttingCollection<E>- Specified by:
putAllin interfaceXPuttingSequence<E>- Parameters:
elements- to add- Returns:
- this
-
prependAll
- Specified by:
prependAllin interfaceXExtendingSequence<E>- Specified by:
prependAllin interfaceXPrependingSequence<E>- Specified by:
prependAllin interfaceXPreputtingSequence<E>
-
prependAll
- Specified by:
prependAllin interfaceXExtendingSequence<E>- Specified by:
prependAllin interfaceXPrependingSequence<E>- Specified by:
prependAllin interfaceXPreputtingSequence<E>
-
prependAll
- Specified by:
prependAllin interfaceXExtendingSequence<E>- Specified by:
prependAllin interfaceXPrependingSequence<E>- Specified by:
prependAllin interfaceXPreputtingSequence<E>
-
preputAll
- Specified by:
preputAllin interfaceXPreputtingSequence<E>
-
preputAll
- Specified by:
preputAllin interfaceXPreputtingSequence<E>
-
preputAll
- Specified by:
preputAllin interfaceXPreputtingSequence<E>
-