- 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 variable in interface org.organicdesign.fp.function.Function1
-
Deprecated.
- accept() - Static method in interface org.organicdesign.fp.function.Function1
-
Returns a type-safe version of the ConstBool.ACCEPT predicate.
- accept(T) - Method in interface org.organicdesign.fp.function.Function1
-
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(Function1<S, Boolean>, Function1<S, Boolean>) - Static method in interface org.organicdesign.fp.function.Function1
-
- and(Iterable<Function1<T, Boolean>>) - Static method in interface org.organicdesign.fp.function.Function1
-
Composes multiple predicates into a single predicate to potentially minimize trips through
the source data.
- 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
-
- apply() - Method in interface org.organicdesign.fp.function.Function0
-
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.Function1
-
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.Function2
-
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.Function3
-
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.Function0
-
Implement this one method and you don't have to worry about checked exceptions.
- applyEx() - Method in class org.organicdesign.fp.function.Function0.Constant
-
- applyEx(T) - Method in interface org.organicdesign.fp.function.Function1
-
Implement this one method and you don't have to worry about checked exceptions.
- applyEx(A, B) - Method in interface org.organicdesign.fp.function.Function2
-
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.Function3
-
Implement this one method and you don't have to worry about checked exceptions.
- 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.ImMapTrans
-
Deprecated.
Returns a new map with the given key/value 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.ImUnsortedMap
-
Returns a new map with the given key/value added
- assoc(Map.Entry<K, V>) - Method in interface org.organicdesign.fp.collections.ImUnsortedMap
-
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.
- call() - Method in interface org.organicdesign.fp.function.Function0
- 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<Function1<T, Boolean>>) - Method in enum org.organicdesign.fp.function.Function1.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
Function2.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
Function2.DEFAULT_COMPARATOR (for compatibility with java.util.SortedSet).
- comparator() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- comparator() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- ComparisonContext<T> - Interface in org.organicdesign.fp.collections
-
Implement compare() and hash() and you get a 100% compatible eq() for free.
- ComparisonContext.CompCtx - Enum in org.organicdesign.fp.collections
-
- compose(Iterable<Function1<V, V>>) - Static method in interface org.organicdesign.fp.function.Function1
-
Composes multiple functions into a single function to potentially minimize trips through
the source data.
- compose(Function1<? super S, ? extends T>) - Method in interface org.organicdesign.fp.function.Function1
-
- 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.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 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
-
- constantFunction(K) - Static method in interface org.organicdesign.fp.function.Function0
-
- 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.
- contains(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableCollection
-
- contains(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSet
-
- contains(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- 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.ImMap
-
- containsKey(Object) - Method in interface org.organicdesign.fp.collections.ImSortedMap
-
- containsKey(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- containsKey(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- containsValue(Object) - Method in interface org.organicdesign.fp.collections.UnmodMap
-
Most maps are not designed for this - the default implementation has O(n) performance.
- containsValue(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- containsValue(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- 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 variable in class org.organicdesign.fp.xform.Xform
-
- empty() - Static method in class org.organicdesign.fp.xform.Xform
-
- EMPTY_UNMOD_COLLECTION - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- EMPTY_UNMOD_ITERATOR - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- EMPTY_UNMOD_LIST - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- EMPTY_UNMOD_LIST_ITERATOR - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- EMPTY_UNMOD_MAP - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- EMPTY_UNMOD_SET - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- EMPTY_UNMOD_SORTED_ITERATOR - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- EMPTY_UNMOD_SORTED_SET - Static variable in class org.organicdesign.fp.FunctionUtils
-
Deprecated.
- 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.
- emptyUnmodCollection() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty unmodifiable Collection.
- emptyUnmodIterator() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty unmodifiable iterator.
- emptyUnmodList() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty unmodifiable list.
- emptyUnmodListIterator() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty list iterator.
- emptyUnmodMap() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty unmodifiable map.
- emptyUnmodSet() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty unmodifiable set.
- emptyUnmodSortedIterator() - Static method in class org.organicdesign.fp.FunctionUtils
-
Only use this where Sorted items are called for.
- emptyUnmodSortedMap() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty unmodifiable sorted map.
- emptyUnmodSortedSet() - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an empty unmodifiable sorted set.
- entry(K) - Method in interface org.organicdesign.fp.collections.ImMap
-
- 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.ImMap
-
Returns a view of the mappings contained in this map.
- 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.
- entrySet() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- entryToUnEntry(Map.Entry<K, V>) - Static method in interface org.organicdesign.fp.collections.UnmodMap.UnEntry
-
Deprecated.
- 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.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(UnmodSortedIterable, UnmodSortedIterable) - Static method in interface org.organicdesign.fp.collections.UnmodSortedIterable
-
Deprecated.
- equals(Object) - Method in class org.organicdesign.fp.function.Function0.Constant
-
- equals(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableCollection
-
- equals(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableList
-
- equals(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- equals(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSet
-
- equals(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- equals(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- 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<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 interface org.organicdesign.fp.collections.ImMapTrans
-
Deprecated.
Returns the Equator used by this map for equals comparisons and hashCodes
- equator() - Method in interface org.organicdesign.fp.collections.ImUnsortedMap
-
Returns the Equator used by this map for equals comparisons and hashCodes
- 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
-
- filter(Function1<? super T, Boolean>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
-
Return only the items for which the given predicate returns true.
- filter(Function1<? super T, Boolean>) - Method in interface org.organicdesign.fp.xform.Transformable
-
Return only the items for which the given predicate returns true.
- filter(Function1<? 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.
- first() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- 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.
- firstKey() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- flatMap(Function1<? 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(Function1<? 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(Function1<? super A, Iterable<B>>) - Method in class org.organicdesign.fp.xform.Xform
-
- foldLeft(B, Function2<B, ? super T, B>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
-
Apply the function to each item, accumulating the result in u.
- foldLeft(B, Function2<B, ? super T, B>, Function1<? super B, Boolean>) - 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 foldLeft().
- foldLeft(U, Function2<U, ? super T, U>) - Method in interface org.organicdesign.fp.xform.Transformable
-
Apply the function to each item, accumulating the result in u.
- foldLeft(U, Function2<U, ? super T, U>, Function1<? super U, Boolean>) - 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 foldLeft().
- foldLeft(B, Function2<B, ? super A, B>) - Method in class org.organicdesign.fp.xform.Xform
-
Provides a way to collect the results of the transformation.
- foldLeft(B, Function2<B, ? super A, B>, Function1<? super B, Boolean>) - 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.
- fromXform(Transformable<T>) - Static method in class org.organicdesign.fp.collections.PersistentVector
-
Deprecated.
- Function0<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.
- Function0.Const - Enum in org.organicdesign.fp.function
-
- Function0.Constant<K> - Class in org.organicdesign.fp.function
-
Wraps a value in a constant function.
- Function1<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.
- Function1.BooleanCombiner - Enum in org.organicdesign.fp.function
-
- Function1.Const - Enum in org.organicdesign.fp.function
-
- Function1.ConstBool - Enum in org.organicdesign.fp.function
-
- Function2<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.
- Function3<A,B,C,R> - Interface in org.organicdesign.fp.function
-
A three-argument, exception-safe functional interface.
- FunctionUtils - Class in org.organicdesign.fp
-
A dumping ground for utility functions that aren't useful enough to belong in StaticImports.
- FunctionUtils.UnmodifiableCollection<T> - Class in org.organicdesign.fp
-
Wraps a collection.
- FunctionUtils.UnmodifiableIterator<E> - Class in org.organicdesign.fp
-
Wraps an iterator.
- FunctionUtils.UnmodifiableList<T> - Class in org.organicdesign.fp
-
Wraps a list.
- FunctionUtils.UnmodifiableListIterator<T> - Class in org.organicdesign.fp
-
Wraps a list iterator.
- FunctionUtils.UnmodifiableMap<K,V> - Class in org.organicdesign.fp
-
Wraps a map.
- FunctionUtils.UnmodifiableSet<T> - Class in org.organicdesign.fp
-
Wraps a set.
- FunctionUtils.UnmodifiableSortedIterator<E> - Class in org.organicdesign.fp
-
Wraps an ordered iterator.
- FunctionUtils.UnmodifiableSortedMap<K,V> - Class in org.organicdesign.fp
-
Wraps a sorted map.
- FunctionUtils.UnmodifiableSortedSet<T> - Class in org.organicdesign.fp
-
Wraps a sorted set.
- get(int, E) - Method in interface org.organicdesign.fp.collections.ImList
-
Returns the item at this index.
- get(Object) - Method in interface org.organicdesign.fp.collections.ImMap
-
- 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() - Method in interface org.organicdesign.fp.function.Function0
- get(int) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableList
-
- get(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- get(Object) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- get() - Method in class org.organicdesign.fp.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.
- 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.ImMap
-
- 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.
- IDENTITY - Static variable in interface org.organicdesign.fp.function.Function1
-
Deprecated.
- identity() - Static method in interface org.organicdesign.fp.function.Function1
-
- ImList<E> - Interface in org.organicdesign.fp.collections
-
Holds Immutable "modification" methods that return a new ImList reflecting the modification while
sharing as much data structure with the previous ImList as possible (for performance).
- ImMap<K,V> - Interface in org.organicdesign.fp.collections
-
An immutable map with no guarantees about its ordering.
- ImMapTrans<K,V> - Interface in org.organicdesign.fp.collections
-
Deprecated.
- immutable() - Method in interface org.organicdesign.fp.collections.ImList
-
Returns a immutable version of this mutable list.
- immutable() - Method in interface org.organicdesign.fp.collections.ImMapTrans
-
Deprecated.
Returns a immutable version of this mutable map.
- immutable() - Method in interface org.organicdesign.fp.collections.ImUnsortedMap
-
Returns a immutable version of this (maybe) mutable map.
- immutable() - Method in interface org.organicdesign.fp.collections.ImUnsortedSet
-
Returns a immutable version of this (maybe mutable) set.
- immutable() - Method in class org.organicdesign.fp.collections.PersistentHashMap
-
- immutable() - Method in class org.organicdesign.fp.collections.PersistentHashMap.MutableHashMap
-
- immutable() - Method in class org.organicdesign.fp.collections.PersistentHashSet
-
Returns a this set.
- immutable() - Method in class org.organicdesign.fp.collections.PersistentHashSet.MutableHashSet
-
- immutable() - Method in class org.organicdesign.fp.collections.PersistentVector
-
- immutable() - Method in class org.organicdesign.fp.collections.PersistentVector.MutableVector
-
- ImSet<E> - Interface in org.organicdesign.fp.collections
-
An immutable set interface
- 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
- ImUnsortedMap<K,V> - Interface in org.organicdesign.fp.collections
-
Interface for unsorted (today that probably means "hash") maps.
- ImUnsortedSet<E> - Interface in org.organicdesign.fp.collections
-
The super-interface of PersistentHashSet (excludes TreeSet).
- 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.
- 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).
- isEmpty() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableCollection
-
- isEmpty() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- isEmpty() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSet
-
- isEmpty() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- isEmpty() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- 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 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.FunctionUtils.UnmodifiableCollection
-
- iterator() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableList
-
- iterator() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
A one-time use, mutable, not-thread-safe way to get each value of the underling collection in
turn.
- iterator() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSet
-
- iterator() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- iterator() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- iterator() - Method in class org.organicdesign.fp.xform.Xform
-
- iterator() - Method in class org.organicdesign.fp.xform.Xform.RunList
-
- map(Function1<? 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(Function1<? 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(Function1<? super A, ? extends B>) - Method in class org.organicdesign.fp.xform.Xform
-
- match(Function1<A, R>, Function1<B, R>) - Method in class org.organicdesign.fp.oneOf.OneOf2
-
- match(Function1<T, U>, Function0<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(Function1<T, U>, Function0<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(Function1<T, U>, Function0<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
-
- memoize(Function1<A, B>) - Static method in interface org.organicdesign.fp.function.Function1
-
Use only on pure functions with no side effects.
- memoize(Function2<A, B, Z>) - Static method in interface org.organicdesign.fp.function.Function2
-
Use only on pure functions with no side effects.
- memoize(Function3<A, B, C, Z>) - Static method in interface org.organicdesign.fp.function.Function3
-
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
-
- mutable() - Method in interface org.organicdesign.fp.collections.ImList
-
Returns a mutable list (builder)
- mutable() - Method in interface org.organicdesign.fp.collections.ImMapTrans
-
Deprecated.
- mutable() - Method in interface org.organicdesign.fp.collections.ImUnsortedMap
-
Returns a mutable version of this immutable map.
- mutable() - Method in interface org.organicdesign.fp.collections.ImUnsortedSet
-
Returns a mutable (builder) version of this set that is not thread safe.
- mutable() - Method in interface org.organicdesign.fp.collections.MutableList
-
Just returns this list
- mutable() - Method in interface org.organicdesign.fp.collections.MutableUnsortedMap
-
Returns a mutable version of this immutable map.
- mutable() - Method in interface org.organicdesign.fp.collections.MutableUnsortedSet
-
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.PersistentVector.MutableVector
-
- MutableList<E> - Interface in org.organicdesign.fp.collections
-
You could think of this as a builder for an immutable map.
- 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.
- 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
-
Declare your set as MutableUnsortedSet, call mutable(), build it, then call
mySet = mySet.immutable() without having to declare a new variable.
- mutableVec(T...) - Static method in class org.organicdesign.fp.StaticImports
-
Returns a MutableVector of the given items.
- of(K, V) - Static method in class org.organicdesign.fp.collections.KeyVal
-
Deprecated.
Public static Key/Value factory method
- of(Map.Entry<K, V>) - Static method in class org.organicdesign.fp.collections.KeyVal
-
Deprecated.
Public static Map.Entry factory method
- 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(Function0<T>) - Static method in class org.organicdesign.fp.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(ImUnsortedMap<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(Function1<S, Boolean>, Function1<S, Boolean>) - Static method in interface org.organicdesign.fp.function.Function1
-
- or(Iterable<Function1<T, Boolean>>) - Static method in interface org.organicdesign.fp.function.Function1
-
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 data definition language, and other tools for writing functional Java.
- org.organicdesign.fp.collections - package org.organicdesign.fp.collections
-
Type-safe versions of the immutable Clojure collections, plus unmodifiable and immutable
collection interfaces that extend the java.util collections, deprecating the mutate-in-place
methods (Unmod____) and adding methods that return a new, immutable, modified version of the
collection (Im____).
- org.organicdesign.fp.function - package org.organicdesign.fp.function
-
Exception-friendly functional interfaces named by the number of arguments: Function0, Function1, Function2....
- org.organicdesign.fp.oneOf - package org.organicdesign.fp.oneOf
-
This approximates union types for Java - for when something (e.g.
- 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
-
- 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).
- permutations(List<T>, Function2<? 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
-
- previous() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableListIterator
-
- previousIndex() - Method in interface org.organicdesign.fp.collections.UnmodListIterator
- 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, returning a modified version of the set (leaving the original set unchanged).
- put(E) - Method in interface org.organicdesign.fp.collections.ImUnsortedSet
-
Adds an element, returning a modified version of the set (leaving the original set unchanged).
- put(E) - Method in interface org.organicdesign.fp.collections.MutableUnsortedSet
-
Adds an element, returning a modified version of the set (leaving the original set unchanged).
- 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, returning a modified version of the set (leaving the original set unchanged).
- 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.
- 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 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 iterable.
- size() - Method in class org.organicdesign.fp.collections.RangeOfInt
-
- size() - Method in interface org.organicdesign.fp.collections.Sized
-
Returns the number of items in this iterable.
- size() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableCollection
-
- size() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableList
-
- size() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- size() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSet
-
- size() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- size() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- 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.
- StaticImports - Class in org.organicdesign.fp
-
A mini data definition language composed of 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
- subMap(K, K) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- 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
- subSet(T, T) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- 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
- tailMap(K) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- 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
- tailSet(T) - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- 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(Function1<? super T, Boolean>) - Method in interface org.organicdesign.fp.collections.UnmodIterable
-
Return items from the beginning until the given predicate returns false.
- takeWhile(Function1<? super T, Boolean>) - Method in interface org.organicdesign.fp.xform.Transformable
-
Return items from the beginning until the given predicate returns false.
- takeWhile(Function1<? super A, Boolean>) - Method in class org.organicdesign.fp.xform.Xform
-
- then(Function1<T, Option<U>>) - Method in class org.organicdesign.fp.oneOf.Option.None
-
If this is Some, Apply the given function, else return None.
- then(Function1<T, Option<U>>) - Method in class org.organicdesign.fp.oneOf.Option.Some
-
If this is Some, Apply the given function, else return None.
- then(Function1<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(Function1<? 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>, Function1<? 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(Function1<? 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>, Function1<? 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.KeyVal
-
Deprecated.
- 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.Function0.Constant
-
- toString() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableCollection
-
- toString() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableList
-
- toString() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
- toString() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSet
-
- toString() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedMap
-
- toString() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableSortedSet
-
- toString() - Method in class org.organicdesign.fp.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.
- union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.ImSet
-
- union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.ImSortedSet
-
- union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.ImUnsortedSet
- union(Iterable<? extends E>) - Method in interface org.organicdesign.fp.collections.MutableUnsortedSet
- UnmodCollection<E> - Interface in org.organicdesign.fp.collections
-
Don't implement this interface directly if you don't have to.
- unmodCollection(Collection<T>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given collection.
- 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(Iterator<T>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given iterator.
- UnmodIterator.Wrapper<E> - Class in org.organicdesign.fp.collections
-
Deprecated.
- UnmodList<E> - Interface in org.organicdesign.fp.collections
-
An unmodifiable version of
List
which formalizes the return type of
Collections.unmodifiableList()
- unmodList(List<T>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given list.
- UnmodList.AbstractUnmodList<E> - 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.
- UnmodListIterator<E> - Interface in org.organicdesign.fp.collections
-
An unmodifiable ListIterator
- unmodListIterator(ListIterator<T>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given listIterator.
- UnmodMap<K,V> - Interface in org.organicdesign.fp.collections
-
An unmodifiable map.
- unmodMap(Map<K, V>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given 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(Set<T>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given 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(Iterator<T>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given ordered Iterator.
- UnmodSortedIterator.Wrapper<E> - Class in org.organicdesign.fp.collections
-
- UnmodSortedMap<K,V> - Interface in org.organicdesign.fp.collections
-
An unmodifiable SortedMap.
- unmodSortedMap(SortedMap<K, V>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given sorted map.
- UnmodSortedSet<E> - Interface in org.organicdesign.fp.collections
-
An unmodifiable SortedSet.
- unmodSortedSet(SortedSet<T>) - Static method in class org.organicdesign.fp.FunctionUtils
-
Returns an unmodifiable version of the given set.
- 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.function.Function0.Const
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.organicdesign.fp.function.Function1.BooleanCombiner
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.organicdesign.fp.function.Function1.Const
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.organicdesign.fp.function.Function1.ConstBool
-
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() - 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.Function0.Const
-
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.Function1.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.Function1.Const
-
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.Function1.ConstBool
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.organicdesign.fp.FunctionUtils.UnmodifiableMap
-
Deprecated.
- vec(T...) - Static method in class org.organicdesign.fp.StaticImports
-
Returns a new PersistentVector of the given items.
- without(K) - Method in interface org.organicdesign.fp.collections.ImMap
-
Returns a new map with the given key/value removed
- without(K) - Method in interface org.organicdesign.fp.collections.ImMapTrans
-
Deprecated.
Returns a new map with the given key/value removed
- without(E) - Method in interface org.organicdesign.fp.collections.ImSet
-
Removes the given item, returning a modified version of the set (leaving the original set
unchanged).
- 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 the given item, returning a modified version of the set (leaving the original set
unchanged).
- without(K) - Method in interface org.organicdesign.fp.collections.ImUnsortedMap
-
Returns a new map with the given key/value removed
- without(E) - Method in interface org.organicdesign.fp.collections.ImUnsortedSet
-
Removes the given item, returning a modified version of the set (leaving the original set
unchanged).
- 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 the given item, returning a modified version of the set (leaving the original set
unchanged).
- 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 the given item, returning a modified version of the set (leaving the original set
unchanged).