public interface ImList<E> extends BaseList<E>
UnmodList.AbstractUnmodList<E>
UnmodIterable.AbstractUnmodIterable<T>
Modifier and Type | Method and Description |
---|---|
ImList<E> |
append(E e)
Adds one item to the end of the ImList.
|
default ImList<E> |
concat(Iterable<? extends E> es)
Efficiently adds items to the end of this ImList.
|
MutableList<E> |
mutable()
Returns a mutable list (builder)
|
ImList<E> |
replace(int idx,
E e)
Replace the item at the given index.
|
default ImList<E> |
reverse()
Returns a reversed copy of this list.
|
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
drop, filter, flatMap, fold, foldUntil, hash, head, map, precat, take, takeWhile, toString
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
default ImList<E> concat(Iterable<? extends E> es)
concat
in interface BaseList<E>
concat
in interface Transformable<E>
concat
in interface UnmodIterable<E>
es
- the values to insertMutableList<E> mutable()
ImList<E> replace(int idx, E e)
Copyright © 2017. All rights reserved.