@NotNull PersistentVector<E> |
PersistentVector.append(E val) |
Inserts a new item at the end of the vector
|
@NotNull PersistentVector<E> |
PersistentVector.appendSome(@NotNull Fn0<? extends @NotNull Option<E>> supplier) |
If supplier returns Some, return a new BaseList with the additional item at the end.
|
@NotNull PersistentVector<E> |
PersistentVector.concat(@Nullable Iterable<? extends E> items) |
Efficiently adds items to the end of this PersistentVector.
|
static <T> PersistentVector<T> |
PersistentVector.empty() |
Returns the empty ImList (there only needs to be one)
|
PersistentVector<F> |
PersistentVector.MutVector.immutable() |
|
static <T> PersistentVector<T> |
PersistentVector.ofIter(Iterable<T> items) |
Public static factory method to create a vector from an Iterable.
|
@NotNull PersistentVector<E> |
PersistentVector.replace(int i,
E val) |
Replace the item at the given index.
|