public static final class PersistentVector.MutableVector<F> extends UnmodList.AbstractUnmodList<F> implements MutableList<F>
UnmodList.AbstractUnmodList<E>UnmodIterable.AbstractUnmodIterable<T>| 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> |
mutable()
Just returns this list
|
MutableList<F> |
replace(int idx,
F e)
Replace the item at the given index.
|
int |
size()
Returns the number of items in this iterable.
|
equals, hashCodetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitconcatadd, 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, equal, equalsdrop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toStringtoImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSetpublic MutableList<F> mutable()
MutableListpublic int size()
Sizedpublic PersistentVector<F> immutable()
ImListpublic MutableList<F> append(F val)
MutableListpublic MutableList<F> replace(int idx, F e)
MutableListCopyright © 2017. All rights reserved.