Interface XInsertingSequence<E>
-
- All Superinterfaces:
CapacityCarrying
,CapacityExtendable
,Consumer<E>
,ExtendedCollection<E>
,ExtendedSequence<E>
,OptimizableCollection
,Sized
,XAddingCollection<E>
,XAddingSequence<E>
,XExtendingSequence<E>
,XPrependingSequence<E>
- All Known Subinterfaces:
XEnum<E>
,XIncreasingEnum<E>
,XIncreasingList<E>
,XIncreasingSequence<E>
,XInputtingEnum<E>
,XInputtingList<E>
,XInputtingSequence<E>
,XInsertingEnum<E>
,XInsertingList<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 XInsertingSequence<E> extends XExtendingSequence<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XInsertingSequence.Creator<E>
-
Method Summary
Modifier and Type Method Description XInsertingSequence<E>
addAll(E... elements)
XInsertingSequence<E>
addAll(E[] elements, int srcStartIndex, int srcLength)
XInsertingSequence<E>
addAll(XGettingCollection<? extends E> elements)
boolean
insert(long index, E element)
long
insertAll(long index, E... elements)
long
insertAll(long index, E[] elements, int offset, int length)
long
insertAll(long index, XGettingCollection<? extends E> elements)
boolean
nullInsert(long index)
XInsertingSequence<E>
prependAll(E... elements)
XInsertingSequence<E>
prependAll(E[] elements, int srcStartIndex, int srcLength)
XInsertingSequence<E>
prependAll(XGettingCollection<? extends E> elements)
-
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.XPrependingSequence
nullPrepend, prepend
-
-
-
-
Method Detail
-
insert
boolean insert(long index, E element)
-
nullInsert
boolean nullInsert(long index)
-
insertAll
long insertAll(long index, E... elements)
-
insertAll
long insertAll(long index, E[] elements, int offset, int length)
-
insertAll
long insertAll(long index, XGettingCollection<? extends E> elements)
-
addAll
XInsertingSequence<E> addAll(E... elements)
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
-
addAll
XInsertingSequence<E> addAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
-
addAll
XInsertingSequence<E> addAll(XGettingCollection<? extends E> elements)
- Specified by:
addAll
in interfaceXAddingCollection<E>
- Specified by:
addAll
in interfaceXAddingSequence<E>
- Specified by:
addAll
in interfaceXExtendingSequence<E>
-
prependAll
XInsertingSequence<E> prependAll(E... elements)
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
-
prependAll
XInsertingSequence<E> prependAll(E[] elements, int srcStartIndex, int srcLength)
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
-
prependAll
XInsertingSequence<E> prependAll(XGettingCollection<? extends E> elements)
- Specified by:
prependAll
in interfaceXExtendingSequence<E>
- Specified by:
prependAll
in interfaceXPrependingSequence<E>
-
-