public interface MutableList<E> extends ImList<E>
UnmodList.AbstractUnmodList<E>
UnmodIterable.AbstractUnmodIterable<T>
Modifier and Type | Method and Description |
---|---|
MutableList<E> |
append(E val)
Adds one item to the end of the ImList.
|
default MutableList<E> |
concat(Iterable<? extends E> es)
Efficiently adds items to the end of this ImList.
|
default MutableList<E> |
mutable()
Just returns this list
|
MutableList<E> |
replace(int idx,
E e)
Replace the item at the given index.
|
add, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, permutations, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, sort, subList, toArray, toArray
parallelStream, stream
castFromList, castFromSortedMap, castFromSortedSet, equal, equals
drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toString
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
MutableList<E> append(E val)
default MutableList<E> mutable()
default MutableList<E> concat(Iterable<? extends E> es)
concat
in interface ImList<E>
concat
in interface Transformable<E>
concat
in interface UnmodIterable<E>
es
- the values to insertMutableList<E> replace(int idx, E e)
Copyright © 2017. All rights reserved.