| Package | Description |
|---|---|
| org.organicdesign.fp.collections |
Type-safe versions of immutable collections (mostly from Clojure), plus unmodifiable and
immutable collection interfaces that fit these collections into the java.util interfaces.
|
| Modifier and Type | Field and Description |
|---|---|
static PersistentVector<?> |
PersistentVector.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
PersistentVector<E> |
PersistentVector.append(E val)
Inserts a new item at the end of the Vecsicle.
|
PersistentVector<E> |
PersistentVector.concat(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.MutableVector.immutable() |
static <T> PersistentVector<T> |
PersistentVector.ofIter(Iterable<T> items)
Public static factory method to create a vector from an Iterable.
|
PersistentVector<E> |
PersistentVector.replace(int i,
E val)
Replace the item at the given index.
|
Copyright © 2019. All rights reserved.