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, hashCode
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
concat
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, equals
drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toString
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
public MutableList<F> mutable()
MutableList
public int size()
Sized
public PersistentVector<F> immutable()
ImList
public MutableList<F> append(F val)
MutableList
public MutableList<F> replace(int idx, F e)
MutableList
Copyright © 2016. All rights reserved.