Interface XInputtingSequence<E>
- All Superinterfaces:
CapacityCarrying
,CapacityExtendable
,Consumer<E>
,ExtendedCollection<E>
,ExtendedSequence<E>
,OptimizableCollection
,Sized
,XAddingCollection<E>
,XAddingSequence<E>
,XExpandingSequence<E>
,XExtendingSequence<E>
,XInsertingSequence<E>
,XPrependingSequence<E>
,XPreputtingSequence<E>
,XPuttingCollection<E>
,XPuttingSequence<E>
- All Known Subinterfaces:
XEnum<E>
,XIncreasingEnum<E>
,XIncreasingList<E>
,XIncreasingSequence<E>
,XInputtingList<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 XInputtingSequence<E> extends XInsertingSequence<E>, XExpandingSequence<E>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XInputtingSequence.Creator<E>
-
Method Summary
Modifier and Type Method Description XInputtingSequence<E>
addAll(E... elements)
XInputtingSequence<E>
addAll(E[] elements, int srcStartIndex, int srcLength)
XInputtingSequence<E>
addAll(XGettingCollection<? extends E> elements)
boolean
input(long index, E element)
long
inputAll(long index, E... elements)
long
inputAll(long index, E[] elements, int offset, int length)
long
inputAll(long index, XGettingCollection<? extends E> elements)
boolean
nullInput(long index)
XInputtingSequence<E>
prependAll(E... elements)
XInputtingSequence<E>
prependAll(E[] elements, int srcStartIndex, int srcLength)
XInputtingSequence<E>
prependAll(XGettingCollection<? extends E> elements)
XInputtingSequence<E>
preputAll(E... elements)
XInputtingSequence<E>
preputAll(E[] elements, int srcStartIndex, int srcLength)
XInputtingSequence<E>
preputAll(XGettingCollection<? extends E> elements)
XInputtingSequence<E>
putAll(E... elements)
Adds the specified elements to this collection if it is not already present (optional operation).XInputtingSequence<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.XInputtingSequence<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, remainingCapacity
Methods inherited from interface one.microstream.collections.interfaces.CapacityExtendable
currentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacity
Methods inherited from interface one.microstream.collections.interfaces.ExtendedCollection
hasVolatileElements, nullAllowed
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.XInsertingSequence
insert, insertAll, insertAll, insertAll, nullInsert
Methods inherited from interface one.microstream.collections.types.XPrependingSequence
nullPrepend, prepend
Methods inherited from interface one.microstream.collections.types.XPreputtingSequence
nullPreput, preput
-
Method Details
-
input
-
nullInput
boolean nullInput(long index) -
inputAll
-
inputAll
-
inputAll
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExpandingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
- Specified by:
addAll
in interfaceXInsertingSequence<E>
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExpandingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
- Specified by:
addAll
in interfaceXInsertingSequence<E>
-
addAll
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExpandingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
- Specified by:
addAll
in interfaceXInsertingSequence<E>
-
putAll
Description copied from interface:XPuttingCollection
Adds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAll
in interfaceXExpandingSequence<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Parameters:
elements
- to add- Returns:
- this
-
putAll
Description copied from interface:XPuttingCollection
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 interfaceXExpandingSequence<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in 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:XPuttingCollection
Adds the specified elements to this collection if it is not already present (optional operation).- Specified by:
putAll
in interfaceXExpandingSequence<E>
- Specified by:
putAll
in interfaceXPuttingCollection<E>
- Specified by:
putAll
in interfaceXPuttingSequence<E>
- Parameters:
elements
- to add- Returns:
- this
-
prependAll
- Specified by:
prependAll
in interfaceXExpandingSequence<E>
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXInsertingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
- Specified by:
prependAll
in interfaceXPreputtingSequence<E>
-
prependAll
- Specified by:
prependAll
in interfaceXExpandingSequence<E>
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXInsertingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
- Specified by:
prependAll
in interfaceXPreputtingSequence<E>
-
prependAll
- Specified by:
prependAll
in interfaceXExpandingSequence<E>
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXInsertingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
- Specified by:
prependAll
in interfaceXPreputtingSequence<E>
-
preputAll
- Specified by:
preputAll
in interfaceXExpandingSequence<E>
- Specified by:
preputAll
in interfaceXPreputtingSequence<E>
-
preputAll
- Specified by:
preputAll
in interfaceXExpandingSequence<E>
- Specified by:
preputAll
in interfaceXPreputtingSequence<E>
-
preputAll
- Specified by:
preputAll
in interfaceXExpandingSequence<E>
- Specified by:
preputAll
in interfaceXPreputtingSequence<E>
-