T
- type of data held in this Collectionpublic interface MutableSequenceX<T> extends CollectionX<T>, FluentSequenceX<T>
Modifier and Type | Method and Description |
---|---|
MutableSequenceX<T> |
minus(int i)
Remove the element at the supplied index
|
MutableSequenceX<T> |
minus(java.lang.Object e)
Remove the specified element from this collection
|
MutableSequenceX<T> |
minusAll(java.util.Collection<?> list)
Remove all the specified elements from this collection
|
MutableSequenceX<T> |
plus(int i,
T e)
Add the supplied element at the supplied index
|
MutableSequenceX<T> |
plus(T e)
Add an element to this Collection
|
MutableSequenceX<T> |
plusAll(java.util.Collection<? extends T> list)
Add all supplied elements to this Collection
|
MutableSequenceX<T> |
plusAll(int i,
java.util.Collection<? extends T> list)
Add all of the supplied elements at the supplied index
|
MutableSequenceX<T> |
subList(int start,
int end)
Create a sub sequence between the two supplied index
|
MutableSequenceX<T> |
with(int i,
T e)
Replace the value at the specifed index with the supplied value
|
plusInOrder, unit
cast, combine, cycle, cycle, cycleUntil, cycleWhile, distinct, drop, dropRight, dropUntil, dropWhile, filter, filterNot, findAny, findFirst, flatMap, forEach2, forEach2, forEach3, forEach3, forEach4, forEach4, from, fromCollection, getAtIndex, groupBy, grouped, grouped, grouped, grouped, groupedStatefullyUntil, groupedUntil, groupedUntil, groupedWhile, groupedWhile, head, intersperse, limit, limitLast, limitUntil, limitWhile, map, notNull, onEmpty, onEmptyGet, onEmptyThrow, patternMatch, peek, removeAll, retainAll, reverse, scanLeft, scanLeft, scanRight, scanRight, shuffle, shuffle, single, single, singleOptional, skip, skipLast, skipUntil, skipWhile, slice, sliding, sliding, sorted, sorted, sorted, take, takeRight, takeUntil, takeWhile, trampoline, zip, zip, zip, zip, zip, zip, zip3, zip4, zipWithIndex
groupedStatefullyUntilT, groupedT, groupedUntilT, groupedWhileT, slidingT, slidingT
fixedDelay, onePer, xPer
foldable, visit
ofType
ap1, ap2, ap3, ap4, ap5, applicatives
flatMapPublisher, flatMapPublisher, flatMapPublisher, mergePublisher, mergePublisher, unitIterator
endsWith, endsWithIterable, firstValue, foldRight, foldRight, foldRight, foldRightMapToType, get, join, join, join, mapReduce, mapReduce, print, print, printErr, printOut, reduce, reduce, reduce, reduce, reduce, reduce, reduce, schedule, scheduleFixedDelay, scheduleFixedRate, startsWith, startsWithIterable, toConcurrentLazyCollection, toConcurrentLazyStreamable, toLazyCollection, validate, xMatch
futureOperations, lazyOperations, subscribe, traversable
seq, toCompletableFuture, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFutureStream, toFutureStream, toFutureW, toIor, toIorSecondary, toListX, toMapX, toMaybe, toOptional, toPBagX, toPMapX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toStreamable, toTry, toValue, toValueMap, toValueSet, toXor, toXorSecondary
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray
foldFuture, foldLazy, foldTry
MutableSequenceX<T> plus(T e)
FluentCollectionX
plus
in interface FluentCollectionX<T>
plus
in interface FluentSequenceX<T>
e
- Element to addMutableSequenceX<T> plusAll(java.util.Collection<? extends T> list)
FluentCollectionX
plusAll
in interface FluentCollectionX<T>
plusAll
in interface FluentSequenceX<T>
list
- of elements to addMutableSequenceX<T> with(int i, T e)
FluentSequenceX
with
in interface FluentSequenceX<T>
i
- Index to replace value ate
- Value to useMutableSequenceX<T> plus(int i, T e)
FluentSequenceX
plus
in interface FluentSequenceX<T>
i
- Index to add element ate
- Element to addMutableSequenceX<T> plusAll(int i, java.util.Collection<? extends T> list)
FluentSequenceX
plusAll
in interface FluentSequenceX<T>
i
- Index to add element atlist
- Collection of elements to addMutableSequenceX<T> minus(java.lang.Object e)
FluentCollectionX
minus
in interface FluentCollectionX<T>
minus
in interface FluentSequenceX<T>
e
- Element to removeMutableSequenceX<T> minusAll(java.util.Collection<?> list)
FluentCollectionX
minusAll
in interface FluentCollectionX<T>
minusAll
in interface FluentSequenceX<T>
list
- of elements to removeMutableSequenceX<T> minus(int i)
FluentSequenceX
minus
in interface FluentSequenceX<T>
i
- Index at which to remvoe elementMutableSequenceX<T> subList(int start, int end)
FluentSequenceX
subList
in interface FluentSequenceX<T>
start
- Index of our sub sequence (inclusive)end
- Index of our sub sequence (exclusive)