public static final class PersistentVector.MutableVector<F> extends UnmodList.AbstractUnmodList<F> implements MutableList<F>
UnmodList.AbstractUnmodList<E>| Modifier and Type | Method and Description |
|---|---|
MutableList<F> |
append(F val)
Adds one item to the end of the ImList.
|
F |
get(int i) |
PersistentVector<F> |
immutable()
Returns a immutable version of this mutable list.
|
MutableList<F> |
replace(int idx,
F e)
Replace the item at the given index.
|
int |
size()
Returns the number of items in this collection or iterable.
|
equals, hashCodetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitconcat, reverseadd, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, permutations, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, sort, subList, toArray, toArrayequals, hashCode, spliteratorparallelStream, streamcastFromList, castFromSortedMap, castFromSortedSet, equaldrop, dropWhile, filter, flatMap, fold, foldUntil, hash, map, precat, take, takeWhile, toStringtoImList, toImMap, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSetpublic int size()
Sizedpublic PersistentVector<F> immutable()
MutableListimmutable in interface MutableList<F>public MutableList<F> append(F val)
MutableListpublic MutableList<F> replace(int idx, F e)
MutableListCopyright © 2019. All rights reserved.