| Package | Description |
|---|---|
| org.organicdesign.fp |
A data definition language, and other tools for writing functional Java.
|
| org.organicdesign.fp.collections |
Type-safe versions of the immutable Clojure collections, plus unmodifiable and immutable
collection interfaces that extend the java.util collections, deprecating the mutate-in-place
methods (Unmod____) and adding methods that return a new, immutable, modified version of the
collection (Im____).
|
| Modifier and Type | Method and Description |
|---|---|
static <T> MutableList<T> |
StaticImports.mutableVec(T... items)
Returns a MutableVector of the given items.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
PersistentVector.MutableVector<F> |
| Modifier and Type | Method and Description |
|---|---|
MutableList<E> |
MutableList.append(E val)
Adds one item to the end of the ImList.
|
MutableList<F> |
PersistentVector.MutableVector.append(F val) |
default MutableList<E> |
MutableList.concat(Iterable<? extends E> es)
Efficiently adds items to the end of this ImList.
|
MutableList<F> |
PersistentVector.MutableVector.mutable() |
default MutableList<E> |
MutableList.mutable()
Just returns this list
|
MutableList<E> |
ImList.mutable()
Returns a mutable list (builder)
|
MutableList<E> |
MutableList.replace(int idx,
E e)
Replace the item at the given index.
|
MutableList<F> |
PersistentVector.MutableVector.replace(int idx,
F e) |
Copyright © 2017. All rights reserved.