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, hashCode
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
concat, reverse
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
equals, hashCode, spliterator
parallelStream, stream
castFromList, castFromSortedMap, castFromSortedSet, equal
drop, dropWhile, filter, flatMap, fold, foldUntil, hash, map, precat, take, takeWhile, toString
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
public int size()
Sized
public PersistentVector<F> immutable()
MutableList
immutable
in interface MutableList<F>
public MutableList<F> append(F val)
MutableList
public MutableList<F> replace(int idx, F e)
MutableList
Copyright © 2017. All rights reserved.