| Package | Description |
|---|---|
| org.organicdesign.fp |
A tiny data definition language for Java, in Java.
|
| 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.
|
| org.organicdesign.fp.type |
Some ideas for runtime types.
|
| org.organicdesign.fp.xform |
Immutable descriptions of data transformations (Transformable), and a highly efficient
single-pass, short-circuiting implementation that carries out those transforms in a single pass
(Xform).
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ImList<T> |
StaticImports.vec(T... items)
Returns a new PersistentVector of the given items.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PersistentVector<E>
This started out as Rich Hickey's PersistentVector class from Clojure in late 2014.
|
static class |
RrbTree.ImRrbt<E>
Immutable version of an
RrbTree. |
| Modifier and Type | Method and Description |
|---|---|
ImList<E> |
ImList.append(E e)
Adds one item to the end of the ImList.
|
default ImList<E> |
ImList.concat(Iterable<? extends E> es)
Efficiently adds items to the end of this ImList.
|
ImList<E> |
MutableList.immutable()
Returns a immutable version of this mutable list.
|
ImList<E> |
ImList.replace(int idx,
E e)
Replace the item at the given index.
|
default ImList<E> |
ImList.reverse()
Returns a reversed copy of this list.
|
| Modifier and Type | Method and Description |
|---|---|
static ImList<Class> |
RuntimeTypes.registerClasses(Class... cs)
Use this to prevent duplicate runtime types.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
RuntimeTypes.union2Str(Object item,
ImList<Class> types) |
| Modifier and Type | Method and Description |
|---|---|
default ImList<T> |
Transformable.toImList()
Realize a thread-safe immutable list to access items quickly O(log32 n) by index.
|
Copyright © 2019. All rights reserved.