Uses of Interface
org.organicdesign.fp.collections.ImList
-
Packages that use ImList 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). -
-
Uses of ImList in org.organicdesign.fp
Methods in org.organicdesign.fp that return ImList Modifier and Type Method Description static <T> ImList<T>StaticImports. vec(T... items)Returns a new PersistentVector of the given items. -
Uses of ImList in org.organicdesign.fp.collections
Classes in org.organicdesign.fp.collections that implement ImList Modifier and Type Class Description classPersistentVector<E>This started out as Rich Hickey's PersistentVector class from Clojure in late 2014.static classRrbTree.ImRrbt<E>Immutable version of anRrbTree.Methods in org.organicdesign.fp.collections that return ImList Modifier and Type Method Description ImList<E>ImList. append(E e)Adds one item to the end of the ImList.default ImList<E>ImList. concat(java.lang.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. -
Uses of ImList in org.organicdesign.fp.type
Methods in org.organicdesign.fp.type that return ImList Modifier and Type Method Description static ImList<java.lang.Class>RuntimeTypes. registerClasses(java.lang.Class... cs)Use this to prevent duplicate runtime types.Methods in org.organicdesign.fp.type with parameters of type ImList Modifier and Type Method Description static java.lang.StringRuntimeTypes. union2Str(java.lang.Object item, ImList<java.lang.Class> types) -
Uses of ImList in org.organicdesign.fp.xform
Methods in org.organicdesign.fp.xform that return ImList Modifier and Type Method Description default ImList<T>Transformable. toImList()Realize a thread-safe immutable list to access items quickly O(log32 n) by index.
-