Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X _ 

A

AbstractUnmodIterable() - Constructor for class org.organicdesign.fp.collections.UnmodIterable.AbstractUnmodIterable
 
AbstractUnmodList() - Constructor for class org.organicdesign.fp.collections.UnmodList.AbstractUnmodList
 
AbstractUnmodMap() - Constructor for class org.organicdesign.fp.collections.UnmodMap.AbstractUnmodMap
 
AbstractUnmodSet() - Constructor for class org.organicdesign.fp.collections.UnmodSet.AbstractUnmodSet
 
accept() - Static method in interface org.organicdesign.fp.function.Fn1
Returns a type-safe version of the ConstObjBool.ACCEPT predicate.
accept(T) - Method in interface org.organicdesign.fp.function.Fn1
For compatibility with java.util.function.Consumer.
add(E) - Method in interface org.organicdesign.fp.collections.UnmodCollection
Deprecated.
add(E) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
add(int, E) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
add(E) - Method in interface org.organicdesign.fp.collections.UnmodListIterator
Deprecated.
add(E) - Method in interface org.organicdesign.fp.collections.UnmodSet
Deprecated.
addAll(Collection<? extends E>) - Method in interface org.organicdesign.fp.collections.UnmodCollection
Deprecated.
addAll(Collection<? extends E>) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
addAll(int, Collection<? extends E>) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
addAll(Collection<? extends E>) - Method in interface org.organicdesign.fp.collections.UnmodSet
Deprecated.
and(Fn1<S, Boolean>, Fn1<S, Boolean>) - Static method in interface org.organicdesign.fp.function.Fn1
 
and(Iterable<Fn1<T, Boolean>>) - Static method in interface org.organicdesign.fp.function.Fn1
Composes multiple predicates into a single predicate to potentially minimize trips through the source data.
append(E) - Method in interface org.organicdesign.fp.collections.BaseList
Adds one item to the end of the ImList.
append(E) - Method in interface org.organicdesign.fp.collections.ImList
Adds one item to the end of the ImList.
append(E) - Method in interface org.organicdesign.fp.collections.MutableList
Adds one item to the end of the ImList.
append(E) - Method in class org.organicdesign.fp.collections.PersistentVector
Inserts a new item at the end of the Vecsicle.
append(F) - Method in class org.organicdesign.fp.collections.PersistentVector.MutableVector
 
append(E) - Method in class org.organicdesign.fp.collections.RrbTree
Adds one item to the end of the ImList.
append(E) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Adds one item to the end of the ImList.
append(E) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Adds one item to the end of the ImList.
apply() - Method in interface org.organicdesign.fp.function.Fn0
The class that takes a consumer as an argument uses this convenience method so that it doesn't have to worry about checked exceptions either.
apply(T) - Method in interface org.organicdesign.fp.function.Fn1
Call this convenience method so that you don't have to worry about checked exceptions.
apply(A, B) - Method in interface org.organicdesign.fp.function.Fn2
The class that takes a consumer as an argument uses this convenience method so that it doesn't have to worry about checked exceptions either.
apply(A, B, C) - Method in interface org.organicdesign.fp.function.Fn3
The class that takes a consumer as an argument uses this convenience method so that it doesn't have to worry about checked exceptions either.
applyEx() - Method in interface org.organicdesign.fp.function.Fn0
Implement this one method and you don't have to worry about checked exceptions.
applyEx(T) - Method in interface org.organicdesign.fp.function.Fn1
Implement this one method and you don't have to worry about checked exceptions.
applyEx(A, B) - Method in interface org.organicdesign.fp.function.Fn2
Implement this one method and you don't have to worry about checked exceptions.
applyEx(A, B, C) - Method in interface org.organicdesign.fp.function.Fn3
Implement this one method and you don't have to worry about checked exceptions.
applyEx() - Method in class org.organicdesign.fp.function.LazyRef
The first call to this method calls the initialization function, caches the result, and hands the initialization function reference to the garbage collector so that initialization resources can be freed.
arrayString(T[]) - Static method in interface org.organicdesign.fp.collections.Indented
There is Arrays.toString, but this is intended to produce Cymling code some day.
arrayString(int[]) - Static method in interface org.organicdesign.fp.collections.Indented
There is Arrays.toString, but this is intended to produce Cymling code some day.
assoc(K, V) - Method in interface org.organicdesign.fp.collections.BaseMap
Returns a new map with the given key/value added
assoc(Map.Entry<K, V>) - Method in interface org.organicdesign.fp.collections.BaseMap
Returns a new map with an immutable copy of the given entry added
assoc(K, V) - Method in interface org.organicdesign.fp.collections.ImMap
Returns a new map with the given key/value added
assoc(Map.Entry<K, V>) - Method in interface org.organicdesign.fp.collections.ImMap
Returns a new map with an immutable copy of the given entry added
assoc(K, V) - Method in interface org.organicdesign.fp.collections.ImSortedMap
Returns a new map with the given key/value added.
assoc(Map.Entry<K, V>) - Method in interface org.organicdesign.fp.collections.ImSortedMap
Returns a new map with an immutable copy of the given entry added
assoc(K, V) - Method in interface org.organicdesign.fp.collections.MutableUnsortedMap
Returns a new map with the given key/value added
assoc(Map.Entry<K, V>) - Method in interface org.organicdesign.fp.collections.MutableUnsortedMap
Returns a new map with an immutable copy of the given entry added
assoc(K, V) - Method in class org.organicdesign.fp.collections.PersistentHashMap
 
assoc(K, V) - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
 
assoc(K, V) - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns a new map with the given key/value added.

B

bad(B) - Static method in class org.organicdesign.fp.oneOf.Or
Construct a new Bad from the given object.
bad() - Method in class org.organicdesign.fp.oneOf.Or
Returns the bad value if this is a Bad, or throws an exception if this is a Good.
BaseList<E> - Interface in org.organicdesign.fp.collections
Adds copy-on-write, "fluent interface" methods to UnmodList.
BaseMap<K,V> - Interface in org.organicdesign.fp.collections
Adds copy-on-write, "fluent interface" methods to UnmodMap.
BaseSet<E> - Interface in org.organicdesign.fp.collections
Adds copy-on-write, "fluent interface" methods to UnmodSet.
BaseUnsortedMap<K,V> - Interface in org.organicdesign.fp.collections
Adds BaseUnsortedMap.equator() to BaseMap which is an unsorted-only operation.

C

call() - Method in interface org.organicdesign.fp.function.Fn0
castFromList(List<E>) - Static method in interface org.organicdesign.fp.collections.UnmodSortedIterable
 
castFromSortedMap(SortedMap<K, V>) - Static method in interface org.organicdesign.fp.collections.UnmodSortedIterable
 
castFromSortedSet(SortedSet<E>) - Static method in interface org.organicdesign.fp.collections.UnmodSortedIterable
 
clear() - Method in interface org.organicdesign.fp.collections.UnmodCollection
Deprecated.
clear() - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
clear() - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
clear() - Method in interface org.organicdesign.fp.collections.UnmodSet
Deprecated.
combine(Iterable<Fn1<T, Boolean>>) - Method in enum org.organicdesign.fp.function.Fn1.BooleanCombiner
 
comparator() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns the comparator used to order the keys in this map, or null if it uses Fn2.DEFAULT_COMPARATOR (for compatibility with java.util.SortedMap).
comparator() - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Returns the comparator used to order the items in this set, or null if it uses Fn2.DEFAULT_COMPARATOR (for compatibility with java.util.SortedSet).
ComparisonContext<T> - Interface in org.organicdesign.fp.collections
Represents a context for comparison because sometimes you order the same things differently.
ComparisonContext.CompCtx - Enum in org.organicdesign.fp.collections
Please access this type-safely through ComparisonContext.defCompCtx() instead of calling directly.
compose(Iterable<Fn1<V, V>>) - Static method in interface org.organicdesign.fp.function.Fn1
Composes multiple functions into a single function to potentially minimize trips through the source data.
compose(Fn1<? super S, ? extends T>) - Method in interface org.organicdesign.fp.function.Fn1
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
concat(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.BaseList
Efficiently adds items to the end of this ImList.
concat(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.ImList
Efficiently adds items to the end of this ImList.
concat(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.MutableList
Efficiently adds items to the end of this ImList.
concat(Iterable<? extends E>) - Method in class org.organicdesign.fp.collections.PersistentVector
Efficiently adds items to the end of this PersistentVector.
concat(Iterable<? extends E>) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Efficiently adds items to the end of this ImList.
concat(Iterable<? extends E>) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Efficiently adds items to the end of this ImList.
concat(Iterable<? extends T>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Add items to the end of this Transformable (precat() adds to the beginning)
concat(Iterable<? extends T>) - Method in interface org.organicdesign.fp.xform.Transformable
Add items to the end of this Transformable (precat() adds to the beginning)
concat(Iterable<? extends A>) - Method in class org.organicdesign.fp.xform.Xform
 
contains(Object) - Method in class org.organicdesign.fp.collections.PersistentHashSet
 
contains(Object) - Method in class org.organicdesign.fp.collections.PersistentHashSet.MutableHashSet
 
contains(Object) - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Returns true if the set contains the given item in O(log n) time.
contains(int) - Method in class org.organicdesign.fp.collections.RangeOfInt
Returns true if the number is within the bounds of this range (low end incluive, high end exclusive).
contains(Object) - Method in class org.organicdesign.fp.collections.RangeOfInt
Though this overrides List.contains(Object o), it is effectively a convenience method for calling contains(int i).
contains(Object) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
contains(Object) - Method in interface org.organicdesign.fp.collections.UnmodSet
Returns true if the set contains the given item.
containsAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodCollection
The default implementation of this method has O(this.size() + that.size()) or O(n) performance.
containsAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodList
The default implementation of this method has O(this.size() + that.size()) or O(n) performance.
containsAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodSet
The default implementation of this method has O(this.size() + that.size()) or O(n) performance.
containsKey(Object) - Method in interface org.organicdesign.fp.collections.BaseMap
 
containsKey(Object) - Method in interface org.organicdesign.fp.collections.ImSortedMap
 
containsValue(Object) - Method in interface org.organicdesign.fp.collections.UnmodMap
Most maps are not designed for this - the default implementation has O(n) performance.

D

defaultComparator() - Static method in interface org.organicdesign.fp.collections.Equator
 
defaultEquator() - Static method in interface org.organicdesign.fp.collections.Equator
 
defCompCtx() - Static method in interface org.organicdesign.fp.collections.ComparisonContext
Returns a typed, serializable ComparisonContext that works on any class that implements Comparable.
drop(long) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Ignore the first n items and return only those that come after.
drop(long) - Method in interface org.organicdesign.fp.xform.Transformable
Ignore the first n items and return only those that come after.
drop(long) - Method in class org.organicdesign.fp.xform.Xform
The number of items to drop from the beginning of the output.

E

EMPTY - Static variable in class org.organicdesign.fp.collections.PersistentHashMap
 
empty() - Static method in class org.organicdesign.fp.collections.PersistentHashMap
 
empty(Equator<K>) - Static method in class org.organicdesign.fp.collections.PersistentHashMap
 
EMPTY - Static variable in class org.organicdesign.fp.collections.PersistentHashSet
 
empty() - Static method in class org.organicdesign.fp.collections.PersistentHashSet
 
empty(Equator<E>) - Static method in class org.organicdesign.fp.collections.PersistentHashSet
 
EMPTY - Static variable in class org.organicdesign.fp.collections.PersistentTreeMap
Be extremely careful with this because it uses the default comparator, which only works for items that implement Comparable (have a "natural ordering").
empty() - Static method in class org.organicdesign.fp.collections.PersistentTreeMap
Be extremely careful with this because it uses the default comparator, which only works for items that implement Comparable (have a "natural ordering").
empty(Comparator<? super K>) - Static method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns a new empty PersistentTreeMap that will use the specified comparator.
EMPTY - Static variable in class org.organicdesign.fp.collections.PersistentTreeSet
Be extremely careful with this because it uses the default comparator, which only works for items that implement Comparable (have a "natural ordering").
empty() - Static method in class org.organicdesign.fp.collections.PersistentTreeSet
Be extremely careful with this because it uses the default comparator, which only works for items that implement Comparable (have a "natural ordering").
EMPTY - Static variable in class org.organicdesign.fp.collections.PersistentVector
 
empty() - Static method in class org.organicdesign.fp.collections.PersistentVector
Returns the empty ImList (there only needs to be one)
empty() - Static method in class org.organicdesign.fp.collections.RrbTree
Returns the empty, immutable RRB-Tree (there is only one)
EMPTY - Static variable in class org.organicdesign.fp.xform.Xform
 
empty() - Static method in class org.organicdesign.fp.xform.Xform
 
emptyMutable() - Static method in class org.organicdesign.fp.collections.PersistentHashMap
Works around some type inference limitations of Java 8.
emptyMutable(Equator<K>) - Static method in class org.organicdesign.fp.collections.PersistentHashMap
Works around some type inference limitations of Java 8.
emptyMutable() - Static method in class org.organicdesign.fp.collections.PersistentHashSet
Works around some type inference limitations of Java 8.
emptyMutable(Equator<E>) - Static method in class org.organicdesign.fp.collections.PersistentHashSet
Works around some type inference limitations of Java 8.
emptyMutable() - Static method in class org.organicdesign.fp.collections.PersistentVector
Returns a new mutable vector.
emptyMutable() - Static method in class org.organicdesign.fp.collections.RrbTree
Returns the empty, mutable RRB-Tree (there is only one)
emptyUnmodIterator() - Static method in interface org.organicdesign.fp.collections.UnmodIterator
Returns the empty unmodifiable iterator.
entry(K) - Method in interface org.organicdesign.fp.collections.BaseMap
Returns an option of the key/value pair associated with this key
entry(K) - Method in interface org.organicdesign.fp.collections.ImSortedMap
 
entry(K) - Method in class org.organicdesign.fp.collections.PersistentHashMap
 
entry(K) - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
 
entry(K) - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns an Option of the key/value pair matching the given key, or Option.none() if the key is not found.
entryIterToUnEntrySortedUnIter(Iterator<Map.Entry<K, V>>) - Static method in interface org.organicdesign.fp.collections.UnmodMap.UnEntry
 
entryIterToUnEntryUnIter(Iterator<Map.Entry<K, V>>) - Static method in interface org.organicdesign.fp.collections.UnmodMap.UnEntry
 
entrySet() - Method in interface org.organicdesign.fp.collections.BaseMap
Returns a view of the mappings contained in this map.
entrySet() - Method in interface org.organicdesign.fp.collections.ImMap
Returns a view of the mappings contained in this map.
entrySet() - Method in interface org.organicdesign.fp.collections.ImSortedMap
Returns a view of the mappings contained in this map.
entrySet() - Method in interface org.organicdesign.fp.collections.MutableUnsortedMap
 
entrySet() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns a view of the mappings contained in this map.
entrySet() - Method in interface org.organicdesign.fp.collections.UnmodMap
Returns a view of the mappings contained in this map.
entrySet() - Method in interface org.organicdesign.fp.collections.UnmodSortedMap
Returns a view of the mappings contained in this map.
eq(T, T) - Method in interface org.organicdesign.fp.collections.ComparisonContext
The default implementation of this method returns false if only one parameter is null then checks if compare() returns zero.
eq(T, T) - Method in interface org.organicdesign.fp.collections.Equator
Determines whether two objects are equal.
equal(UnmodSortedIterable, UnmodSortedIterable) - Static method in interface org.organicdesign.fp.collections.UnmodSortedIterable
This is correct, but O(n).
equals(Object) - Method in class org.organicdesign.fp.collections.PersistentTreeMap
When comparing against a SortedMap, this is correct and O(n) fast, but BEWARE! It is also compatible with java.util.Map which unfortunately means equality as defined by this method (and java.util.AbstractMap) is not commutative when comparing ordered and unordered maps (it is also O(n log n) slow).
equals(Object) - Method in class org.organicdesign.fp.collections.PersistentTreeSet
This is designed to be correct, rather than fully compatible with TreeSet.equals().
equals(Object) - Method in class org.organicdesign.fp.collections.RangeOfInt
 
equals(Object) - Method in class org.organicdesign.fp.collections.RrbTree
equals(Object) - Method in class org.organicdesign.fp.collections.UnmodList.AbstractUnmodList
 
equals(Object) - Method in class org.organicdesign.fp.collections.UnmodMap.AbstractUnmodMap
 
equals(Object) - Method in class org.organicdesign.fp.collections.UnmodSet.AbstractUnmodSet
 
equals(Object) - Method in class org.organicdesign.fp.oneOf.OneOf2
 
equals(Object) - Method in class org.organicdesign.fp.oneOf.Option.None
Deprecated.
equals(Object) - Method in class org.organicdesign.fp.oneOf.Option.Some
Deprecated.
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple10
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple11
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple12
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple2
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple3
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple4
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple5
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple6
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple7
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple8
 
equals(Object) - Method in class org.organicdesign.fp.tuple.Tuple9
 
equator() - Method in interface org.organicdesign.fp.collections.BaseUnsortedMap
Returns the Equator used by this map for equals comparisons and hashCodes
Equator<T> - Interface in org.organicdesign.fp.collections
An Equator represents an equality context in a way that is analgous to the java.util.Comparator interface.
equator() - Method in class org.organicdesign.fp.collections.PersistentHashMap
Returns the Equator used by this map for equals comparisons and hashCodes
equator() - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
 
equator() - Method in class org.organicdesign.fp.collections.PersistentHashSet
Returns the Equator used by this set for equals comparisons and hashCodes
Equator.Comp - Enum in org.organicdesign.fp.collections
 
Equator.Equat - Enum in org.organicdesign.fp.collections
 

F

filter(Fn1<? super T, Boolean>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Return only the items for which the given predicate returns true.
filter(Fn1<? super T, Boolean>) - Method in interface org.organicdesign.fp.xform.Transformable
Return only the items for which the given predicate returns true.
filter(Fn1<? super A, Boolean>) - Method in class org.organicdesign.fp.xform.Xform
 
first() - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Use head() inherited from Sequence instead of this method which is inherited from SortedSet.
firstKey() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns the first key in this map or throws a NoSuchElementException if the map is empty.
flatMap(Fn1<? super T, Iterable<B>>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Transform each item into zero or more new items using the given function.
flatMap(Fn1<? super T, Iterable<U>>) - Method in interface org.organicdesign.fp.xform.Transformable
Transform each item into zero or more new items using the given function.
flatMap(Fn1<? super A, Iterable<B>>) - Method in class org.organicdesign.fp.xform.Xform
 
Fn0<U> - Interface in org.organicdesign.fp.function
This is like Java 8's java.util.function.Supplier, but retrofitted to turn checked exceptions into unchecked ones.
Fn1<T,U> - Interface in org.organicdesign.fp.function
This is like Java 8's java.util.function.Function, but retrofitted to turn checked exceptions into unchecked ones.
Fn1.BooleanCombiner - Enum in org.organicdesign.fp.function
 
Fn1.ConstObjBool - Enum in org.organicdesign.fp.function
Constant functions that take an Object and return a Boolean
Fn1.ConstObjObj - Enum in org.organicdesign.fp.function
Constant functions that take an Object and return an Object
Fn2<A,B,R> - Interface in org.organicdesign.fp.function
This is like Java 8's java.util.function.BiFunction, but retrofitted to turn checked exceptions into unchecked ones.
Fn3<A,B,C,R> - Interface in org.organicdesign.fp.function
A three-argument, exception-safe functional interface.
fold(B, Fn2<? super B, ? super T, B>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Apply the function to each item, accumulating the result in u.
fold(U, Fn2<? super U, ? super T, U>) - Method in interface org.organicdesign.fp.xform.Transformable
Apply the function to each item, accumulating the result in u.
fold(B, Fn2<? super B, ? super A, B>) - Method in class org.organicdesign.fp.xform.Xform
Provides a way to collect the results of the transformation.
foldUntil(G, Fn2<? super G, ? super T, B>, Fn2<? super G, ? super T, G>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Normally you want to terminate by doing a take(), drop(), or takeWhile() before you get to the fold, but if you need to terminate based on the complete result so far, you can provide your own termination condition to this version of fold().
foldUntil(G, Fn2<? super G, ? super T, B>, Fn2<? super G, ? super T, G>) - Method in interface org.organicdesign.fp.xform.Transformable
Normally you want to terminate by doing a take(), drop(), or takeWhile() before you get to the fold, but if you need to terminate based on the complete result so far, you can provide your own termination condition to this version of fold().
foldUntil(G, Fn2<? super G, ? super A, B>, Fn2<? super G, ? super A, G>) - Method in class org.organicdesign.fp.xform.Xform
Thit implementation should be correct, but could be slow in the case where previous operations are slow and the terminateWhen operation is fast and terminates early.
FunctionUtils - Class in org.organicdesign.fp
A dumping ground for utility functions that aren't useful enough to belong in StaticImports.

G

get(int, E) - Method in interface org.organicdesign.fp.collections.BaseList
Returns the item at this index.
get(Object) - Method in interface org.organicdesign.fp.collections.BaseMap
 
get(Object) - Method in interface org.organicdesign.fp.collections.ImSortedMap
 
get(int) - Method in class org.organicdesign.fp.collections.PersistentVector
Returns the item specified by the given index.
get(int) - Method in class org.organicdesign.fp.collections.PersistentVector.MutableVector
 
get(int) - Method in class org.organicdesign.fp.collections.RangeOfInt
 
get(int) - Method in class org.organicdesign.fp.collections.RrbTree
get(int) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
get(int) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
get() - Method in interface org.organicdesign.fp.function.Fn0
get() - Method in interface org.organicdesign.fp.oneOf.Option
Return the value wrapped in this Option.
get() - Method in class org.organicdesign.fp.oneOf.Option.None
Return the value wrapped in this Option.
get() - Method in class org.organicdesign.fp.oneOf.Option.Some
Return the value wrapped in this Option.
getKey() - Method in class org.organicdesign.fp.tuple.Tuple2
Returns the first field of the tuple.
getOrElse(K, V) - Method in interface org.organicdesign.fp.collections.BaseMap
 
getOrElse(K, V) - Method in interface org.organicdesign.fp.collections.ImSortedMap
 
getOrElse(T) - Method in interface org.organicdesign.fp.oneOf.Option
If this is Some, return the value wrapped in this Option.
getOrElse(T) - Method in class org.organicdesign.fp.oneOf.Option.None
If this is Some, return the value wrapped in this Option.
getOrElse(T) - Method in class org.organicdesign.fp.oneOf.Option.Some
If this is Some, return the value wrapped in this Option.
getValue() - Method in class org.organicdesign.fp.tuple.Tuple2
Returns the second field of the tuple.
good(G) - Static method in class org.organicdesign.fp.oneOf.Or
Construct a new Good from the given object.
good() - Method in class org.organicdesign.fp.oneOf.Or
Returns the good value if this is a Good, or throws an exception if this is a Bad.
gt(T, T) - Method in interface org.organicdesign.fp.collections.ComparisonContext
Returns true if the first object is greater than the second.
gte(T, T) - Method in interface org.organicdesign.fp.collections.ComparisonContext
Returns true if the first object is greater than or equal to the second.

H

hash(T) - Method in interface org.organicdesign.fp.collections.Equator
An integer digest used for very quick "can-equal" testing.
hash(Iterable) - Static method in interface org.organicdesign.fp.collections.UnmodIterable
This is correct, but O(n).
hashCode() - Method in class org.organicdesign.fp.collections.RangeOfInt
 
hashCode() - Method in class org.organicdesign.fp.collections.RrbTree
This implementation is correct and compatible with java.util.AbstractList, but O(n).
hashCode() - Method in class org.organicdesign.fp.collections.UnmodIterable.AbstractUnmodIterable
 
hashCode() - Method in class org.organicdesign.fp.collections.UnmodList.AbstractUnmodList
This implementation is compatible with java.util.AbstractList but O(n).
hashCode() - Method in class org.organicdesign.fp.oneOf.OneOf2
 
hashCode() - Method in class org.organicdesign.fp.oneOf.Option.None
Deprecated.
hashCode() - Method in class org.organicdesign.fp.oneOf.Option.Some
Deprecated.
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple10
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple11
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple12
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple2
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple3
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple4
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple5
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple6
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple7
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple8
 
hashCode() - Method in class org.organicdesign.fp.tuple.Tuple9
 
hasNext() - Method in class org.organicdesign.fp.collections.UnmodMap.UnEntry.EntryToUnEntryIter
 
hasNext() - Method in class org.organicdesign.fp.collections.UnmodMap.UnEntry.UnmodKeyIter
 
hasNext() - Method in class org.organicdesign.fp.collections.UnmodMap.UnEntry.UnmodValIter
 
hasNext() - Method in class org.organicdesign.fp.collections.UnmodSortedIterator.Wrapper
 
head() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
The first item in this sequence.
head() - Method in class org.organicdesign.fp.collections.PersistentTreeSet
The first item in this sequence.
head() - Method in interface org.organicdesign.fp.collections.UnmodIterable
The first item in this sequence.
headMap(K) - Method in interface org.organicdesign.fp.collections.ImSortedMap
Return the elements in this map up (but excluding) to the given element
headMap(K) - Method in interface org.organicdesign.fp.collections.UnmodSortedMap
headSet(E) - Method in interface org.organicdesign.fp.collections.ImSortedSet
headSet(E) - Method in interface org.organicdesign.fp.collections.UnmodSortedSet

I

identity() - Static method in interface org.organicdesign.fp.function.Fn1
 
ImList<E> - Interface in org.organicdesign.fp.collections
Immutable copy-on-write list
ImMap<K,V> - Interface in org.organicdesign.fp.collections
An immutable map with no guarantees about its ordering.
immutable() - Method in interface org.organicdesign.fp.collections.MutableList
Returns a immutable version of this mutable list.
immutable() - Method in interface org.organicdesign.fp.collections.MutableUnsortedMap
Returns an immutable version of this mutable map.
immutable() - Method in interface org.organicdesign.fp.collections.MutableUnsortedSet
Returns an immutable version of this immutable set.
immutable() - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
 
immutable() - Method in class org.organicdesign.fp.collections.PersistentHashSet.MutableHashSet
 
immutable() - Method in class org.organicdesign.fp.collections.PersistentVector.MutableVector
 
immutable() - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Returns a immutable version of this mutable list.
ImSet<E> - Interface in org.organicdesign.fp.collections
An immutable set with no guarantees about its ordering
ImSortedMap<K,V> - Interface in org.organicdesign.fp.collections
An immutable sorted map.
ImSortedSet<E> - Interface in org.organicdesign.fp.collections
An immutable sorted set interface
Indented - Interface in org.organicdesign.fp.collections
Created by gpeterso on 5/21/17.
indentedStr(int) - Method in interface org.organicdesign.fp.collections.Indented
Returns a string where line breaks extend the given amount of indentation.
indentedStr(int) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Returns a string where line breaks extend the given amount of indentation.
indentedStr(int) - Method in class org.organicdesign.fp.collections.RrbTree
Returns a string where line breaks extend the given amount of indentation.
indentedStr(int) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Returns a string where line breaks extend the given amount of indentation.
indentSpace(int) - Static method in interface org.organicdesign.fp.collections.Indented
Creates a new StringBuilder with the given number of spaces and returns it.
indexOf(Object) - Method in class org.organicdesign.fp.collections.RangeOfInt
Unlike most implementations of List, this method has excellent O(1) performance! The default implementation of this method has O(this.size()) performance.
indexOf(Object) - Method in interface org.organicdesign.fp.collections.UnmodList
The default implementation of this method has O(this.size()) performance.
insert(int, E) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Inserts an item in the RRB tree pushing the current element at that index and all subsequent elements to the right.
insert(int, E) - Method in class org.organicdesign.fp.collections.RrbTree
Inserts an item in the RRB tree pushing the current element at that index and all subsequent elements to the right.
insert(int, E) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Inserts an item in the RRB tree pushing the current element at that index and all subsequent elements to the right.
isBad() - Method in class org.organicdesign.fp.oneOf.Or
Returns true if this Or has a bad value.
isEmpty() - Method in class org.organicdesign.fp.collections.PersistentTreeSet
This is a convenience method inherited from Collection that returns true if size() == 0 (if this set contains no elements).
isEmpty() - Method in interface org.organicdesign.fp.collections.UnmodCollection
isEmpty() - Method in interface org.organicdesign.fp.collections.UnmodList
A convenience method to check if size is 0
isEmpty() - Method in interface org.organicdesign.fp.collections.UnmodMap
isEmpty() - Method in interface org.organicdesign.fp.collections.UnmodSet
This is a convenience method inherited from Collection that returns true if size() == 0 (if this set contains no elements).
isGood() - Method in class org.organicdesign.fp.oneOf.Or
Returns true if this Or has a good value.
isSome() - Method in interface org.organicdesign.fp.oneOf.Option
Is this Some?
isSome() - Method in class org.organicdesign.fp.oneOf.Option.None
Is this Some?
isSome() - Method in class org.organicdesign.fp.oneOf.Option.Some
Is this Some?
item - Variable in class org.organicdesign.fp.oneOf.OneOf2
 
iterator() - Method in interface org.organicdesign.fp.collections.ImSortedMap
Returns an iterator over the UnEntries of this map in order.
iterator() - Method in interface org.organicdesign.fp.collections.ImSortedSet
Iterates over contents in a guaranteed order.
iterator() - Method in class org.organicdesign.fp.collections.PersistentHashMap
 
iterator() - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
 
iterator() - Method in class org.organicdesign.fp.collections.PersistentHashSet
 
iterator() - Method in class org.organicdesign.fp.collections.PersistentHashSet.MutableHashSet
 
iterator() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns an iterator over the UnEntries of this map in order.
iterator() - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Iterates over contents in a guaranteed order.
iterator() - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
A convenience method to get a listIterator.
iterator() - Method in class org.organicdesign.fp.collections.RrbTree
A convenience method to get a listIterator.
iterator() - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
A convenience method to get a listIterator.
iterator() - Method in interface org.organicdesign.fp.collections.UnmodCollection
An unmodifiable iterator A one-time use, mutable, not-thread-safe way to get each value of the underling collection in turn.
iterator() - Method in interface org.organicdesign.fp.collections.UnmodIterable
A one-time use, mutable, not-thread-safe way to get each value of the underling collection in turn.
iterator() - Method in interface org.organicdesign.fp.collections.UnmodList
A convenience method to get a listIterator.
iterator() - Method in interface org.organicdesign.fp.collections.UnmodSet
Iterates over contents with no guarantees about their ordering.
iterator() - Method in interface org.organicdesign.fp.collections.UnmodSortedCollection
An unmodifiable ordered iterator An unmodifiable iterator A one-time use, mutable, not-thread-safe way to get each value of the underling collection in turn.
iterator() - Method in interface org.organicdesign.fp.collections.UnmodSortedIterable
Returns items in a guaranteed order.
iterator() - Method in interface org.organicdesign.fp.collections.UnmodSortedSet
Iterates over contents in a guaranteed order.
iterator() - Method in class org.organicdesign.fp.xform.Xform
 
iterator() - Method in class org.organicdesign.fp.xform.Xform.RunList
 

J

join(RrbTree<E>) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.
join(RrbTree<E>) - Method in class org.organicdesign.fp.collections.RrbTree
Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.
join(RrbTree<E>) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Joins the given tree to the right side of this tree (or this to the left side of that one) in something like O(log n) time.

K

keySet() - Method in interface org.organicdesign.fp.collections.BaseMap
Returns a view of the keys contained in this map.
keySet() - Method in interface org.organicdesign.fp.collections.ImMap
Returns an immutable view of the keys contained in this map.
keySet() - Method in interface org.organicdesign.fp.collections.ImSortedMap
Returns a view of the keys contained in this map.
keySet() - Method in interface org.organicdesign.fp.collections.MutableUnsortedMap
Returns a mutable view of the keys contained in this map.
keySet() - Method in interface org.organicdesign.fp.collections.UnmodMap
Returns a view of the keys contained in this map.
keySet() - Method in interface org.organicdesign.fp.collections.UnmodSortedMap
Returns a view of the keys contained in this map.

L

last() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns the last key/value pair in this map, or null if the map is empty.
last() - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Inherited from SortedSet, returns the last item in this set, or throw an exception if this set is empty.
lastIndexOf(Object) - Method in class org.organicdesign.fp.collections.RangeOfInt
Unlike most implementations of List, this method has excellent O(1) performance! The default implementation of this method has O(this.size()) performance.
lastIndexOf(Object) - Method in interface org.organicdesign.fp.collections.UnmodList
The default implementation of this method has O(this.size()) performance.
lastKey() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns the last key in this map or throws a NoSuchElementException if the map is empty.
LazyRef<T> - Class in org.organicdesign.fp.function
Lazily initialize a value (and free the initialization resources) on the first call to get().
listIterator(int) - Method in class org.organicdesign.fp.collections.PersistentVector
Subclasses should override this when they can do so more efficiently.
listIterator(int) - Method in class org.organicdesign.fp.collections.RangeOfInt
Subclasses should override this when they can do so more efficiently.
listIterator() - Method in interface org.organicdesign.fp.collections.UnmodList
listIterator(int) - Method in interface org.organicdesign.fp.collections.UnmodList
Subclasses should override this when they can do so more efficiently.
lt(T, T) - Method in interface org.organicdesign.fp.collections.ComparisonContext
Returns true if the first object is less than the second.
lte(T, T) - Method in interface org.organicdesign.fp.collections.ComparisonContext
Returns true if the first object is less than or equal to the second.

M

map(Fn1<? super T, ? extends B>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Transform each item into exactly one new item using the given function.
map(Map.Entry<K, V>...) - Static method in class org.organicdesign.fp.StaticImports
Returns a new PersistentHashMap of the given keys and their paired values.
map(Fn1<? super T, ? extends U>) - Method in interface org.organicdesign.fp.xform.Transformable
Transform each item into exactly one new item using the given function.
map(Fn1<? super A, ? extends B>) - Method in class org.organicdesign.fp.xform.Xform
 
match(Fn1<A, R>, Fn1<B, R>) - Method in class org.organicdesign.fp.oneOf.OneOf2
 
match(Fn1<T, U>, Fn0<U>) - Method in interface org.organicdesign.fp.oneOf.Option
Pass in a function to execute if its Some and another to execute if its None.
match(Fn1<T, U>, Fn0<U>) - Method in class org.organicdesign.fp.oneOf.Option.None
Pass in a function to execute if its Some and another to execute if its None.
match(Fn1<T, U>, Fn0<U>) - Method in class org.organicdesign.fp.oneOf.Option.Some
Pass in a function to execute if its Some and another to execute if its None.
max(Iterable<T>) - Method in interface org.organicdesign.fp.collections.ComparisonContext
Returns the maximum (as defined by this Comparison Context).
memoize(Fn1<A, B>) - Static method in interface org.organicdesign.fp.function.Fn1
Use only on pure functions with no side effects.
memoize(Fn2<A, B, Z>) - Static method in interface org.organicdesign.fp.function.Fn2
Use only on pure functions with no side effects.
memoize(Fn3<A, B, C, Z>) - Static method in interface org.organicdesign.fp.function.Fn3
Use only on pure functions with no side effects.
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
min(Iterable<T>) - Method in interface org.organicdesign.fp.collections.ComparisonContext
Returns the minimum (as defined by this Comparison Context).
mutable() - Method in interface org.organicdesign.fp.collections.ImList
Returns a mutable list (builder)
mutable() - Method in interface org.organicdesign.fp.collections.ImMap
Returns a mutable version of this mutable map.
mutable() - Method in interface org.organicdesign.fp.collections.ImSet
Returns a mutable version of this immutable set.
mutable() - Method in class org.organicdesign.fp.collections.PersistentHashMap
 
mutable() - Method in class org.organicdesign.fp.collections.PersistentHashSet
 
mutable() - Method in class org.organicdesign.fp.collections.PersistentVector
 
mutable() - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Returns a mutable list (builder)
MutableList<E> - Interface in org.organicdesign.fp.collections
A mutate-in-place interface using the same copy-on-write methods as BaseList and ImList so that you can treat mutable and immutable lists the same.
mutableMap(Map.Entry<K, V>...) - Static method in class org.organicdesign.fp.StaticImports
Returns a new MutableUnsortedMap of the given keys and their paired values.
mutableRrb(T...) - Static method in class org.organicdesign.fp.StaticImports
Returns a mutable RRB Tree RrbTree.MutableRrbt of the given items.
mutableSet(T...) - Static method in class org.organicdesign.fp.StaticImports
Returns a new MutableUnsortedSet of the values.
MutableUnsortedMap<K,V> - Interface in org.organicdesign.fp.collections
Interface for mutable (hash) map builder.
MutableUnsortedSet<E> - Interface in org.organicdesign.fp.collections
Interface for mutable (hash) set builder.
mutableVec(T...) - Static method in class org.organicdesign.fp.StaticImports
Returns a MutableVector of the given items.

N

name(Class) - Static method in class org.organicdesign.fp.type.RuntimeTypes
 
negate(Fn1<? super S, Boolean>) - Static method in interface org.organicdesign.fp.function.Fn1
 
neq(T, T) - Method in interface org.organicdesign.fp.collections.Equator
Returns true if two objects are NOT equal.
next() - Method in class org.organicdesign.fp.collections.UnmodMap.UnEntry.EntryToUnEntryIter
 
next() - Method in class org.organicdesign.fp.collections.UnmodMap.UnEntry.UnmodKeyIter
 
next() - Method in class org.organicdesign.fp.collections.UnmodMap.UnEntry.UnmodValIter
 
next() - Method in class org.organicdesign.fp.collections.UnmodSortedIterator.Wrapper
 
NONE - Static variable in interface org.organicdesign.fp.oneOf.Option
None is a singleton and this is its only instance.
none() - Static method in interface org.organicdesign.fp.oneOf.Option
Calling this instead of referring to NONE directly can make the type infrencer happy.

O

of(Iterable<Map.Entry<K, V>>) - Static method in class org.organicdesign.fp.collections.PersistentHashMap
Returns a new PersistentHashMap of the given keys and their paired values.
of(Iterable<E>) - Static method in class org.organicdesign.fp.collections.PersistentHashSet
Returns a new PersistentHashSet of the values.
of(Iterable<Map.Entry<K, V>>) - Static method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns a new PersistentTreeMap of the given comparable keys and their paired values, skipping any null Entries.
of(Iterable<T>) - Static method in class org.organicdesign.fp.collections.PersistentTreeSet
Returns a new PersistentTreeSet of the given comparable items.
of(Number, Number) - Static method in class org.organicdesign.fp.collections.RangeOfInt
 
of(Number) - Static method in class org.organicdesign.fp.collections.RangeOfInt
 
of(Fn0<T>) - Static method in class org.organicdesign.fp.function.LazyRef
Construct a LazyRef from the given initialization function.
of(T) - Static method in interface org.organicdesign.fp.oneOf.Option
Public static factory method for contructing Options.
of(A, B, C, D, E, F, G, H, I, J) - Static method in class org.organicdesign.fp.tuple.Tuple10
Public static factory method
of(A, B, C, D, E, F, G, H, I, J, K) - Static method in class org.organicdesign.fp.tuple.Tuple11
Public static factory method
of(A, B, C, D, E, F, G, H, I, J, K, L) - Static method in class org.organicdesign.fp.tuple.Tuple12
Public static factory method
of(A, B) - Static method in class org.organicdesign.fp.tuple.Tuple2
Public static factory method
of(Map.Entry<K, V>) - Static method in class org.organicdesign.fp.tuple.Tuple2
Map.Entry factory method
of(A, B, C) - Static method in class org.organicdesign.fp.tuple.Tuple3
Public static factory method
of(A, B, C, D) - Static method in class org.organicdesign.fp.tuple.Tuple4
Public static factory method
of(A, B, C, D, E) - Static method in class org.organicdesign.fp.tuple.Tuple5
Public static factory method
of(A, B, C, D, E, F) - Static method in class org.organicdesign.fp.tuple.Tuple6
Public static factory method
of(A, B, C, D, E, F, G) - Static method in class org.organicdesign.fp.tuple.Tuple7
Public static factory method
of(A, B, C, D, E, F, G, H) - Static method in class org.organicdesign.fp.tuple.Tuple8
Public static factory method
of(A, B, C, D, E, F, G, H, I) - Static method in class org.organicdesign.fp.tuple.Tuple9
Public static factory method
of(Iterable<? extends T>) - Static method in class org.organicdesign.fp.xform.Xform
Static factory methods
of(Xform.RunList, Iterable) - Static method in class org.organicdesign.fp.xform.Xform.RunList
 
ofComp(Comparator<? super K>, Iterable<Map.Entry<K, V>>) - Static method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns a new PersistentTreeMap of the specified comparator and the given key/value pairs.
ofComp(Comparator<? super T>) - Static method in class org.organicdesign.fp.collections.PersistentTreeSet
Returns a new PersistentTreeSet of the given comparator.
ofComp(Comparator<? super T>, Iterable<T>) - Static method in class org.organicdesign.fp.collections.PersistentTreeSet
Returns a new PersistentTreeSet of the given comparator and items.
ofEq(Equator<K>, Iterable<Map.Entry<K, V>>) - Static method in class org.organicdesign.fp.collections.PersistentHashMap
Returns a new PersistentHashMap of the given keys and their paired values, skipping any null Entries.
ofEq(Equator<E>, Iterable<E>) - Static method in class org.organicdesign.fp.collections.PersistentHashSet
 
ofIter(Iterable<T>) - Static method in class org.organicdesign.fp.collections.PersistentVector
Public static factory method to create a vector from an Iterable.
ofMap(ImMap<E, ?>) - Static method in class org.organicdesign.fp.collections.PersistentHashSet
 
ofMap(ImSortedMap<T, ?>) - Static method in class org.organicdesign.fp.collections.PersistentTreeSet
Returns a new PersistentTreeSet of the keys and comparator in the given map.
OneOf2<A,B> - Class in org.organicdesign.fp.oneOf
Like Tuple2, OneOf2 is designed to be sub-classed so you can add descriptive names.
OneOf2(ImList<Class>, A, B, int) - Constructor for class org.organicdesign.fp.oneOf.OneOf2
 
Option<T> - Interface in org.organicdesign.fp.oneOf
Indicates presence or absence of a value (null is a valid, present value).
Option.None<T> - Class in org.organicdesign.fp.oneOf
Represents the absence of a value
Option.Some<T> - Class in org.organicdesign.fp.oneOf
Represents the presence of a value, even if that value is null.
or(Fn1<S, Boolean>, Fn1<S, Boolean>) - Static method in interface org.organicdesign.fp.function.Fn1
 
or(Iterable<Fn1<T, Boolean>>) - Static method in interface org.organicdesign.fp.function.Fn1
Composes multiple predicates into a single predicate to potentially minimize trips through the source data.
Or<G,B> - Class in org.organicdesign.fp.oneOf
`Or` represents the presence of a successful outcome, or an error.
ordinal(int) - Static method in class org.organicdesign.fp.FunctionUtils
 
org.organicdesign.fp - package org.organicdesign.fp
A tiny data definition language for Java, in Java.
org.organicdesign.fp.collections - package 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.function - package org.organicdesign.fp.function
Exception-friendly functional interfaces named by the number of arguments: Fn0, Fn1, Fn2....
org.organicdesign.fp.oneOf - package org.organicdesign.fp.oneOf
This approximates union types for Java - for when something (like a return type) can be exactly one of a few different things.
org.organicdesign.fp.tuple - package org.organicdesign.fp.tuple
Immutable, type-safe, heterogeneous containers - ML calls these "records." ML, Haskell, and Scala use tuples - why not Java? Actually, tuples are *more* important in Java because Java does not have type aliases.
org.organicdesign.fp.type - package org.organicdesign.fp.type
Some ideas for runtime types.
org.organicdesign.fp.xform - package 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).

P

permutations(List<T>, Fn2<? super T, ? super T, ?>) - Static method in interface org.organicdesign.fp.collections.UnmodList
Apply the given function against all unique pairings of items in the list.
PersistentHashMap<K,V> - Class in org.organicdesign.fp.collections
Rich Hickey's immutable rendition of Phil Bagwell's Hash Array Mapped Trie.
PersistentHashMap.MutableHashMap<K,V> - Class in org.organicdesign.fp.collections
 
PersistentHashSet<E> - Class in org.organicdesign.fp.collections
A wrapper that turns a PersistentTreeMap into a set.
PersistentHashSet.MutableHashSet<E> - Class in org.organicdesign.fp.collections
 
PersistentTreeMap<K,V> - Class in org.organicdesign.fp.collections
Persistent Red Black Tree.
PersistentTreeSet<E> - Class in org.organicdesign.fp.collections
A wrapper that turns a PersistentTreeMap into a set.
PersistentVector<E> - Class in org.organicdesign.fp.collections
This started out as Rich Hickey's PersistentVector class from Clojure in late 2014.
PersistentVector.MutableVector<F> - Class in org.organicdesign.fp.collections
 
precat(Iterable<? extends T>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Add items to the beginning of this Transformable ("precat" is a PREpending version of conCAT).
precat(Iterable<? extends T>) - Method in interface org.organicdesign.fp.xform.Transformable
Add items to the beginning of this Transformable ("precat" is a PREpending version of conCAT).
precat(Iterable<? extends A>) - Method in class org.organicdesign.fp.xform.Xform
 
previousIndex() - Method in interface org.organicdesign.fp.collections.UnmodListIterator
put(E) - Method in interface org.organicdesign.fp.collections.BaseSet
Adds an element.
put(E) - Method in interface org.organicdesign.fp.collections.ImSet
Adds an element, returning a modified version of the set (leaving the original set unchanged).
put(E) - Method in interface org.organicdesign.fp.collections.ImSortedSet
Adds an element.
put(E) - Method in interface org.organicdesign.fp.collections.MutableUnsortedSet
Adds an element.
put(E) - Method in class org.organicdesign.fp.collections.PersistentHashSet.MutableHashSet
 
put(E) - Method in class org.organicdesign.fp.collections.PersistentHashSet
 
put(E) - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Adds an element.
put(K, V) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
putAll(Map<? extends K, ? extends V>) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
putIfAbsent(K, V) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.

R

RangeOfInt - Class in org.organicdesign.fp.collections
An efficient (in both time and memory) implementation of List.
RangeOfInt.Equat - Enum in org.organicdesign.fp.collections
 
registerClasses(ImList<Class>) - Static method in class org.organicdesign.fp.type.RuntimeTypes
Use this to prevent duplicate runtime types.
reject() - Static method in interface org.organicdesign.fp.function.Fn1
Returns a type-safe version of the ConstObjBool.REJECT predicate.
remove(Object) - Method in interface org.organicdesign.fp.collections.UnmodCollection
Deprecated.
remove() - Method in interface org.organicdesign.fp.collections.UnmodIterator
Deprecated.
remove(int) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
remove(Object) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
remove() - Method in interface org.organicdesign.fp.collections.UnmodListIterator
Deprecated.
remove(Object) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
remove(Object, Object) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
remove(Object) - Method in interface org.organicdesign.fp.collections.UnmodSet
Deprecated.
removeAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodCollection
Deprecated.
removeAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
removeAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodSet
Deprecated.
removeIf(Predicate<? super E>) - Method in interface org.organicdesign.fp.collections.UnmodCollection
Deprecated.
removeIf(Predicate<? super E>) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
removeIf(Predicate<? super E>) - Method in interface org.organicdesign.fp.collections.UnmodSet
Deprecated.
replace(int, E) - Method in interface org.organicdesign.fp.collections.BaseList
Replace the item at the given index.
replace(int, E) - Method in interface org.organicdesign.fp.collections.ImList
Replace the item at the given index.
replace(int, E) - Method in interface org.organicdesign.fp.collections.MutableList
Replace the item at the given index.
replace(int, F) - Method in class org.organicdesign.fp.collections.PersistentVector.MutableVector
 
replace(int, E) - Method in class org.organicdesign.fp.collections.PersistentVector
Replace the item at the given index.
replace(int, E) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Replace the item at the given index.
replace(int, E) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Replace the item at the given index.
replace(int, E) - Method in class org.organicdesign.fp.collections.RrbTree
Replace the item at the given index.
replace(K, V, V) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
replace(K, V) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
replaceAll(UnaryOperator<E>) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
retainAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodCollection
Deprecated.
retainAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
retainAll(Collection<?>) - Method in interface org.organicdesign.fp.collections.UnmodSet
Deprecated.
reverse() - Method in interface org.organicdesign.fp.collections.BaseList
Returns a reversed copy of this list.
reverse() - Method in interface org.organicdesign.fp.collections.ImList
Returns a reversed copy of this list.
reverse() - Method in interface org.organicdesign.fp.collections.MutableList
Returns a reversed copy of this list.
rrb(T...) - Static method in class org.organicdesign.fp.StaticImports
Returns a new immutable RRB Tree RrbTree.ImRrbt of the given items.
RrbTree<E> - Class in org.organicdesign.fp.collections
This is based on the paper, "RRB-Trees: Efficient Immutable Vectors" by Phil Bagwell and Tiark Rompf, with the following differences:
RrbTree() - Constructor for class org.organicdesign.fp.collections.RrbTree
 
RrbTree.ImRrbt<E> - Class in org.organicdesign.fp.collections
Immutable version of an RrbTree
RrbTree.MutableRrbt<E> - Class in org.organicdesign.fp.collections
Mutable version of an RrbTree
RuntimeTypes - Class in org.organicdesign.fp.type
Stores the classes from the compile-time generic type parameters in a vector in the *same order* as the generics in the type signature of that class.

S

sel - Variable in class org.organicdesign.fp.oneOf.OneOf2
 
set(int, E) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
set(E) - Method in interface org.organicdesign.fp.collections.UnmodListIterator
Deprecated.
set(T...) - Static method in class org.organicdesign.fp.StaticImports
Returns a new PersistentHashSet of the values.
setValue(V) - Method in interface org.organicdesign.fp.collections.UnmodMap.UnEntry
Deprecated.
setValue(B) - Method in class org.organicdesign.fp.tuple.Tuple2
Deprecated.
size() - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
 
size() - Method in class org.organicdesign.fp.collections.PersistentHashMap
Returns the number of items in this collection or iterable.
size() - Method in class org.organicdesign.fp.collections.PersistentHashSet.MutableHashSet
 
size() - Method in class org.organicdesign.fp.collections.PersistentHashSet
 
size() - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns the number of key/value mappings in this map.
size() - Method in class org.organicdesign.fp.collections.PersistentTreeSet
The size of this set.
size() - Method in class org.organicdesign.fp.collections.PersistentVector.MutableVector
 
size() - Method in class org.organicdesign.fp.collections.PersistentVector
Returns the number of items in this collection or iterable.
size() - Method in class org.organicdesign.fp.collections.RangeOfInt
 
size() - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
 
size() - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
 
size() - Method in class org.organicdesign.fp.collections.RrbTree
Returns the number of items in this collection or iterable.
size() - Method in interface org.organicdesign.fp.collections.Sized
Returns the number of items in this collection or iterable.
Sized - Interface in org.organicdesign.fp.collections
 
someOrNullNoneOf(T) - Static method in interface org.organicdesign.fp.oneOf.Option
Construct an option, but if t is null, make it None instead of Some.
sort(Comparator<? super E>) - Method in interface org.organicdesign.fp.collections.UnmodList
Deprecated.
sortedMap(Comparator<? super K>, Iterable<Map.Entry<K, V>>) - Static method in class org.organicdesign.fp.StaticImports
Returns a new PersistentTreeMap of the specified comparator and the given key/value pairs.
sortedMap(Iterable<Map.Entry<K, V>>) - Static method in class org.organicdesign.fp.StaticImports
Returns a new PersistentTreeMap of the given comparable keys and their paired values, sorted in the default ordering of the keys.
sortedSet(Comparator<? super T>, Iterable<T>) - Static method in class org.organicdesign.fp.StaticImports
Returns a new PersistentTreeSet of the given comparator and items.
sortedSet(Iterable<T>) - Static method in class org.organicdesign.fp.StaticImports
Returns a new PersistentTreeSet of the given comparable items.
SPACES - Static variable in interface org.organicdesign.fp.collections.Indented
 
SPACES_LENGTH_MINUS_ONE - Static variable in interface org.organicdesign.fp.collections.Indented
 
split(int) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Divides this RRB-Tree such that every index less-than the given index ends up in the left-hand tree and the indexed item and all subsequent ones end up in the right-hand tree.
split(int) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Divides this RRB-Tree such that every index less-than the given index ends up in the left-hand tree and the indexed item and all subsequent ones end up in the right-hand tree.
split(int) - Method in class org.organicdesign.fp.collections.RrbTree
Divides this RRB-Tree such that every index less-than the given index ends up in the left-hand tree and the indexed item and all subsequent ones end up in the right-hand tree.
StaticImports - Class in org.organicdesign.fp
A mini data definition language composed of short methods like vec(), tup(), map(), set(), plus xform() which makes java.util collections transformable.
stringify(Object) - Static method in class org.organicdesign.fp.FunctionUtils
 
subList(int, int) - Method in class org.organicdesign.fp.collections.RangeOfInt
subList(int, int) - Method in interface org.organicdesign.fp.collections.UnmodList
subMap(K, K) - Method in interface org.organicdesign.fp.collections.ImSortedMap
Return the elements in this map from the start element (inclusive) to the end element (exclusive)
subMap(K, K) - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Return the elements in this map from the start element (inclusive) to the end element (exclusive)
subMap(K, K) - Method in interface org.organicdesign.fp.collections.UnmodSortedMap
subSet(E, E) - Method in interface org.organicdesign.fp.collections.ImSortedSet
Return the elements in this set from the start element (inclusive) to the end element (exclusive)
subSet(E, E) - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Return the elements in this set from the start element (inclusive) to the end element (exclusive)
subSet(E, E) - Method in interface org.organicdesign.fp.collections.UnmodSortedSet

T

tailMap(K) - Method in interface org.organicdesign.fp.collections.ImSortedMap
Return the elements in this from the given element to the end
tailMap(K) - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Return the elements in this from the given element to the end
tailMap(K) - Method in interface org.organicdesign.fp.collections.UnmodSortedMap
tailSet(E) - Method in interface org.organicdesign.fp.collections.ImSortedSet
tailSet(E) - Method in class org.organicdesign.fp.collections.PersistentTreeSet
tailSet(E) - Method in interface org.organicdesign.fp.collections.UnmodSortedSet
take(long) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Return only the first n items.
take(long) - Method in interface org.organicdesign.fp.xform.Transformable
Return only the first n items.
take(long) - Method in class org.organicdesign.fp.xform.Xform
 
takeWhile(Fn1<? super T, Boolean>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
Return items from the beginning until the given predicate returns false.
takeWhile(Fn1<? super T, Boolean>) - Method in interface org.organicdesign.fp.xform.Transformable
Return items from the beginning until the given predicate returns false.
takeWhile(Fn1<? super A, Boolean>) - Method in class org.organicdesign.fp.xform.Xform
 
then(Fn1<T, Option<U>>) - Method in class org.organicdesign.fp.oneOf.Option.None
If this is Some, Apply the given function, else return None.
then(Fn1<T, Option<U>>) - Method in class org.organicdesign.fp.oneOf.Option.Some
If this is Some, Apply the given function, else return None.
then(Fn1<T, Option<U>>) - Method in interface org.organicdesign.fp.oneOf.Option
If this is Some, Apply the given function, else return None.
throw1(A) - Method in class org.organicdesign.fp.oneOf.OneOf2
 
throw2(B) - Method in class org.organicdesign.fp.oneOf.OneOf2
 
toArray() - Method in interface org.organicdesign.fp.collections.UnmodCollection
This method goes against Josh Bloch's Item 25: "Prefer Lists to Arrays", but is provided for backwards compatibility in some performance-critical situations.
toArray(T[]) - Method in interface org.organicdesign.fp.collections.UnmodCollection
This method goes against Josh Bloch's Item 25: "Prefer Lists to Arrays", but is provided for backwards compatibility in some performance-critical situations.
toArray() - Method in interface org.organicdesign.fp.collections.UnmodList
This method goes against Josh Bloch's Item 25: "Prefer Lists to Arrays", but is provided for backwards compatibility in some performance-critical situations.
toArray(T[]) - Method in interface org.organicdesign.fp.collections.UnmodList
This method goes against Josh Bloch's Item 25: "Prefer Lists to Arrays", but is provided for backwards compatibility in some performance-critical situations.
toArray() - Method in interface org.organicdesign.fp.collections.UnmodSet
This method goes against Josh Bloch's Item 25: "Prefer Lists to Arrays", but is provided for backwards compatibility in some performance-critical situations.
toArray(T[]) - Method in interface org.organicdesign.fp.collections.UnmodSet
This method goes against Josh Bloch's Item 25: "Prefer Lists to Arrays", but is provided for backwards compatibility in some performance-critical situations.
toImList() - Method in interface org.organicdesign.fp.xform.Transformable
Realize a thread-safe immutable list to access items quickly O(log32 n) by index.
toImMap(Fn1<? super T, Map.Entry<K, V>>) - Method in interface org.organicdesign.fp.xform.Transformable
Realize an unordered immutable hash map to very quickly O(1) look up values by key, but don't care about ordering.
toImSet() - Method in interface org.organicdesign.fp.xform.Transformable
Realize an unordered immutable hash set to remove duplicates or very quickly O(1) tell whether the set contains various items, but don't care about ordering.
toImSortedMap(Comparator<? super K>, Fn1<? super T, Map.Entry<K, V>>) - Method in interface org.organicdesign.fp.xform.Transformable
Realize an immutable, ordered (tree) map to quickly O(log2 n) look up values by key, but still retrieve entries in key order.
toImSortedSet(Comparator<? super T>) - Method in interface org.organicdesign.fp.xform.Transformable
Realize an immutable, sorted (tree) set to quickly O(log2 n) test it contains items, but still retrieve entries in order.
toMutableList() - Method in interface org.organicdesign.fp.xform.Transformable
Realize a mutable list.
toMutableMap(Fn1<? super T, Map.Entry<K, V>>) - Method in interface org.organicdesign.fp.xform.Transformable
Realize a mutable hash map.
toMutableSet() - Method in interface org.organicdesign.fp.xform.Transformable
Realize a mutable hash set.
toMutableSortedMap(Comparator<? super K>, Fn1<? super T, Map.Entry<K, V>>) - Method in interface org.organicdesign.fp.xform.Transformable
Realize a mutable tree map.
toMutableSortedSet(Comparator<? super T>) - Method in interface org.organicdesign.fp.xform.Transformable
Returns a mutable tree set.
toRunList() - Method in class org.organicdesign.fp.xform.Xform
 
toString() - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
toString() - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
toString() - Method in class org.organicdesign.fp.collections.UnmodIterable.AbstractUnmodIterable
 
toString(String, Iterable) - Static method in interface org.organicdesign.fp.collections.UnmodIterable
Computes a reasonable to-string.
toString() - Method in class org.organicdesign.fp.function.LazyRef
Useful for debugging, but not referentially transparent (sometimes returns LazyRef(*not-computed-yet*), sometimes shows the value that was computed).
toString() - Method in class org.organicdesign.fp.oneOf.OneOf2
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple10
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple11
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple12
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple2
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple3
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple4
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple5
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple6
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple7
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple8
 
toString() - Method in class org.organicdesign.fp.tuple.Tuple9
 
Transformable<T> - Interface in org.organicdesign.fp.xform
Represents transformations to be carried out on a collection.
tup(T, U) - Static method in class org.organicdesign.fp.StaticImports
Returns a new Tuple2 of the given items.
tup(T, U, V) - Static method in class org.organicdesign.fp.StaticImports
Returns a new Tuple3 of the given items.
Tuple10<A,B,C,D,E,F,G,H,I,J> - Class in org.organicdesign.fp.tuple
Holds 10 items of potentially different types.
Tuple10(A, B, C, D, E, F, G, H, I, J) - Constructor for class org.organicdesign.fp.tuple.Tuple10
Constructor is protected (not public) for easy inheritance.
Tuple11<A,B,C,D,E,F,G,H,I,J,K> - Class in org.organicdesign.fp.tuple
Holds 11 items of potentially different types.
Tuple11(A, B, C, D, E, F, G, H, I, J, K) - Constructor for class org.organicdesign.fp.tuple.Tuple11
Constructor is protected (not public) for easy inheritance.
Tuple12<A,B,C,D,E,F,G,H,I,J,K,L> - Class in org.organicdesign.fp.tuple
Holds 12 items of potentially different types.
Tuple12(A, B, C, D, E, F, G, H, I, J, K, L) - Constructor for class org.organicdesign.fp.tuple.Tuple12
Constructor is protected (not public) for easy inheritance.
Tuple2<A,B> - Class in org.organicdesign.fp.tuple
Holds 2 items of potentially different types, and implements Map.Entry (and UnmodMap.UnEntry (there is no ImMap.ImEntry)).
Tuple2(A, B) - Constructor for class org.organicdesign.fp.tuple.Tuple2
Constructor is protected (not public) for easy inheritance.
Tuple3<A,B,C> - Class in org.organicdesign.fp.tuple
Holds 3 items of potentially different types.
Tuple3(A, B, C) - Constructor for class org.organicdesign.fp.tuple.Tuple3
Constructor is protected (not public) for easy inheritance.
Tuple4<A,B,C,D> - Class in org.organicdesign.fp.tuple
Holds 4 items of potentially different types.
Tuple4(A, B, C, D) - Constructor for class org.organicdesign.fp.tuple.Tuple4
Constructor is protected (not public) for easy inheritance.
Tuple5<A,B,C,D,E> - Class in org.organicdesign.fp.tuple
Holds 5 items of potentially different types.
Tuple5(A, B, C, D, E) - Constructor for class org.organicdesign.fp.tuple.Tuple5
Constructor is protected (not public) for easy inheritance.
Tuple6<A,B,C,D,E,F> - Class in org.organicdesign.fp.tuple
Holds 6 items of potentially different types.
Tuple6(A, B, C, D, E, F) - Constructor for class org.organicdesign.fp.tuple.Tuple6
Constructor is protected (not public) for easy inheritance.
Tuple7<A,B,C,D,E,F,G> - Class in org.organicdesign.fp.tuple
Holds 7 items of potentially different types.
Tuple7(A, B, C, D, E, F, G) - Constructor for class org.organicdesign.fp.tuple.Tuple7
Constructor is protected (not public) for easy inheritance.
Tuple8<A,B,C,D,E,F,G,H> - Class in org.organicdesign.fp.tuple
Holds 8 items of potentially different types.
Tuple8(A, B, C, D, E, F, G, H) - Constructor for class org.organicdesign.fp.tuple.Tuple8
Constructor is protected (not public) for easy inheritance.
Tuple9<A,B,C,D,E,F,G,H,I> - Class in org.organicdesign.fp.tuple
Holds 9 items of potentially different types.
Tuple9(A, B, C, D, E, F, G, H, I) - Constructor for class org.organicdesign.fp.tuple.Tuple9
Constructor is protected (not public) for easy inheritance.

U

union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.BaseSet
Returns a new set containing all the items.
union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.ImSet
Returns a new set containing all the items.
union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.ImSortedSet
 
union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.MutableUnsortedSet
Returns a new set containing all the items.
UnmodCollection<E> - Interface in org.organicdesign.fp.collections
Don't implement this interface directly if you don't have to.
UnmodIterable<T> - Interface in org.organicdesign.fp.collections
An unmodifiable Iterable, without any guarantee about order.
UnmodIterable.AbstractUnmodIterable<T> - Class in org.organicdesign.fp.collections
Implements equals and hashCode() methods compatible with all java.util collections (this algorithm is not order-dependent) and toString which takes the name of the sub-class.
UnmodIterator<E> - Interface in org.organicdesign.fp.collections
A one-time use, mutable, not-thread-safe way to get each value of the underling collection in turn.
UnmodIterator.UnIterator - Enum in org.organicdesign.fp.collections
Instead of calling this directly, please use UnmodIterator.emptyUnmodIterator() instead
UnmodList<E> - Interface in org.organicdesign.fp.collections
Formalizes the return type of Collections.unmodifiableList(List), deprecating mutator methods and implementing them to throw exceptions.
UnmodList.AbstractUnmodList<E> - Class in org.organicdesign.fp.collections
Implements equals and hashCode() methods compatible with java.util.List (which ignores order) to make defining unmod lists easier.
UnmodListIterator<E> - Interface in org.organicdesign.fp.collections
An unmodifiable ListIterator
UnmodMap<K,V> - Interface in org.organicdesign.fp.collections
An unmodifiable map.
UnmodMap.AbstractUnmodMap<K,V> - Class in org.organicdesign.fp.collections
Implements equals and hashCode() methods compatible with java.util.Map (which ignores order) to make defining unmod Maps easier.
UnmodMap.UnEntry<K,V> - Interface in org.organicdesign.fp.collections
A map entry (key-value pair).
UnmodMap.UnEntry.EntryToUnEntryIter<K,V> - Class in org.organicdesign.fp.collections
 
UnmodMap.UnEntry.EntryToUnEntrySortedIter<K,V> - Class in org.organicdesign.fp.collections
 
UnmodMap.UnEntry.UnmodKeyIter<K,V> - Class in org.organicdesign.fp.collections
 
UnmodMap.UnEntry.UnmodSortedKeyIter<K,V> - Class in org.organicdesign.fp.collections
 
UnmodMap.UnEntry.UnmodSortedValIter<K,V> - Class in org.organicdesign.fp.collections
 
UnmodMap.UnEntry.UnmodValIter<K,V> - Class in org.organicdesign.fp.collections
 
UnmodSet<E> - Interface in org.organicdesign.fp.collections
An unmodifiable set
UnmodSet.AbstractUnmodSet<T> - Class in org.organicdesign.fp.collections
Implements equals and hashCode() methods compatible with java.util.Set (which ignores order) to make defining unmod sets easier, especially for implementing Map.keySet() and such.
UnmodSortedCollection<E> - Interface in org.organicdesign.fp.collections
 
UnmodSortedIterable<T> - Interface in org.organicdesign.fp.collections
An unmodifiable Iterable, with guaranteed order.
UnmodSortedIterator<E> - Interface in org.organicdesign.fp.collections
This represents an iterator with a guaranteed ordering.
UnmodSortedIterator.Wrapper<E> - Class in org.organicdesign.fp.collections
 
UnmodSortedMap<K,V> - Interface in org.organicdesign.fp.collections
An unmodifiable SortedMap.
UnmodSortedSet<E> - Interface in org.organicdesign.fp.collections
An unmodifiable SortedSet.

V

valueOf(String) - Static method in enum org.organicdesign.fp.collections.ComparisonContext.CompCtx
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.organicdesign.fp.collections.Equator.Comp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.organicdesign.fp.collections.Equator.Equat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.organicdesign.fp.collections.RangeOfInt.Equat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.organicdesign.fp.collections.UnmodIterator.UnIterator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.organicdesign.fp.function.Fn1.BooleanCombiner
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.organicdesign.fp.function.Fn1.ConstObjBool
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.organicdesign.fp.function.Fn1.ConstObjObj
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.organicdesign.fp.collections.ComparisonContext.CompCtx
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.organicdesign.fp.collections.Equator.Comp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.organicdesign.fp.collections.Equator.Equat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.organicdesign.fp.collections.RangeOfInt.Equat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.organicdesign.fp.collections.UnmodIterator.UnIterator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in interface org.organicdesign.fp.collections.UnmodMap
Deprecated.
values() - Method in interface org.organicdesign.fp.collections.UnmodSortedMap
This method is deprecated on UnmodMap because equals() and hashCode() cannot be implemented on the resulting collection, but the guaranteed order of the result in a SortedMap makes this able to return a List.
values() - Static method in enum org.organicdesign.fp.function.Fn1.BooleanCombiner
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.organicdesign.fp.function.Fn1.ConstObjBool
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.organicdesign.fp.function.Fn1.ConstObjObj
Returns an array containing the constants of this enum type, in the order they are declared.
vec(T...) - Static method in class org.organicdesign.fp.StaticImports
Returns a new PersistentVector of the given items.

W

without(K) - Method in interface org.organicdesign.fp.collections.BaseMap
Returns a new map with the given key/value removed
without(E) - Method in interface org.organicdesign.fp.collections.BaseSet
Removes this key from the set
without(K) - Method in interface org.organicdesign.fp.collections.ImMap
Returns a new map with the given key/value removed
without(E) - Method in interface org.organicdesign.fp.collections.ImSet
Removes this key from the set
without(K) - Method in interface org.organicdesign.fp.collections.ImSortedMap
Returns a new map with the given key/value removed
without(E) - Method in interface org.organicdesign.fp.collections.ImSortedSet
Removes this key from the set
without(K) - Method in interface org.organicdesign.fp.collections.MutableUnsortedMap
Returns a new map with the given key/value removed
without(E) - Method in interface org.organicdesign.fp.collections.MutableUnsortedSet
Removes this key from the set
without(K) - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
 
without(K) - Method in class org.organicdesign.fp.collections.PersistentHashMap
 
without(E) - Method in class org.organicdesign.fp.collections.PersistentHashSet.MutableHashSet
 
without(E) - Method in class org.organicdesign.fp.collections.PersistentHashSet
 
without(K) - Method in class org.organicdesign.fp.collections.PersistentTreeMap
Returns a new map with the given key/value removed
without(E) - Method in class org.organicdesign.fp.collections.PersistentTreeSet
Removes this key from the set
without(int) - Method in class org.organicdesign.fp.collections.RrbTree.ImRrbt
Returns a new RrbTree minus the given item (all items to the right are shifted left one) This is O(log n).
without(int) - Method in class org.organicdesign.fp.collections.RrbTree.MutableRrbt
Returns a new RrbTree minus the given item (all items to the right are shifted left one) This is O(log n).
without(int) - Method in class org.organicdesign.fp.collections.RrbTree
Returns a new RrbTree minus the given item (all items to the right are shifted left one) This is O(log n).

X

xform(Iterable<T>) - Static method in class org.organicdesign.fp.StaticImports
If you need to wrap a regular Java collection or other iterable outside this project to perform a transformation on it, this method is the most convenient, efficient way to do so.
Xform<A> - Class in org.organicdesign.fp.xform
An immutable description of operations to be performed (a transformation, transform, or x-form).
Xform.RunList - Class in org.organicdesign.fp.xform
A RunList is a list of Operations "compiled" from an Xform.
xformArray(T...) - Static method in class org.organicdesign.fp.StaticImports
If you need to wrap a regular Java array outside this project to perform a transformation on it, this method is the most convenient, efficient way to do so.

_

_1 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple2
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple2
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple3
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple3
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple4
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple4
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple5
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple5
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple6
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple6
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple7
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple7
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 1st field
_1 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_1() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 1st field
_10 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_10() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 10th field
_10 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_10() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 10th field
_10 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_10() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 10th field
_11 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_11() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 11th field
_11 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_11() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 11th field
_12 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_12() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 12th field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple2
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple2
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple3
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple3
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple4
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple4
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple5
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple5
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple6
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple6
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple7
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple7
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 2nd field
_2 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_2() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 2nd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple3
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple3
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple4
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple4
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple5
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple5
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple6
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple6
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple7
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple7
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 3rd field
_3 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_3() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 3rd field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple4
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple4
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple5
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple5
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple6
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple6
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple7
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple7
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 4th field
_4 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_4() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 4th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 5th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 5th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 5th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple5
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple5
Returns the 5th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple6
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple6
Returns the 5th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple7
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple7
Returns the 5th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 5th field
_5 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_5() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 5th field
_6 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_6() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 6th field
_6 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_6() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 6th field
_6 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_6() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 6th field
_6 - Variable in class org.organicdesign.fp.tuple.Tuple6
 
_6() - Method in class org.organicdesign.fp.tuple.Tuple6
Returns the 6th field
_6 - Variable in class org.organicdesign.fp.tuple.Tuple7
 
_6() - Method in class org.organicdesign.fp.tuple.Tuple7
Returns the 6th field
_6 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_6() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 6th field
_6 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_6() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 6th field
_7 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_7() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 7th field
_7 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_7() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 7th field
_7 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_7() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 7th field
_7 - Variable in class org.organicdesign.fp.tuple.Tuple7
 
_7() - Method in class org.organicdesign.fp.tuple.Tuple7
Returns the 7th field
_7 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_7() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 7th field
_7 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_7() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 7th field
_8 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_8() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 8th field
_8 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_8() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 8th field
_8 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_8() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 8th field
_8 - Variable in class org.organicdesign.fp.tuple.Tuple8
 
_8() - Method in class org.organicdesign.fp.tuple.Tuple8
Returns the 8th field
_8 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_8() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 8th field
_9 - Variable in class org.organicdesign.fp.tuple.Tuple10
 
_9() - Method in class org.organicdesign.fp.tuple.Tuple10
Returns the 9th field
_9 - Variable in class org.organicdesign.fp.tuple.Tuple11
 
_9() - Method in class org.organicdesign.fp.tuple.Tuple11
Returns the 9th field
_9 - Variable in class org.organicdesign.fp.tuple.Tuple12
 
_9() - Method in class org.organicdesign.fp.tuple.Tuple12
Returns the 9th field
_9 - Variable in class org.organicdesign.fp.tuple.Tuple9
 
_9() - Method in class org.organicdesign.fp.tuple.Tuple9
Returns the 9th field
A B C D E F G H I J K L M N O P R S T U V W X _ 
Skip navigation links

Copyright © 2017. All rights reserved.