Uses of Class
org.organicdesign.fp.collections.PersistentVector
-
Packages that use PersistentVector 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. -
-
Uses of PersistentVector in org.organicdesign.fp.collections
Fields in org.organicdesign.fp.collections declared as PersistentVector Modifier and Type Field Description static PersistentVector<?>PersistentVector. EMPTYMethods in org.organicdesign.fp.collections that return PersistentVector Modifier and Type Method Description PersistentVector<E>PersistentVector. append(E val)Inserts a new item at the end of the Vecsicle.PersistentVector<E>PersistentVector. concat(java.lang.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(java.lang.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.
-