$ A B C D E F G H I J K L M N O P Q R S T U V W X Z _
All Classes All Packages
All Classes All Packages
All Classes All Packages
$
- $<A,B> - Class in fj.data
-
The constant arrow, for attaching a new name to an existing type.
- $(B) - Constructor for class fj.data.$
A
- a - Variable in class fj.data.Array
- a - Variable in class fj.data.Array.ImmutableProjection
- a - Variable in class fj.data.Either.Left
- a - Variable in class fj.data.Either3.Left
- a - Variable in class fj.data.Eval.Now
- a - Variable in class fj.data.fingertrees.One
- a - Variable in class fj.data.fingertrees.Single
- a - Variable in class fj.data.Option.Some
- a - Variable in class fj.data.Set.Tree
- a - Variable in class fj.parser.Result
- abs - Static variable in class fj.function.BigIntegers
-
Absolute value.
- abs - Static variable in class fj.function.Doubles
-
Absolute value.
- abs - Static variable in class fj.function.Integers
-
Absolute value.
- abs - Static variable in class fj.function.Longs
-
Absolute value.
- absurd() - Method in class fj.Void
-
Since Void values logically don't exist, this witnesses the logical reasoning tool of "ex falso quodlibet".
- accept(A) - Method in interface fj.function.Effect1
- accept(A, B) - Method in interface fj.function.Effect2
- accumapply(Semigroup<E>, Validation<E, F<T, A>>) - Method in class fj.data.Validation
-
Function application on the successful side of this validation, or accumulating the errors on the failing side using the given semigroup should one or more be encountered.
- accumulate() - Method in class fj.data.Validation
- accumulate(Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, $E>, Validation<E, $F>, Validation<E, G>, Validation<E, H>, F8<T, B, C, D, $E, $F, G, H, I>) - Method in class fj.data.Validation
- accumulate(Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, $E>, Validation<E, $F>, Validation<E, G>, F7<T, B, C, D, $E, $F, G, H>) - Method in class fj.data.Validation
- accumulate(Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, $E>, Validation<E, $F>, F6<T, B, C, D, $E, $F, G>) - Method in class fj.data.Validation
- accumulate(Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, $E>, F5<T, B, C, D, $E, $F>) - Method in class fj.data.Validation
- accumulate(Validation<E, B>, Validation<E, C>, Validation<E, D>, F4<T, B, C, D, $E>) - Method in class fj.data.Validation
- accumulate(Validation<E, B>, Validation<E, C>, F3<T, B, C, D>) - Method in class fj.data.Validation
- accumulate(Validation<E, B>, F2<T, B, C>) - Method in class fj.data.Validation
- accumulate(F<T, B>) - Method in class fj.data.Validation
- accumulate(Semigroup<E>, Validation<E, A>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, Validation<E, F$>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, Validation<E, F$>, Validation<E, G>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, Validation<E, F$>, Validation<E, G>, F<T, F<A, F<B, F<C, F<D, F<E$, F<F$, F<G, H>>>>>>>>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, Validation<E, F$>, Validation<E, G>, F8<T, A, B, C, D, E$, F$, G, H>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, Validation<E, F$>, F<T, F<A, F<B, F<C, F<D, F<E$, F<F$, G>>>>>>>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, Validation<E, F$>, F7<T, A, B, C, D, E$, F$, G>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, F<T, F<A, F<B, F<C, F<D, F<E$, F$>>>>>>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, Validation<E, E$>, F6<T, A, B, C, D, E$, F$>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, F<T, F<A, F<B, F<C, F<D, E$>>>>>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, Validation<E, D>, F5<T, A, B, C, D, E$>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, F<T, F<A, F<B, F<C, D>>>>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, Validation<E, C>, F4<T, A, B, C, D>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, F<T, F<A, F<B, C>>>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, Validation<E, B>, F3<T, A, B, C>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, F<T, F<A, B>>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- accumulate(Semigroup<E>, Validation<E, A>, F2<T, A, B>) - Method in class fj.data.Validation
-
Accumulates errors on the failing side of this or any given validation if one or more are encountered, or applies the given function if all succeeded and returns that value on the successful side.
- act(A) - Method in class fj.control.parallel.Actor
-
Pass a message to this actor, applying its side-effect to the message.
- actor - Variable in class fj.control.parallel.Promise
- actor() - Method in class fj.control.parallel.ParModule
-
A first-class constructor of actors.
- actor(Strategy<Unit>, F<A, P1<Unit>>) - Static method in class fj.control.parallel.Actor
-
Creates a new Actor that uses the given parallelization strategy and has the given side-effect.
- actor(Strategy<Unit>, Effect1<A>) - Static method in class fj.control.parallel.Actor
-
Creates a new Actor that uses the given parallelization strategy and has the given side-effect.
- actor(Effect1<A>) - Method in class fj.control.parallel.ParModule
-
Creates a concurrent actor that is guaranteed to process only one message at a time.
- Actor<A> - Class in fj.control.parallel
-
Light weight actors for Java.
- Actor(Strategy<Unit>, F<A, P1<Unit>>) - Constructor for class fj.control.parallel.Actor
- add - Static variable in class fj.data.Natural
-
A function that adds two natural numbers.
- add - Static variable in class fj.function.BigIntegers
-
Curried Integer addition.
- add - Static variable in class fj.function.Doubles
-
Curried Double addition.
- add - Static variable in class fj.function.Integers
-
Curried Integer addition.
- add - Static variable in class fj.function.Longs
-
Curried Long addition.
- add(HPre.HSucc<N>, HPre.HSucc<M>, H) - Static method in class fj.data.hlist.HPre.HAdd
-
The sum of numbers a and b is one greater than the sum of b and the predecessor of a.
- add(HPre.HSucc<N>, HPre.HZero) - Static method in class fj.data.hlist.HPre.HAdd
-
The sum of zero and any other number is that number.
- add(HPre.HZero, HPre.HSucc<N>) - Static method in class fj.data.hlist.HPre.HAdd
-
The sum of zero and any other number is that number.
- add(Natural) - Method in class fj.data.Natural
-
Add two natural numbers together.
- addDigits0(Measured<V, A>, FingerTree<V, Node<V, A>>, Digit<V, A>, Digit<V, A>, FingerTree<V, Node<V, A>>) - Static method in class fj.data.fingertrees.Deep
- addDigits1(Measured<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>, Digit<V, Node<V, A>>, Node<V, A>, Digit<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>) - Static method in class fj.data.fingertrees.Deep
- addDigits2(Measured<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>, Digit<V, Node<V, A>>, Node<V, A>, Node<V, A>, Digit<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>) - Static method in class fj.data.fingertrees.Deep
- addDigits3(Measured<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>, Digit<V, Node<V, A>>, Node<V, A>, Node<V, A>, Node<V, A>, Digit<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>) - Static method in class fj.data.fingertrees.Deep
- addDigits4(Measured<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>, Digit<V, Node<V, A>>, Node<V, A>, Node<V, A>, Node<V, A>, Node<V, A>, Digit<V, Node<V, A>>, FingerTree<V, Node<V, Node<V, A>>>) - Static method in class fj.data.fingertrees.Deep
- all(F<A, Boolean>) - Method in class fj.data.optic.Fold
-
check if all targets satisfy the predicate
- all(F<A, Boolean>) - Method in class fj.data.optic.PTraversal
-
check if all targets satisfy the predicate
- allEqual(Equal<A>) - Method in class fj.data.List
-
Returns whether or not all elements in the list are equal according to the given equality test.
- alpha(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha character.
- alpha(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha character.
- alphaNum(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha-numeric character.
- alphaNum(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha-numeric character.
- always(F0<A>) - Static method in class fj.data.Eval
-
Constructs a lazy evaluation without caching.
- Always(F0<A>) - Constructor for class fj.data.Eval.Always
- and - Static variable in class fj.function.Booleans
-
Curried form of logical "and" (conjunction).
- and(BitSet) - Method in class fj.data.hamt.BitSet
- and(List<Boolean>) - Static method in class fj.function.Booleans
-
Returns true if all the elements of the given list are true.
- and(Stream<Boolean>) - Static method in class fj.function.Booleans
-
Returns true if all the elements of the given stream are true.
- and(F<A, Boolean>, F<A, Boolean>) - Static method in class fj.function.Booleans
-
composes the given predicate using conjunction
- andAll(List<F<A, Boolean>>) - Static method in class fj.function.Booleans
-
Returns a composed predicate of given List of predicates
- andAll(Stream<F<A, Boolean>>) - Static method in class fj.function.Booleans
-
Returns composed predicate
- andThen() - Method in interface fj.F
-
First-class composition flipped.
- andThen() - Static method in class fj.Function
-
Function composition flipped.
- andThen(F<A, B>, F<B, C>) - Static method in class fj.Function
-
Function composition flipped.
- andThen(F<B, C>) - Method in class fj.data.Reader
- andThen(F<B, C>) - Method in interface fj.F
-
Function composition flipped.
- andThen(F<Unit, B>) - Method in interface fj.function.Effect1
- anyEqual() - Static method in class fj.Equal
-
Returns an equal instance that uses the
Object.equals(Object)
method to test for equality. - anyHash() - Static method in class fj.Hash
-
A hash that uses
Object.hashCode()
. - anyShow() - Static method in class fj.Show
-
Returns a show instance that uses
Object.toString()
to perform the display rendering. - append - Variable in class fj.data.hlist.HList.HAppend
- append() - Static method in class fj.data.hlist.HList.Apply
-
A function application operator for concatenating heterogeneous lists.
- append() - Static method in class fj.data.hlist.HList.HAppend
-
Returns a method for concatenating lists to the empty list.
- append(A, A) - Method in interface fj.Monoid.AltDefinition
- append(A, A) - Method in interface fj.Ord.Definition
- append(A, A) - Method in interface fj.Semigroup.AltDefinition
- append(A, A) - Method in interface fj.Semigroup.Definition
- append(A, B) - Method in class fj.data.hlist.HList.HAppend
-
Append a given heterogeneous list to another.
- append(C) - Method in class fj.P2
- append(D) - Method in class fj.P3
- append(E) - Method in class fj.P4
- append(F) - Method in class fj.P5
- append(Array<A>) - Method in class fj.data.Array
-
Appends the given array to this array.
- append(Array<A>) - Method in class fj.data.Array.ImmutableProjection
-
Appends the given array to this array.
- append(DList<A>) - Method in class fj.data.DList
-
Appends two DLists together to produce a new DList.
- append(FingerTree<V, A>) - Method in class fj.data.fingertrees.Deep
- append(FingerTree<V, A>) - Method in class fj.data.fingertrees.Empty
- append(FingerTree<V, A>) - Method in class fj.data.fingertrees.FingerTree
-
Appends one finger tree to another.
- append(FingerTree<V, A>) - Method in class fj.data.fingertrees.Single
- append(IO<A>, IO<B>) - Static method in class fj.data.IOFunctions
- append(IO<B>) - Method in interface fj.data.IO
- append(LazyString) - Method in class fj.data.LazyString
-
Appends the given lazy string to the end of this lazy string.
- append(List<A>) - Method in class fj.data.List
-
Appends the given list to this list.
- append(List<A>) - Method in class fj.data.List.Buffer
-
Appends the given list to this buffer.
- append(List<A>) - Method in class fj.data.NonEmptyList
-
Appends the given list to this list.
- append(NonEmptyList<A>) - Method in class fj.data.NonEmptyList
-
Appends the given list to this list.
- append(Seq<A>) - Method in class fj.data.Seq
-
Appends the given sequence to this sequence.
- append(Stream<A>) - Method in class fj.data.Stream
-
Appends the given stream to this stream.
- append(F0<Stream<A>>) - Method in class fj.data.Stream
-
Appends the given stream to this stream.
- append(P2<C, D>) - Method in class fj.P2
- append(P2<D, E>) - Method in class fj.P3
- append(P2<E, F>) - Method in class fj.P4
- append(P2<F, G>) - Method in class fj.P5
- append(P2<G, H>) - Method in class fj.P6
- append(P3<C, D, E>) - Method in class fj.P2
- append(P3<D, E, F>) - Method in class fj.P3
- append(P3<E, F, G>) - Method in class fj.P4
- append(P3<F, G, H>) - Method in class fj.P5
- append(P4<C, D, E, F>) - Method in class fj.P2
- append(P4<D, E, F, G>) - Method in class fj.P3
- append(P4<E, F, G, H>) - Method in class fj.P4
- append(P5<C, D, E, F, G>) - Method in class fj.P2
- append(P5<D, E, F, G, H>) - Method in class fj.P3
- append(P6<C, D, E, F, G, H>) - Method in class fj.P2
- append(G) - Method in class fj.P6
- append(H) - Static method in class fj.data.hlist.HList.HAppend
-
Returns a method for appending lists to a nonempty heterogeneous list.
- append(H) - Method in class fj.P7
- append(String) - Method in class fj.data.LazyString
-
Appends the given String to the end of this lazy string.
- append1(Measured<V, A>, FingerTree<V, Node<V, A>>, Node<V, A>, FingerTree<V, Node<V, A>>) - Static method in class fj.data.fingertrees.Deep
- append2(Measured<V, A>, FingerTree<V, Node<V, A>>, Node<V, A>, Node<V, A>, FingerTree<V, Node<V, A>>) - Static method in class fj.data.fingertrees.Deep
- append3(Measured<V, A>, FingerTree<V, Node<V, A>>, Node<V, A>, Node<V, A>, Node<V, A>, FingerTree<V, Node<V, A>>) - Static method in class fj.data.fingertrees.Deep
- append4(Measured<V, A>, FingerTree<V, Node<V, A>>, Node<V, A>, Node<V, A>, Node<V, A>, Node<V, A>, FingerTree<V, Node<V, A>>) - Static method in class fj.data.fingertrees.Deep
- appendFn - Variable in class fj.data.DList
- apply() - Method in interface fj.F
-
First-class function application in an environment.
- apply(A) - Method in interface fj.F
- apply(A) - Static method in class fj.Function
-
Function application with the arguments flipped.
- apply(A) - Method in interface fj.function.Effect1
- apply(A, B) - Method in interface fj.F2
- apply(F$, A) - Method in class fj.data.hlist.HList.Apply
- apply(Promise<F<A, B>>) - Method in class fj.control.parallel.Promise
-
Performs function application within a promise (applicative functor pattern).
- apply(Trampoline<F<A, B>>) - Method in class fj.control.Trampoline
-
Performs function application within a Trampoline (applicative functor pattern).
- apply(Array<F<A, B>>) - Method in class fj.data.Array
-
Performs function application within an array (applicative functor pattern).
- apply(Array<F<A, B>>) - Method in class fj.data.Array.ImmutableProjection
-
Performs function application within an array (applicative functor pattern).
- apply(Either<A, F<B, X>>) - Method in class fj.data.Either.RightProjection
-
Function application on this projection's value.
- apply(Either<F<A, X>, B>) - Method in class fj.data.Either.LeftProjection
-
Function application on this projection's value.
- apply(Either3<A, B, F<C, X>>) - Method in class fj.data.Either3.RightProjection
- apply(Either3<A, F<B, X>, C>) - Method in class fj.data.Either3.MiddleProjection
- apply(Either3<F<A, X>, B, C>) - Method in class fj.data.Either3.LeftProjection
- apply(IO<A>, IO<F<A, B>>) - Static method in class fj.data.IOFunctions
- apply(List<F<A, B>>) - Method in class fj.data.List
-
Performs function application within a list (applicative functor pattern).
- apply(Option<F<A, B>>) - Method in class fj.data.Option
-
Performs function application within an optional value (applicative functor pattern).
- apply(Stream<F<A, B>>) - Method in class fj.data.Stream
-
Performs function application within a stream (applicative functor pattern).
- apply(Validation<E, F<T, A>>) - Method in class fj.data.Validation
-
Function application on the success value.
- apply(Validation<F<E, A>, T>) - Method in class fj.data.Validation.FailProjection
-
Function application on the failing value.
- apply(V2<F<A, B>>) - Method in class fj.data.vector.V2
-
Performs function application within a vector (applicative functor pattern).
- apply(V3<F<A, B>>) - Method in class fj.data.vector.V3
-
Performs function application within a vector (applicative functor pattern).
- apply(V4<F<A, B>>) - Method in class fj.data.vector.V4
-
Performs function application within a vector (applicative functor pattern).
- apply(V5<F<A, B>>) - Method in class fj.data.vector.V5
-
Performs function application within a vector (applicative functor pattern).
- apply(V6<F<A, B>>) - Method in class fj.data.vector.V6
-
Performs function application within a vector (applicative functor pattern).
- apply(V7<F<A, B>>) - Method in class fj.data.vector.V7
-
Performs function application within a vector (applicative functor pattern).
- apply(V8<F<A, B>>) - Method in class fj.data.vector.V8
-
Performs function application within a vector (applicative functor pattern).
- apply(F<A, F<B, C>>) - Method in interface fj.F
-
Function application in an environment (Applicative Functor).
- apply(F<C, F<A, B>>, F<C, A>) - Static method in class fj.Function
-
Performs function application within a higher-order function (applicative functor pattern).
- apply(F0<Z>, F0<F<E, Z>>, F0<Z>) - Method in class fj.data.Iteratee.Input
- apply(F2<C, A, B>, F<C, A>) - Static method in class fj.Function
-
Performs function application within a higher-order function (applicative functor pattern).
- apply(P1<F<A, B>>) - Method in class fj.P1
-
Performs function application within a P1 (applicative functor pattern).
- apply(Parser<I, F<A, B>, E>) - Method in class fj.parser.Parser
-
Performs function application within a parser.
- apply(Iterable<F<A, B>>) - Method in class fj.data.IterableW
-
Performs function application within an iterable (applicative functor pattern).
- apply(Callable<A>, Callable<F<A, B>>) - Static method in class fj.control.parallel.Callables
-
Performs function application within a callable (applicative functor pattern).
- Apply() - Constructor for class fj.data.hlist.HList.Apply
- array() - Method in class fj.data.Array
-
Returns a copy of the underlying primitive array.
- array(int, E...) - Static method in class fj.data.Java
- array(A...) - Static method in class fj.data.Array
-
Constructs an array from the given elements.
- array(Class<A[]>) - Method in class fj.data.Array
-
Returns a copy of the underlying primitive array.
- array(Class<A[]>) - Method in class fj.data.List
-
Returns an array from this list.
- array(Class<A[]>) - Method in class fj.data.Option
-
Returns an array from this optional value.
- array(Class<A[]>) - Method in class fj.data.Stream
-
Returns an array from this stream.
- Array<A> - Class in fj.data
-
Provides an interface to arrays.
- Array(Object[]) - Constructor for class fj.data.Array
- Array_ArrayBlockingQueue(boolean) - Static method in class fj.data.Java
-
A function that converts arrays to array blocking queues.
- Array_ArrayList() - Static method in class fj.data.Java
-
A function that converts arrays to array lists.
- Array_BitSet - Static variable in class fj.data.Java
-
A function that converts arrays to bit sets.
- Array_ConcurrentLinkedQueue() - Static method in class fj.data.Java
-
A function that converts arrays to concurrent linked queues.
- Array_CopyOnWriteArrayList() - Static method in class fj.data.Java
-
A function that converts arrays to copy on write array lists.
- Array_CopyOnWriteArraySet() - Static method in class fj.data.Java
-
A function that converts arrays to copy on write array sets.
- Array_DelayQueue() - Static method in class fj.data.Java
-
A function that converts arrays to delay queues.
- Array_Either() - Static method in class fj.data.Conversions
-
A function that converts arrays to eithers.
- Array_EnumSet() - Static method in class fj.data.Java
-
A function that converts arrays to enum sets.
- Array_HashSet() - Static method in class fj.data.Java
-
A function that converts arrays to hash sets.
- Array_LinkedBlockingQueue() - Static method in class fj.data.Java
-
A function that converts arrays to linked blocking queues.
- Array_LinkedHashSet() - Static method in class fj.data.Java
-
A function that converts arrays to linked hash sets.
- Array_LinkedList() - Static method in class fj.data.Java
-
A function that converts arrays to linked lists.
- Array_List() - Static method in class fj.data.Conversions
-
A function that converts arrays to lists.
- Array_Option() - Static method in class fj.data.Conversions
-
A function that converts arrays to options.
- Array_PriorityBlockingQueue() - Static method in class fj.data.Java
-
A function that converts arrays to priority blocking queues.
- Array_PriorityQueue() - Static method in class fj.data.Java
-
A function that converts arrays to priority queues.
- Array_Stack() - Static method in class fj.data.Java
-
A function that converts arrays to stacks.
- Array_Stream() - Static method in class fj.data.Conversions
-
A function that converts arrays to streams.
- Array_String - Static variable in class fj.data.Conversions
-
A function that converts arrays to strings.
- Array_StringBuffer - Static variable in class fj.data.Conversions
-
A function that converts arrays to string buffers.
- Array_StringBuilder - Static variable in class fj.data.Conversions
-
A function that converts arrays to string builders.
- Array_SynchronousQueue(boolean) - Static method in class fj.data.Java
-
A function that converts arrays to synchronous queues.
- Array_TreeSet() - Static method in class fj.data.Java
-
A function that converts arrays to tree sets.
- Array_Vector() - Static method in class fj.data.Java
-
A function that converts arrays to vectors.
- Array.ImmutableProjection<A> - Class in fj.data
-
Projects an array by providing only operations which do not mutate.
- arrayArray(A...) - Static method in class fj.data.Array
-
Returns a copy of the underlying primitive array.
- ArrayBlockingQueue_List() - Static method in class fj.data.Java
-
A function that converts array blocking queues to lists.
- arrayDList(A...) - Static method in class fj.data.DList
-
Creates a DList from an array
- arrayEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
Array
type. - arrayHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
Array
type. - arrayHashMap(Equal<K>, Hash<K>, P2<K, V>...) - Static method in class fj.data.HashMap
-
Converts the array to a HashMap
- arrayHashMap(P2<K, V>...) - Static method in class fj.data.HashMap
-
Converts the array to a HashMap
- arrayHashSet(A...) - Static method in class fj.data.HashSet
-
Create a HashSet from the array.
- arrayHashSet(Equal<A>, Hash<A>, A...) - Static method in class fj.data.HashSet
-
Create a HashSet from the array.
- arrayK() - Method in interface fj.F
-
Promotes this function so that it returns its result in a Array.
- arrayList(A...) - Static method in class fj.data.List
-
Constructs a list from the given elements.
- ArrayList_List() - Static method in class fj.data.Java
-
A function that converts array lists to lists.
- arrayM() - Method in interface fj.F2
-
Promotes this function to a function on Arrays.
- arrayMonoid() - Static method in class fj.Monoid
-
A monoid for arrays.
- arrayOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
Array
type. - arraySemigroup() - Static method in class fj.Semigroup
-
A semigroup for arrays.
- arraySeq(A...) - Static method in class fj.data.Seq
-
Constructs a sequence from the array.
- arraySet(Ord<A>, A...) - Static method in class fj.data.Set
-
Return the elements of the given iterator as a set.
- arrayShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Array
type. - arrayStream(A...) - Static method in class fj.data.Stream
- arrayTreeMap(Ord<K>, P2<K, V>...) - Static method in class fj.data.TreeMap
-
Constructs a tree map from the given elements.
- arrow() - Static method in class fj.control.parallel.Callables
-
Provides a transformation from a function to a Callable-valued function that is equivalent to it.
- arrow() - Static method in class fj.data.IterableW
-
Provides a transformation from a function to a Iterable-valued function that is equivalent to it.
- as - Variable in class fj.data.fingertrees.Four
- as - Variable in class fj.data.fingertrees.Node2
- as - Variable in class fj.data.fingertrees.Node3
- as - Variable in class fj.data.fingertrees.Three
- as - Variable in class fj.data.fingertrees.Two
- as(IO<A>, B) - Static method in class fj.data.IOFunctions
- asFold() - Method in class fj.data.optic.Getter
- asFold() - Method in class fj.data.optic.PIso
- asFold() - Method in class fj.data.optic.PLens
- asFold() - Method in class fj.data.optic.POptional
- asFold() - Method in class fj.data.optic.PPrism
- asFold() - Method in class fj.data.optic.PTraversal
-
view a
PTraversal
as aFold
- asFunction() - Method in class fj.control.db.DB
-
Returns the callable-valued function projection of this database action.
- asGetter() - Method in class fj.data.optic.PIso
- asGetter() - Method in class fj.data.optic.PLens
- asJavaList() - Method in class fj.data.Array
-
Projects an unmodifiable list view of this array.
- asLens() - Method in class fj.data.optic.Iso
- asLens() - Method in class fj.data.optic.PIso
- asOptional() - Method in class fj.data.optic.Iso
- asOptional() - Method in class fj.data.optic.Lens
- asOptional() - Method in class fj.data.optic.PIso
- asOptional() - Method in class fj.data.optic.PLens
- asOptional() - Method in class fj.data.optic.PPrism
- asOptional() - Method in class fj.data.optic.Prism
- asPrism() - Method in class fj.data.optic.Iso
- asPrism() - Method in class fj.data.optic.PIso
- asSetter() - Method in class fj.data.optic.Iso
- asSetter() - Method in class fj.data.optic.Lens
- asSetter() - Method in class fj.data.optic.Optional
- asSetter() - Method in class fj.data.optic.PIso
- asSetter() - Method in class fj.data.optic.PLens
- asSetter() - Method in class fj.data.optic.POptional
- asSetter() - Method in class fj.data.optic.PPrism
- asSetter() - Method in class fj.data.optic.Prism
- asSetter() - Method in class fj.data.optic.PTraversal
-
view a
PTraversal
as aPSetter
- asSetter() - Method in class fj.data.optic.Traversal
- association(List<P2<A, B>>, Equal<A>) - Static method in class fj.function.Visitor
-
Uses an association list to perform a lookup with equality and returns a function that can be applied to a default, followed by the associated key to return a value.
- associationLazy(List<P2<A, B>>, Equal<A>) - Static method in class fj.function.Visitor
-
Uses an association list to perform a lookup with equality and returns a function that can be applied to a default, followed by the associated key to return a value.
- asString() - Method in class fj.data.hamt.BitSet
- asString() - Static method in class fj.data.List
-
A first-class
asString
. - asString(List<Character>) - Static method in class fj.data.List
-
Returns a string from the given list of characters.
- asString(Stream<Character>) - Static method in class fj.data.Stream
-
Returns a string from the given stream of characters.
- asTrampoline() - Method in class fj.data.Eval.Always
- asTrampoline() - Method in class fj.data.Eval
-
Transforms the current instance into a trampoline instance.
- asTrampoline() - Method in class fj.data.Eval.Later
- asTrampoline() - Method in class fj.data.Eval.Now
- asTrampoline() - Method in class fj.data.Eval.TrampolineEval
- asTraversal() - Method in class fj.data.optic.Iso
- asTraversal() - Method in class fj.data.optic.Lens
- asTraversal() - Method in class fj.data.optic.Optional
- asTraversal() - Method in class fj.data.optic.PIso
-
view a
PIso
as aPTraversal
- asTraversal() - Method in class fj.data.optic.PLens
-
view a
PLens
as aPTraversal
- asTraversal() - Method in class fj.data.optic.POptional
-
view a
POptional
as aPTraversal
- asTraversal() - Method in class fj.data.optic.PPrism
-
view a
PPrism
as aPTraversal
- asTraversal() - Method in class fj.data.optic.Prism
- atEnd() - Method in class fj.data.Zipper
-
Returns whether the focus is on the last element.
- atStart() - Method in class fj.data.Zipper
-
Returns whether the focus is on the first element.
B
- b - Variable in class fj.data.$
- b - Variable in class fj.data.Either.Right
- b - Variable in class fj.data.Either3.Middle
- b - Variable in class fj.data.Set.Tree
- B - fj.data.Set.Color
- balance(Ord<A>, Set.Color, Set<A>, A, Set<A>) - Static method in class fj.data.Set
- BASE_LONG - Static variable in class fj.data.hamt.BitSet
- BiFunction_F2() - Static method in class fj.data.Java8
- BiFunction_F2(BiFunction<A, B, C>) - Static method in class fj.data.Java8
- bigdecimalAdditionMonoid - Static variable in class fj.Monoid
-
A monoid that adds big decimals.
- bigdecimalAdditionSemigroup - Static variable in class fj.Semigroup
-
A semigroup that adds big decimals.
- bigdecimalEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
BigDecimal
. - bigdecimalEqual - Static variable in class fj.Equal
-
An equal instance for the
BigDecimal
type. - bigdecimalHash - Static variable in class fj.Hash
-
A hash instance for the
BigDecimal
type. - bigDecimalMaximumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the maximum of big decimals.
- bigDecimalMinimumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the minimum of big decimals.
- bigdecimalMultiplicationMonoid - Static variable in class fj.Monoid
-
A monoid that multiplies big decimals.
- bigdecimalMultiplicationSemigroup - Static variable in class fj.Semigroup
-
A semigroup that multiplies big decimals.
- bigdecimalOrd - Static variable in class fj.Ord
-
An order instance for the
BigDecimal
type. - bigdecimalShow - Static variable in class fj.Show
-
A show instance for the
BigDecimal
type. - bigintAdditionMonoid - Static variable in class fj.Monoid
-
A monoid that adds big integers.
- bigintAdditionSemigroup - Static variable in class fj.Semigroup
-
A semigroup that adds big integers.
- BigIntegers - Class in fj.function
-
Curried functions over Integers.
- BigIntegers() - Constructor for class fj.function.BigIntegers
- bigIntegerValue - Static variable in class fj.data.Natural
-
A function that returns the BigInteger value of a given Natural.
- bigIntegerValue() - Method in class fj.data.Natural
-
Return the BigInteger value of this natural number.
- bigintEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
BigInteger
. - bigintEqual - Static variable in class fj.Equal
-
An equal instance for the
BigInteger
type. - bigintHash - Static variable in class fj.Hash
-
A hash instance for the
BigInteger
type. - bigintMaximumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the maximum of big integers.
- bigintMinimumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the minimum of big integers.
- bigintMultiplicationMonoid - Static variable in class fj.Monoid
-
A monoid that multiplies big integers.
- bigintMultiplicationSemigroup - Static variable in class fj.Semigroup
-
A semigroup that multiplies big integers.
- bigintOrd - Static variable in class fj.Ord
-
An order instance for the
BigInteger
type. - bigintShow - Static variable in class fj.Show
-
A show instance for the
BigInteger
type. - bimap() - Method in class fj.parser.Result
-
First-class bifunctor map.
- bimap(F<A, X>, F<B, Y>) - Method in class fj.data.Either
-
Map the given functions across the appropriate side.
- bimap(F<I, J>, F<A, B>) - Method in class fj.parser.Result
-
A bifunctor map across both the remainder of the parse input and the parse value.
- bind() - Static method in class fj.data.IterableW
-
The first-class bind function over Iterable.
- bind() - Static method in class fj.data.Option
-
First-class bind function.
- bind() - Method in interface fj.F
-
First-class function binding.
- bind(Promise<B>, F<A, F<B, C>>) - Method in class fj.control.parallel.Promise
-
Binds the given function to this promise and the given promise, with a final join.
- bind(Trampoline<B>, F<A, F<B, C>>) - Method in class fj.control.Trampoline
-
Binds the given function across the result of this Trampoline and the given Trampoline.
- bind(Array<B>, F<A, F<B, C>>) - Method in class fj.data.Array
-
Binds the given function across each element of this array and the given array with a final join.
- bind(Array<B>, F2<A, B, C>) - Method in class fj.data.Array
-
Binds the given function across each element of this array and the given array with a final join.
- bind(IO<A>, F<A, IO<B>>) - Static method in class fj.data.IOFunctions
- bind(List<B>, List<C>, List<D>, List<E>, List<F$>, List<G>, List<H>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, I>>>>>>>>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given lists with a final join.
- bind(List<B>, List<C>, List<D>, List<E>, List<F$>, List<G>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, H>>>>>>>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given lists with a final join.
- bind(List<B>, List<C>, List<D>, List<E>, List<F$>, F<A, F<B, F<C, F<D, F<E, F<F$, G>>>>>>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given lists with a final join.
- bind(List<B>, List<C>, List<D>, List<E>, F<A, F<B, F<C, F<D, F<E, F$>>>>>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given lists with a final join.
- bind(List<B>, List<C>, List<D>, F<A, F<B, F<C, F<D, E>>>>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given lists with a final join.
- bind(List<B>, List<C>, F<A, F<B, F<C, D>>>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given lists with a final join.
- bind(List<B>, F<A, F<B, C>>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given list with a final join.
- bind(List<B>, F2<A, B, C>) - Method in class fj.data.List
-
Binds the given function across each element of this list and the given list with a final join.
- bind(Option<B>, Option<C>, Option<D>, Option<E>, Option<F$>, Option<G>, Option<H>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, I>>>>>>>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value and the given optional value with a final join.
- bind(Option<B>, Option<C>, Option<D>, Option<E>, Option<F$>, Option<G>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, H>>>>>>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value and the given optional value with a final join.
- bind(Option<B>, Option<C>, Option<D>, Option<E>, Option<F$>, F<A, F<B, F<C, F<D, F<E, F<F$, G>>>>>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value and the given optional value with a final join.
- bind(Option<B>, Option<C>, Option<D>, Option<E>, F<A, F<B, F<C, F<D, F<E, F$>>>>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value and the given optional value with a final join.
- bind(Option<B>, Option<C>, Option<D>, F<A, F<B, F<C, F<D, E>>>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value and the given optional value with a final join.
- bind(Option<B>, Option<C>, F<A, F<B, F<C, D>>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value and the given optional value with a final join.
- bind(Option<B>, F<A, F<B, C>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value and the given optional value with a final join.
- bind(Stream<B>, Stream<C>, Stream<D>, Stream<E>, Stream<F$>, Stream<G>, Stream<H>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, I>>>>>>>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given streams with a final join.
- bind(Stream<B>, Stream<C>, Stream<D>, Stream<E>, Stream<F$>, Stream<G>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, H>>>>>>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given streams with a final join.
- bind(Stream<B>, Stream<C>, Stream<D>, Stream<E>, Stream<F$>, F<A, F<B, F<C, F<D, F<E, F<F$, G>>>>>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given streams with a final join.
- bind(Stream<B>, Stream<C>, Stream<D>, Stream<E>, F<A, F<B, F<C, F<D, F<E, F$>>>>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given streams with a final join.
- bind(Stream<B>, Stream<C>, Stream<D>, F<A, F<B, F<C, F<D, E>>>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given streams with a final join.
- bind(Stream<B>, Stream<C>, F<A, F<B, F<C, D>>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given streams with a final join.
- bind(Stream<B>, F<A, F<B, C>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given stream with a final join.
- bind(Stream<B>, F2<A, B, C>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream and the given stream with a final join.
- bind(F<A, DB<B>>) - Method in class fj.control.db.DB
-
Binds the given action across the result of this database action.
- bind(F<A, Promise<B>>) - Method in class fj.control.parallel.Promise
-
Binds the given function over this promise, with a final join.
- bind(F<A, Trampoline<B>>) - Method in class fj.control.Trampoline
-
Binds the given continuation to the result of this trampoline.
- bind(F<A, Trampoline<B>>) - Method in class fj.control.Trampoline.Codense
- bind(F<A, Trampoline<B>>) - Method in class fj.control.Trampoline.Normal
- bind(F<A, Array<B>>) - Method in class fj.data.Array
-
Binds the given function across each element of this array with a final join.
- bind(F<A, Array<B>>) - Method in class fj.data.Array.ImmutableProjection
-
Binds the given function across each element of this array with a final join.
- bind(F<A, Either<X, B>>) - Method in class fj.data.Either.LeftProjection
-
Binds the given function across this projection's value if it has one.
- bind(F<A, Either3<X, B, C>>) - Method in class fj.data.Either3.LeftProjection
- bind(F<A, Eval<B>>) - Method in class fj.data.Eval
- bind(F<A, IO<B>>) - Method in interface fj.data.IO
- bind(F<A, Iteratee.IterV<E, B>>) - Method in class fj.data.Iteratee.IterV
-
TODO more documentation
- bind(F<A, List<B>>) - Method in class fj.data.List
-
Binds the given function across each element of this list with a final join.
- bind(F<A, NonEmptyList<B>>) - Method in class fj.data.NonEmptyList
-
Binds the given function across each element of this list with a final join.
- bind(F<A, Option<B>>) - Method in class fj.data.Option
-
Binds the given function across the element of this optional value with a final join.
- bind(F<A, Seq<B>>) - Method in class fj.data.Seq
-
Bind the given function across this seq.
- bind(F<A, State<S, B>>) - Method in class fj.data.State
-
Bind the given function across this state.
- bind(F<A, Stream<B>>) - Method in class fj.data.Stream
-
Binds the given function across each element of this stream with a final join.
- bind(F<A, P1<B>>) - Method in class fj.P1
-
Binds the given function to the value in a product-1 with a final join.
- bind(F<A, Parser<I, B, E>>) - Method in class fj.parser.Parser
-
Binds the given function across the parser with a final join.
- bind(F<A, T>) - Method in class fj.data.IterableW
-
Binds the given function across the wrapped Iterable with a final join.
- bind(F<B, Either<A, X>>) - Method in class fj.data.Either.RightProjection
-
Binds the given function across this projection's value if it has one.
- bind(F<B, Either3<A, X, C>>) - Method in class fj.data.Either3.MiddleProjection
- bind(F<B, Reader<A, C>>) - Method in class fj.data.Reader
- bind(F<B, F<A, C>>) - Method in interface fj.F
-
Binds a given function across this function (Reader Monad).
- bind(F<C, A>, F<A, F<C, B>>) - Static method in class fj.Function
-
Binds the function in the second argument to the function in the first argument.
- bind(F<C, Either3<A, B, X>>) - Method in class fj.data.Either3.RightProjection
- bind(F<D, A>, F<D, B>, F<A, F<B, C>>) - Static method in class fj.Function
-
Binds the given function f to the values of the given functions, with a final join.
- bind(F<E, Validation<A, T>>) - Method in class fj.data.Validation.FailProjection
-
Binds the given function across this validation's failing value if it has one.
- bind(F<Unit, F<A, C>>) - Method in interface fj.function.Effect1
- bind(F<Character, LazyString>) - Method in class fj.data.LazyString
- bind(F<T, Validation<E, A>>) - Method in class fj.data.Validation
-
Binds the given function across this validation's success value if it has one.
- bind(Ord<B>, F<A, Set<B>>) - Method in class fj.data.Set
-
Binds the given function across this set.
- bind(P1<B>, F<A, F<B, C>>) - Method in class fj.P1
-
Binds the given function to the values in the given P1s with a final join.
- bind(P1<B>, F2<A, B, C>) - Method in class fj.P1
-
Binds the given function to the values in the given P1s with a final join.
- bind(P1<Promise<B>>, F<A, F<B, C>>) - Method in class fj.control.parallel.Promise
-
Binds the given function to this promise and the given promise, with a final join.
- bind(Parser<I, B, E>, F<A, F<B, C>>) - Method in class fj.parser.Parser
-
Binds the given function across the parsers with a final join.
- bind(Parser<I, B, E>, Parser<I, C, E>, F<A, F<B, F<C, D>>>) - Method in class fj.parser.Parser
-
Binds the given function across the parsers with a final join.
- bind(Parser<I, B, E>, Parser<I, C, E>, Parser<I, D, E>, F<A, F<B, F<C, F<D, E$>>>>) - Method in class fj.parser.Parser
-
Binds the given function across the parsers with a final join.
- bind(Parser<I, B, E>, Parser<I, C, E>, Parser<I, D, E>, Parser<I, E$, E>, F<A, F<B, F<C, F<D, F<E$, F$>>>>>) - Method in class fj.parser.Parser
-
Binds the given function across the parsers with a final join.
- bind(Parser<I, B, E>, Parser<I, C, E>, Parser<I, D, E>, Parser<I, E$, E>, Parser<I, F$, E>, F<A, F<B, F<C, F<D, F<E$, F<F$, G>>>>>>) - Method in class fj.parser.Parser
-
Binds the given function across the parsers with a final join.
- bind(Parser<I, B, E>, Parser<I, C, E>, Parser<I, D, E>, Parser<I, E$, E>, Parser<I, F$, E>, Parser<I, G, E>, F<A, F<B, F<C, F<D, F<E$, F<F$, F<G, H>>>>>>>) - Method in class fj.parser.Parser
-
Binds the given function across the parsers with a final join.
- bind(Parser<I, B, E>, Parser<I, C, E>, Parser<I, D, E>, Parser<I, E$, E>, Parser<I, F$, E>, Parser<I, G, E>, Parser<I, H, E>, F<A, F<B, F<C, F<D, F<E$, F<F$, F<G, F<H, I$>>>>>>>>) - Method in class fj.parser.Parser
-
Binds the given function across the parsers with a final join.
- bind(Iterable<A>, Iterable<B>, F<A, F<B, C>>) - Static method in class fj.data.IterableW
-
Binds the given function to the values in the given iterables with a final join.
- bind(Callable<A>, F<A, Callable<B>>) - Static method in class fj.control.parallel.Callables
-
Binds the given function to the value in a Callable with a final join.
- bind(Callable<A>, Callable<B>, F<A, F<B, C>>) - Static method in class fj.control.parallel.Callables
-
Binds the given function to the values in the given callables with a final join.
- bind(List<A>, F<A, List<B>>) - Static method in class fj.java.util.ListUtil
- bind_() - Static method in class fj.control.Trampoline
- bind_() - Static method in class fj.data.List
-
Provides a first-class version of bind()
- bind_() - Static method in class fj.data.Stream
-
A first-class version of the bind function.
- bindProduct(Option<B>) - Method in class fj.data.Option
- bindProduct(Option<B>, Option<C>) - Method in class fj.data.Option
- bindProduct(Option<B>, Option<C>, Option<D>) - Method in class fj.data.Option
- bindProduct(Option<B>, Option<C>, Option<D>, Option<E>) - Method in class fj.data.Option
- bindProduct(Option<B>, Option<C>, Option<D>, Option<E>, Option<F$>) - Method in class fj.data.Option
- bindProduct(Option<B>, Option<C>, Option<D>, Option<E>, Option<F$>, Option<G>) - Method in class fj.data.Option
- bindProduct(Option<B>, Option<C>, Option<D>, Option<E>, Option<F$>, Option<G>, Option<H>) - Method in class fj.data.Option
- BindTrampolineEval(F<A, Eval<B>>, Eval.TrampolineEval<A>) - Constructor for class fj.data.Eval.BindTrampolineEval
- BITS_IN_INDEX - Static variable in class fj.data.hamt.HashArrayMappedTrie
- bitSet - Variable in class fj.data.hamt.HashArrayMappedTrie
- BitSet - Class in fj.data.hamt
-
A sequence of bits representing a value.
- BitSet(long) - Constructor for class fj.data.hamt.BitSet
- BitSet_List - Static variable in class fj.data.Java
-
A function that converts bit sets to lists.
- bitSetSequal - Static variable in class fj.Equal
-
An equal instance for the
BitSet
type. - bitSetShow - Static variable in class fj.Show
- bitsOn() - Method in class fj.data.hamt.BitSet
- bitsToRight(int) - Method in class fj.data.hamt.BitSet
- bitsUsed() - Method in class fj.data.hamt.BitSet
- Boolean_Byte - Static variable in class fj.Primitive
-
A function that converts booleans to bytes.
- Boolean_Character - Static variable in class fj.Primitive
-
A function that converts booleans to characters.
- Boolean_Double - Static variable in class fj.Primitive
-
A function that converts booleans to doubles.
- Boolean_Float - Static variable in class fj.Primitive
-
A function that converts booleans to floats.
- Boolean_Integer - Static variable in class fj.Primitive
-
A function that converts booleans to integers.
- Boolean_Long - Static variable in class fj.Primitive
-
A function that converts booleans to longs.
- Boolean_Short - Static variable in class fj.Primitive
-
A function that converts booleans to shorts.
- booleanEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
boolean
. - booleanEqual - Static variable in class fj.Equal
-
An equal instance for the
boolean
type. - booleanHash - Static variable in class fj.Hash
-
A hash instance for the
boolean
type. - booleanOrd - Static variable in class fj.Ord
-
An order instance for the
boolean
type. - Booleans - Class in fj.function
-
Curried logical functions.
- Booleans() - Constructor for class fj.function.Booleans
- booleanShow - Static variable in class fj.Show
-
A show instance for the
boolean
type. - Bottom - Class in fj
-
Represents the bottom _|_ value.
- Bottom() - Constructor for class fj.Bottom
- bottomUp(Tree<A>, F<P2<A, Stream<B>>, B>) - Static method in class fj.data.Tree
- bounded(A, A) - Static method in class fj.Bounded
- Bounded<A> - Class in fj
-
The Bounded class is used to name the upper and lower limits of a type.
- Bounded(Bounded.Definition<A>) - Constructor for class fj.Bounded
- Bounded.Definition<A> - Interface in fj
-
Minimal definition of Bounded
- boundedDef(Bounded.Definition<A>) - Static method in class fj.Bounded
- bracket(IO<A>, F<A, IO<B>>, F<A, IO<C>>) - Static method in class fj.data.IOFunctions
- breakk(F<A, Boolean>) - Method in class fj.data.List
-
Returns a tuple where the first element is the longest prefix of this list that does not satisfy the given predicate and the second element is the remainder of the list.
- Buffer() - Constructor for class fj.data.List.Buffer
- bufferedReader(File, Option<Charset>) - Static method in class fj.data.IOFunctions
- Byte_Boolean - Static variable in class fj.Primitive
-
A function that converts bytes to booleans.
- Byte_Character - Static variable in class fj.Primitive
-
A function that converts bytes to characters.
- Byte_Double - Static variable in class fj.Primitive
-
A function that converts bytes to doubles.
- Byte_Float - Static variable in class fj.Primitive
-
A function that converts bytes to floats.
- Byte_Integer - Static variable in class fj.Primitive
-
A function that converts bytes to integers.
- Byte_Long - Static variable in class fj.Primitive
-
A function that converts bytes to longs.
- Byte_Short - Static variable in class fj.Primitive
-
A function that converts bytes to shorts.
- byteEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
byte
. - byteEqual - Static variable in class fj.Equal
-
An equal instance for the
byte
type. - byteHash - Static variable in class fj.Hash
-
A hash instance for the
byte
type. - byteOrd - Static variable in class fj.Ord
-
An order instance for the
byte
type. - byteShow - Static variable in class fj.Show
-
A show instance for the
byte
type.
C
- c - Variable in class fj.Class
- c - Variable in class fj.data.Either3.Right
- c - Variable in class fj.data.Set.Tree
- callable() - Static method in class fj.control.parallel.Callables
-
Provides a transformation from a value to a Callable that completely preserves that value.
- callable(A) - Static method in class fj.control.parallel.Callables
-
Returns a callable that completely preserves the argument.
- callable(F<A, B>) - Static method in class fj.control.parallel.Callables
-
Wraps a given function's return value in a Callable.
- callable(Exception) - Static method in class fj.control.parallel.Callables
-
Returns a callable that throws the given exception.
- Callables - Class in fj.control.parallel
-
Monadic functions and conversion methods for java.util.concurrent.Callable.
- Callables() - Constructor for class fj.control.parallel.Callables
- callableStrategy(Strategy<Callable<A>>) - Static method in class fj.control.parallel.Strategy
-
Provides a normalising strategy that fully evaluates its Callable argument.
- character(E) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a character if one is available or fails with the given error.
- character(E, F<Character, E>, char) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given character or fails otherwise.
- character(F0<E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a character if one is available or fails with the given error.
- character(F0<E>, F<Character, E>, char) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given character or fails otherwise.
- Character_Boolean - Static variable in class fj.Primitive
-
A function that converts characters to booleans.
- Character_Byte - Static variable in class fj.Primitive
-
A function that converts characters to bytes.
- Character_Double - Static variable in class fj.Primitive
-
A function that converts characters to doubles.
- Character_Float - Static variable in class fj.Primitive
-
A function that converts characters to floats.
- Character_Integer - Static variable in class fj.Primitive
-
A function that converts characters to integers.
- Character_Long - Static variable in class fj.Primitive
-
A function that converts characters to longs.
- Character_Short - Static variable in class fj.Primitive
-
A function that converts characters to shorts.
- characters(E, int) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given number of characters, or fails with the given error.
- characters(E, F<Character, E>, Stream<Character>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given stream of characters or fails otherwise.
- characters(F0<E>, int) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given number of characters, or fails with the given error.
- characters(F0<E>, F<Character, E>, Stream<Character>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given stream of characters or fails otherwise.
- Characters - Class in fj.function
-
First-class functions on Characters.
- Characters() - Constructor for class fj.function.Characters
- charAt(int) - Method in class fj.data.LazyString
-
Returns the caracter at the specified index.
- charChunkReader() - Static method in class fj.data.IOFunctions
-
A function that feeds an iteratee with character chunks read from a
Reader
(char[] of sizeIOFunctions.DEFAULT_BUFFER_SIZE
). - CharChunkReader(Reader) - Constructor for class fj.data.IOFunctions.CharChunkReader
- charChunkReader2() - Static method in class fj.data.IOFunctions
-
A function that feeds an iteratee with characters read from a
Reader
(chars are read in chunks of sizeIOFunctions.DEFAULT_BUFFER_SIZE
). - CharChunkReader2(Reader) - Constructor for class fj.data.IOFunctions.CharChunkReader2
- charEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
char
. - charEqual - Static variable in class fj.Equal
-
An equal instance for the
char
type. - charHash - Static variable in class fj.Hash
-
A hash instance for the
char
type. - charOrd - Static variable in class fj.Ord
-
An order instance for the
char
type. - charShow - Static variable in class fj.Show
-
A show instance for the
char
type. - CharsParser() - Constructor for class fj.parser.Parser.CharsParser
- checkBounds(int) - Method in class fj.data.Seq
- claim() - Method in class fj.control.parallel.Promise
-
Waits if necessary for the computation to complete, and then retrieves its result.
- claim(long, TimeUnit) - Method in class fj.control.parallel.Promise
-
Waits if necessary for the computation to complete, and then retrieves its result.
- clas() - Method in class fj.Class
-
Returns the underlying class.
- clas(Class<T>) - Static method in class fj.Class
-
Constructs a class from the given argument.
- Class<T> - Class in fj
-
A wrapper for a
Class
that provides additional methods. - Class(Class<T>) - Constructor for class fj.Class
- classParameters() - Method in class fj.Class
-
Provides this class's type parameter information as a Tree of the type expression.
- classShow() - Static method in class fj.Show
-
A show instance for the
Class
type. - clear() - Method in class fj.data.HashMap
-
Clear all entries from this hash map.
- clear() - Method in class fj.data.HashSet
-
Clear all elements from this hash set.
- clear(int) - Method in class fj.data.hamt.BitSet
- closeReader - Static variable in class fj.data.IOFunctions
- closeReader(Reader) - Static method in class fj.data.IOFunctions
- cobind(F<Promise<A>, B>) - Method in class fj.control.parallel.Promise
-
Binds the given function across a promise of this promise (Comonad pattern).
- cobind(F<Stream<A>, B>) - Method in class fj.data.Stream
-
Binds the given function across the stream of substreams of this stream.
- cobind(F<Tree<A>, B>) - Method in class fj.data.Tree
-
Applies the given function to all subtrees of this tree, returning a tree of the results (comonad pattern).
- cobind(F<TreeZipper<A>, B>) - Method in class fj.data.TreeZipper
-
Maps the given function over the tree of all positions for this zipper (comonad pattern).
- cobind(F<Zipper<A>, B>) - Method in class fj.data.Zipper
-
Maps over variations of this zipper, such that the given function is applied to each variation (comonad pattern).
- cobind(F<P2<A, B>, C>) - Method in class fj.P2
-
Duplicates this product on the first element, and maps the given function across the duplicate (Comonad pattern).
- codense(Trampoline.Normal<A>, F<A, Trampoline<B>>) - Static method in class fj.control.Trampoline
- Codense(Trampoline.Normal<Object>, F<Object, Trampoline<A>>) - Constructor for class fj.control.Trampoline.Codense
- codiagonal() - Static method in class fj.data.optic.Fold
- codiagonal() - Static method in class fj.data.optic.Getter
- codiagonal() - Static method in class fj.data.optic.Setter
- codiagonal() - Static method in class fj.data.optic.Traversal
- cojoin() - Method in class fj.control.parallel.Promise
-
Duplicates this promise to a promise of itself (Comonad pattern).
- cojoin() - Method in class fj.data.Tree
-
Expands this tree into a tree of trees, with this tree as the root label, and subtrees as the labels of child nodes (comonad pattern).
- Collection_List() - Static method in class fj.data.Java
- Collection_List(Collection<A>) - Static method in class fj.data.Java
- Collectors - Class in fj.data
- Collectors() - Constructor for class fj.data.Collectors
- color() - Method in class fj.data.Set
- color() - Method in class fj.data.Set.Empty
- color() - Method in class fj.data.Set.Tree
- Color() - Constructor for enum fj.data.Set.Color
- combChildren(Stream<Tree<A>>, Tree<A>, Stream<Tree<A>>) - Static method in class fj.data.TreeZipper
- commit - Static variable in class fj.control.db.DbState
- comp() - Static method in class fj.data.hlist.HList.Apply
-
A function application operator for function composition.
- comparableOrd() - Static method in class fj.Ord
-
An order instance for the
Comparable
interface. - compare() - Method in class fj.Ord
-
First-class ordering.
- compare(A) - Method in interface fj.Ord.AltDefinition
- compare(A) - Method in interface fj.Ord.Definition
- compare(A, A) - Method in interface fj.Ord.AltDefinition
- compare(A, A) - Method in class fj.Ord
-
Returns an ordering for the given arguments.
- compare(A, A) - Method in interface fj.Ord.Definition
- compare(A, A) - Method in class fj.Ord.OrdComparator
- completionStrategy(CompletionService<A>) - Static method in class fj.control.parallel.Strategy
-
Provides a parallelization strategy that uses a CompletionService to control the method and degree of parallelism, and where each parallel task's completion is registered with the service.
- compose() - Static method in class fj.Function
-
Function composition.
- compose(F<B, C>, F<A, B>) - Static method in class fj.Function
-
Function composition.
- compose(Monoid<B>) - Method in class fj.Monoid
-
Composes this monoid with another.
- compose(Monoid<B>, F<C, A>, F<C, B>, F2<A, B, C>) - Method in class fj.Monoid
- compose(Semigroup<B>, F<C, B>, F<C, A>, F2<A, B, C>) - Method in class fj.Semigroup
- compose2(F<C, D>, F<A, F<B, C>>) - Static method in class fj.Function
-
Function composition.
- composeFold(Fold<A, B>) - Method in class fj.data.optic.Fold
- composeFold(Fold<A, B>) - Method in class fj.data.optic.Getter
- composeFold(Fold<A, C>) - Method in class fj.data.optic.PIso
- composeFold(Fold<A, C>) - Method in class fj.data.optic.PLens
- composeFold(Fold<A, C>) - Method in class fj.data.optic.POptional
- composeFold(Fold<A, C>) - Method in class fj.data.optic.PPrism
- composeFold(Fold<A, C>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aFold
- composeFold(Getter<A, C>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aGetter
- composeGetter(Getter<A, B>) - Method in class fj.data.optic.Getter
- composeGetter(Getter<A, C>) - Method in class fj.data.optic.Fold
- composeGetter(Getter<A, C>) - Method in class fj.data.optic.PIso
- composeGetter(Getter<A, C>) - Method in class fj.data.optic.PLens
- composeGetter(Getter<A, C>) - Method in class fj.data.optic.POptional
- composeGetter(Getter<A, C>) - Method in class fj.data.optic.PPrism
- composeIso(Iso<A, C>) - Method in class fj.data.optic.Iso
- composeIso(Iso<A, C>) - Method in class fj.data.optic.Lens
- composeIso(Iso<A, C>) - Method in class fj.data.optic.Optional
- composeIso(Iso<A, C>) - Method in class fj.data.optic.Prism
- composeIso(Iso<A, C>) - Method in class fj.data.optic.Setter
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.Fold
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.Getter
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.PIso
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.PLens
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.POptional
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.PPrism
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.PSetter
- composeIso(PIso<A, B, C, D>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aPIso
- composeLens(Lens<A, C>) - Method in class fj.data.optic.Iso
- composeLens(Lens<A, C>) - Method in class fj.data.optic.Lens
- composeLens(Lens<A, C>) - Method in class fj.data.optic.Optional
- composeLens(Lens<A, C>) - Method in class fj.data.optic.Prism
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.Fold
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.Getter
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.PIso
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.PLens
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.POptional
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.PPrism
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.PSetter
- composeLens(PLens<A, B, C, D>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aPLens
- composeOptional(Optional<A, C>) - Method in class fj.data.optic.Iso
- composeOptional(Optional<A, C>) - Method in class fj.data.optic.Lens
- composeOptional(Optional<A, C>) - Method in class fj.data.optic.Optional
- composeOptional(Optional<A, C>) - Method in class fj.data.optic.Prism
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.Fold
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.Getter
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.PIso
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.PLens
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.POptional
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.PPrism
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.PSetter
- composeOptional(POptional<A, B, C, D>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aPOptional
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.Fold
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.Getter
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.PIso
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.PLens
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.POptional
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.PPrism
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.PSetter
- composePrism(PPrism<A, B, C, D>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aPPrism
- composePrism(Prism<A, C>) - Method in class fj.data.optic.Iso
- composePrism(Prism<A, C>) - Method in class fj.data.optic.Lens
- composePrism(Prism<A, C>) - Method in class fj.data.optic.Optional
- composePrism(Prism<A, C>) - Method in class fj.data.optic.Prism
- composeSetter(PSetter<A, B, C, D>) - Method in class fj.data.optic.PIso
- composeSetter(PSetter<A, B, C, D>) - Method in class fj.data.optic.PLens
- composeSetter(PSetter<A, B, C, D>) - Method in class fj.data.optic.POptional
- composeSetter(PSetter<A, B, C, D>) - Method in class fj.data.optic.PPrism
- composeSetter(PSetter<A, B, C, D>) - Method in class fj.data.optic.PSetter
- composeSetter(PSetter<A, B, C, D>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aPSetter
- composeSetter(Setter<A, C>) - Method in class fj.data.optic.Iso
- composeSetter(Setter<A, C>) - Method in class fj.data.optic.Lens
- composeSetter(Setter<A, C>) - Method in class fj.data.optic.Optional
- composeSetter(Setter<A, C>) - Method in class fj.data.optic.Prism
- composeSetter(Setter<A, C>) - Method in class fj.data.optic.Setter
- composeSetter(Setter<A, C>) - Method in class fj.data.optic.Traversal
- composeTraversal(PTraversal<A, B, C, D>) - Method in class fj.data.optic.PIso
-
compose a
PIso
with aPTraversal
- composeTraversal(PTraversal<A, B, C, D>) - Method in class fj.data.optic.PLens
-
compose a
PLens
with aPTraversal
- composeTraversal(PTraversal<A, B, C, D>) - Method in class fj.data.optic.POptional
-
compose a
POptional
with aPTraversal
- composeTraversal(PTraversal<A, B, C, D>) - Method in class fj.data.optic.PPrism
-
compose a
PPrism
with aPTraversal
- composeTraversal(PTraversal<A, B, C, D>) - Method in class fj.data.optic.PSetter
-
compose a
PSetter
with aPTraversal
- composeTraversal(PTraversal<A, B, C, D>) - Method in class fj.data.optic.PTraversal
-
compose a
PTraversal
with aPTraversal
- composeTraversal(Traversal<A, C>) - Method in class fj.data.optic.Iso
- composeTraversal(Traversal<A, C>) - Method in class fj.data.optic.Lens
- composeTraversal(Traversal<A, C>) - Method in class fj.data.optic.Optional
- composeTraversal(Traversal<A, C>) - Method in class fj.data.optic.Prism
- composeTraversal(Traversal<A, C>) - Method in class fj.data.optic.Setter
- composeTraversal(Traversal<A, C>) - Method in class fj.data.optic.Traversal
- computeValue() - Method in class fj.P1.Memo
- computeValue() - Method in class fj.P1.ReferenceMemo
- ConcurrentLinkedQueue_List() - Static method in class fj.data.Java
-
A function that converts concurrent linked queues to lists.
- concurry(F<B, A>) - Method in class fj.control.parallel.Strategy
-
Promotes a function to a concurrent function.
- concurry(F2<B, C, A>) - Method in class fj.control.parallel.Strategy
-
Promotes a function of arity-2 to a concurrent function.
- cond() - Static method in class fj.function.Booleans
-
Curried form of conditional.
- condition(boolean, E, T) - Static method in class fj.data.Validation
-
Returns a validation based on a boolean condition.
- conjunctionMonoid - Static variable in class fj.Monoid
-
A monoid that ANDs booleans.
- conjunctionSemigroup - Static variable in class fj.Semigroup
-
A semigroup that ANDs booleans.
- connect() - Method in class fj.control.db.Connector
- Connector - Class in fj.control.db
-
A method of connecting to the database.
- Connector() - Constructor for class fj.control.db.Connector
- cons() - Static method in class fj.data.hlist.HList.Apply
-
An operator for the construction of heterogeneous lists.
- cons() - Static method in class fj.data.List
-
Returns a function that prepends (cons) an element to a list to produce a new list.
- cons() - Static method in class fj.data.List.Optic
-
Cons prism
- cons() - Static method in class fj.data.Stream
-
Returns a function that prepends (cons) an element to a stream to produce a new stream.
- cons(A) - Method in class fj.data.DList
-
Prepends a single element on the DList to produce a new DList.
- cons(A) - Method in class fj.data.fingertrees.Deep
- cons(A) - Method in class fj.data.fingertrees.Empty
- cons(A) - Method in class fj.data.fingertrees.FingerTree
-
Adds the given element to this tree as the first element.
- cons(A) - Method in class fj.data.fingertrees.Single
- cons(A) - Method in class fj.data.List
-
Prepends (cons) the given element to this list to product a new list.
- cons(A) - Method in class fj.data.NonEmptyList
-
Prepend the given value to this list.
- cons(A) - Method in class fj.data.Seq
-
Inserts the given element at the front of this sequence.
- cons(A) - Method in class fj.data.Stream
-
Prepends (cons) the given element to this stream to product a new stream.
- cons(A, List<A>) - Static method in class fj.data.List
-
Prepends the given head element to the given tail element to produce a new list.
- cons(A, F0<Stream<A>>) - Static method in class fj.data.Stream
-
Prepends the given head element to the given tail element to produce a new stream.
- cons(E, L) - Static method in class fj.data.hlist.HList
-
Returns a heterogeneous list consisting of an element and another list.
- cons(List<A>) - Static method in class fj.data.List
-
Returns a function that prepends a value to the given list.
- cons(P1<A>, V2<A>) - Static method in class fj.data.vector.V3
-
Creates a vector-3 from a head and a tail.
- cons(P1<A>, V3<A>) - Static method in class fj.data.vector.V4
-
Creates a vector-4 from a head and a tail.
- cons(P1<A>, V4<A>) - Static method in class fj.data.vector.V5
-
Creates a vector-5 from a head and a tail.
- cons(P1<A>, V5<A>) - Static method in class fj.data.vector.V6
-
Creates a vector-6 from a head and a tail.
- cons(P1<A>, V6<A>) - Static method in class fj.data.vector.V7
-
Creates a vector-7 from a head and a tail.
- cons(P1<A>, V7<A>) - Static method in class fj.data.vector.V8
-
Creates a vector-8 from a head and a tail.
- Cons(A, List<A>) - Constructor for class fj.data.List.Cons
- Cons(A, F0<Stream<A>>) - Constructor for class fj.data.Stream.Cons
- cons_() - Static method in class fj.data.List
- cons_() - Static method in class fj.data.Stream
-
Returns a function that prepends (cons) an element to a stream to produce a new stream.
- cons_(A) - Static method in class fj.data.List
-
Returns a function that prepends the given value to a list.
- conss(A) - Method in class fj.data.List
-
Prepends (cons) the given element to this list to product a new list.
- constant() - Static method in class fj.Function
-
Returns a function that given an argument, returns a function that ignores its argument.
- constant() - Method in class fj.P1
-
Returns a constant function that always uses this value.
- constant(A) - Static method in class fj.data.State
- constant(B) - Static method in class fj.data.$
- constant(B) - Static method in class fj.data.Reader
- constant(B) - Static method in class fj.Function
-
Returns a function that ignores its argument to constantly produce the given value.
- Consumer_F() - Static method in class fj.data.Java8
- Consumer_F(Consumer<A>) - Static method in class fj.data.Java8
- cont - Variable in class fj.control.Trampoline.Codense
- cont(F<Iteratee.Input<E>, Iteratee.IterV<E, A>>) - Static method in class fj.data.Iteratee.IterV
-
A computation that takes an element from an input to yield a new computation
- contains - Static variable in class fj.function.Strings
-
A curried version of
String.contains(CharSequence)
. - contains(A) - Method in class fj.data.HashSet
-
Determines if this hash set contains the given element.
- contains(LazyString) - Method in class fj.data.LazyString
-
Returns true if the given lazy string is a substring of this lazy string.
- contains(K) - Method in class fj.data.HashMap
-
Determines if the given key value exists in this hash map.
- contains(K) - Method in class fj.data.PriorityQueue
-
Does the priority k exist already?
- contains(K) - Method in class fj.data.TreeMap
-
Determines if the given key value exists in this tree map.
- contramap(F<A, B>, Equal<B>) - Static method in class fj.Equal
-
Static version of
Equal.contramap(F)
- contramap(F<A, B>, Ord<B>) - Static method in class fj.Ord
-
Static version of
Ord.contramap(F)
- contramap(F<B, A>) - Method in class fj.control.parallel.Actor
-
Contravariant functor pattern.
- contramap(F<B, A>) - Method in class fj.Equal
-
Maps the given function across this equal as a contra-variant functor.
- contramap(F<B, A>) - Method in class fj.Hash
-
Maps the given function across this hash as a contra-variant functor.
- contramap(F<B, A>) - Method in class fj.Ord
-
Maps the given function across this ord as a contra-variant functor.
- contramap(F<B, A>) - Method in class fj.Show
-
Maps the given function across this show as a contra-variant functor.
- contramap(F<B, A>, F<A, Boolean>) - Static method in class fj.function.Booleans
-
maps given function to the predicate function
- contramap(F<C, A>) - Method in interface fj.F
- contramap(F<C, A>) - Method in interface fj.function.Effect1
- contramap(F<P1<A>, P1<A>>) - Method in class fj.control.parallel.Strategy
-
Maps the given transformation across this strategy's codomain (Invariant Functor pattern).
- contramap(F<X, A>, F<Y, B>) - Method in interface fj.F2
- contramap(Effect1<A>, F<B, A>) - Static method in class fj.Effect
-
A contra-variant functor on effect.
- contramapActor() - Method in interface fj.F
-
Returns a function that contramaps over a given actor.
- contramapDef(F<B, A>, Equal.Definition<A>) - Static method in class fj.Equal
- contramapDef(F<B, A>, Ord.Definition<A>) - Static method in class fj.Ord
- contramapEqual() - Method in interface fj.F
-
Promotes this function to map over an Equal as a contravariant functor.
- contramapFirst(F<Z, A>) - Method in interface fj.F2
- contramapHash() - Method in interface fj.F
-
Promotes this function to map over a Hash as a contravariant functor.
- contramapSecond(F<Z, B>) - Method in interface fj.F2
- contramapShow() - Method in interface fj.F
-
Promotes this function to map over a Show as a contravariant functor.
- Conversions - Class in fj.data
-
Functions that convert between data structure types.
- Conversions() - Constructor for class fj.data.Conversions
- copy() - Method in class fj.data.List.Buffer
- copyOf(T[], int) - Static method in class fj.data.Array
- copyOf(U[], int, Class<? extends T[]>) - Static method in class fj.data.Array
- copyOfRange(char[], int, int) - Static method in class fj.data.Array
- CopyOnWriteArrayList_List() - Static method in class fj.data.Java
-
A function that converts copy on write array lists to lists.
- CopyOnWriteArraySet_List() - Static method in class fj.data.Java
-
A function that converts copy on write array sets to lists.
- curry() - Method in interface fj.F2
-
Curries this wrapped function to a wrapped function of arity-1 that returns another wrapped function.
- curry(F<A, B>) - Static method in class fj.P1
-
Promotes the given function so that it returns its value in a P1.
- curry(F2<A, B, C>) - Static method in class fj.Function
-
Curry a function of arity-2.
- curry(F2<A, B, C>, A) - Static method in class fj.Function
-
Curry a function of arity-2.
- curry(F3<A, B, C, D>) - Static method in class fj.Function
-
Curry a function of arity-3.
- curry(F3<A, B, C, D>, A) - Static method in class fj.Function
-
Curry a function of arity-3.
- curry(F3<A, B, C, D>, A, B) - Static method in class fj.Function
-
Curry a function of arity-3.
- curry(F4<A, B, C, D, E>) - Static method in class fj.Function
-
Curry a function of arity-4.
- curry(F4<A, B, C, D, E>, A) - Static method in class fj.Function
-
Curry a function of arity-4.
- curry(F4<A, B, C, D, E>, A, B) - Static method in class fj.Function
-
Curry a function of arity-4.
- curry(F4<A, B, C, D, E>, A, B, C) - Static method in class fj.Function
-
Curry a function of arity-4.
- curry(F5<A, B, C, D, E, F$>) - Static method in class fj.Function
-
Curry a function of arity-5.
- curry(F5<A, B, C, D, E, F$>, A) - Static method in class fj.Function
-
Curry a function of arity-5.
- curry(F5<A, B, C, D, E, F$>, A, B) - Static method in class fj.Function
-
Curry a function of arity-5.
- curry(F5<A, B, C, D, E, F$>, A, B, C) - Static method in class fj.Function
-
Curry a function of arity-5.
- curry(F5<A, B, C, D, E, F$>, A, B, C, D) - Static method in class fj.Function
-
Curry a function of arity-5.
- curry(F6<A, B, C, D, E, F$, G>) - Static method in class fj.Function
-
Curry a function of arity-6.
- curry(F7<A, B, C, D, E, F$, G, H>) - Static method in class fj.Function
-
Curry a function of arity-7.
- curry(F7<A, B, C, D, E, F$, G, H>, A) - Static method in class fj.Function
-
Curry a function of arity-7.
- curry(F7<A, B, C, D, E, F$, G, H>, A, B) - Static method in class fj.Function
-
Curry a function of arity-7.
- curry(F7<A, B, C, D, E, F$, G, H>, A, B, C) - Static method in class fj.Function
-
Curry a function of arity-7.
- curry(F7<A, B, C, D, E, F$, G, H>, A, B, C, D) - Static method in class fj.Function
-
Curry a function of arity-7.
- curry(F7<A, B, C, D, E, F$, G, H>, A, B, C, D, E) - Static method in class fj.Function
-
Curry a function of arity-7.
- curry(F7<A, B, C, D, E, F$, G, H>, A, B, C, D, E, F$) - Static method in class fj.Function
-
Curry a function of arity-7.
- curry(F8<A, B, C, D, E, F$, G, H, I>) - Static method in class fj.Function
-
Curry a function of arity-8.
- curry(F8<A, B, C, D, E, F$, G, H, I>, A) - Static method in class fj.Function
-
Curry a function of arity-8.
- curry(F8<A, B, C, D, E, F$, G, H, I>, A, B) - Static method in class fj.Function
-
Curry a function of arity-8.
- curry(F8<A, B, C, D, E, F$, G, H, I>, A, B, C) - Static method in class fj.Function
-
Curry a function of arity-8.
- curry(F8<A, B, C, D, E, F$, G, H, I>, A, B, C, D) - Static method in class fj.Function
-
Curry a function of arity-8.
- curry(F8<A, B, C, D, E, F$, G, H, I>, A, B, C, D, E) - Static method in class fj.Function
-
Curry a function of arity-8.
- curry(F8<A, B, C, D, E, F$, G, H, I>, A, B, C, D, E, F$) - Static method in class fj.Function
-
Curry a function of arity-8.
- curry(F8<A, B, C, D, E, F$, G, H, I>, A, B, C, D, E, F$, G) - Static method in class fj.Function
-
Curry a function of arity-7.
- cycle(Stream<A>) - Static method in class fj.data.Stream
-
Returns an infinite-length stream of the given elements cycling.
- cycleNext() - Method in class fj.data.Zipper
-
Move the focus to the next element.
- cyclePrevious() - Method in class fj.data.Zipper
-
Move the focus to the previous element.
D
- db(F<Connection, A>) - Static method in class fj.control.db.DB
-
Constructs a database action as a function from a database connection to a value.
- db(Try1<Connection, A, SQLException>) - Static method in class fj.control.db.DB
-
Constructs a database action as a function from a database connection to a value.
- DB<A> - Class in fj.control.db
-
The DB monad represents a database action, or a value within the context of a database connection.
- DB() - Constructor for class fj.control.db.DB
- DbState - Class in fj.control.db
-
Performs database I/O, in order to read or write the database state.
- DbState(Connector, DB<Unit>) - Constructor for class fj.control.db.DbState
- decons(A, Show<A>) - Static method in class fj.Bottom
-
Represents a deconstruction failure that was non-exhaustive.
- decons(Class<A>) - Static method in class fj.Bottom
-
Represents a deconstruction failure that was non-exhaustive.
- deep(Digit<V, A>, FingerTree<V, Node<V, A>>, Digit<V, A>) - Method in class fj.data.fingertrees.MakeTree
-
Constructs a deep tree.
- deep(V, Digit<V, A>, FingerTree<V, Node<V, A>>, Digit<V, A>) - Method in class fj.data.fingertrees.MakeTree
-
Constructs a deep tree with the given annotation value.
- Deep<V,A> - Class in fj.data.fingertrees
-
A finger tree with 1-4-digits on the left and right, and a finger tree of 2-3-nodes in the middle.
- Deep(Measured<V, A>, V, Digit<V, A>, FingerTree<V, Node<V, A>>, Digit<V, A>) - Constructor for class fj.data.fingertrees.Deep
- deepL(Measured<V, A>, Option<Digit<V, A>>, FingerTree<V, Node<V, A>>, Digit<V, A>) - Static method in class fj.data.fingertrees.Deep
- deepR(Measured<V, A>, Option<Digit<V, A>>, FingerTree<V, Node<V, A>>, Digit<V, A>) - Static method in class fj.data.fingertrees.Deep
- def - Variable in class fj.Bounded
- def - Variable in class fj.Equal
- def - Variable in class fj.Monoid
- def - Variable in class fj.Ord
- def - Variable in class fj.Semigroup
- DEFAULT_BUFFER_SIZE - Static variable in class fj.data.IOFunctions
- defer(F0<Eval<A>>) - Static method in class fj.data.Eval
- DeferEval(F0<Eval<A>>) - Constructor for class fj.data.Eval.DeferEval
- defined(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a defined character.
- defined(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a defined character.
- DelayQueue_List() - Static method in class fj.data.Java
-
A function that converts delay queues to lists.
- delete() - Method in class fj.data.Set
-
First-class deletion function.
- delete() - Method in class fj.data.TreeZipper
-
Removes the current node from the tree.
- delete(int) - Method in class fj.data.Seq
-
Delete the element at the given index.
- delete(A) - Method in class fj.data.HashSet
-
Deletes the given element from this hash set.
- delete(A) - Method in class fj.data.Set
-
Deletes the given element from this set.
- delete(A, Equal<A>) - Method in class fj.data.List
-
Removes the first element that equals the given object.
- delete(K) - Method in class fj.data.HashMap
-
Deletes the entry in the hash map that corresponds to the given key.
- delete(K) - Method in class fj.data.TreeMap
-
Deletes the entry in the tree map that corresponds to the given key.
- deleteLeft() - Method in class fj.data.Zipper
-
Possibly deletes the element at the focus, then moves the element on the left into focus.
- deleteLeftCycle() - Method in class fj.data.Zipper
-
Possibly deletes the element at the focus, then move the element on the left into focus.
- deleteOthers() - Method in class fj.data.Zipper
-
Deletes all elements in the zipper except the focus.
- deleteRight() - Method in class fj.data.Zipper
-
Possibly deletes the element at the focus, then moves the element on the right into focus.
- deleteRightCycle() - Method in class fj.data.Zipper
-
Possibly deletes the element at the focus, then move the element on the right into focus.
- dequeue() - Method in class fj.data.PriorityQueue
-
Removes the node with the highest priority.
- dequeue(int) - Method in class fj.data.PriorityQueue
-
Removes the top n elements with the highest priority.
- digit - Static variable in class fj.function.Characters
- digit(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a digit (0 to 9).
- digit(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a digit (0 to 9).
- Digit<V,A> - Class in fj.data.fingertrees
-
A digit is a vector of 1-4 elements.
- Digit - Enum in fj
-
The digits zero to nine.
- Digit() - Constructor for enum fj.Digit
- Digit(Measured<V, A>) - Constructor for class fj.data.fingertrees.Digit
- digitMeasured() - Method in class fj.data.fingertrees.Measured
-
A measured instance for digits.
- digitShow(Show<V>, Show<A>) - Static method in class fj.Show
- dimap(F<C, A>, F<B, D>) - Method in interface fj.F
-
Both map (with g) and contramap (with f) the target function.
- dimap(F<C, A>, F<Unit, D>) - Method in interface fj.function.Effect1
- discard() - Static method in class fj.control.parallel.Strategy
-
Returns an Effect that waits for a given Future to obtain a value, discarding the value.
- disjunctionMonoid - Static variable in class fj.Monoid
-
A monoid that ORs booleans.
- disjunctionSemigroup - Static variable in class fj.Semigroup
-
A semigroup that ORs booleans.
- divide - Static variable in class fj.data.Natural
-
A function that divides its second argument by its first.
- divide(Natural) - Method in class fj.data.Natural
-
Divide a natural number by another.
- divmod - Static variable in class fj.data.Natural
-
A function that divides its second argument by its first, yielding both the quotient and the remainder.
- divmod(Natural) - Method in class fj.data.Natural
-
Divide a natural number by another yielding both the quotient and the remainder.
- dlist(F<List<A>, Trampoline<List<A>>>) - Static method in class fj.data.DList
-
Creates a DList from the function For alternatives functions to create a DList:
- DList<A> - Class in fj.data
-
Difference List.
- DList(F<List<A>, Trampoline<List<A>>>) - Constructor for class fj.data.DList
- done - Variable in class fj.data.IOFunctions.CharChunkReader
- done - Variable in class fj.data.IOFunctions.CharChunkReader2
- done - Variable in class fj.data.IOFunctions.LineReader
- done(A, Iteratee.Input<E>) - Static method in class fj.data.Iteratee.IterV
-
A computation that has finished
- Double_Boolean - Static variable in class fj.Primitive
-
A function that converts doubles to booleans.
- Double_Byte - Static variable in class fj.Primitive
-
A function that converts doubles to bytes.
- Double_Character - Static variable in class fj.Primitive
-
A function that converts doubles to characters.
- Double_Float - Static variable in class fj.Primitive
-
A function that converts doubles to floats.
- Double_Integer - Static variable in class fj.Primitive
-
A function that converts doubles to integers.
- Double_Long - Static variable in class fj.Primitive
-
A function that converts doubles to longs.
- Double_Short - Static variable in class fj.Primitive
-
A function that converts doubles to shorts.
- doubleEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
double
. - doubleEqual - Static variable in class fj.Equal
-
An equal instance for the
double
type. - doubleHash - Static variable in class fj.Hash
-
A hash instance for the
double
type. - doubleOrd - Static variable in class fj.Ord
-
An order instance for the
double
type. - Doubles - Class in fj.function
-
Curried functions over Doubles.
- Doubles() - Constructor for class fj.function.Doubles
- doubleShow - Static variable in class fj.Show
-
A show instance for the
double
type. - doubleValue() - Method in class fj.data.Natural
-
Return the double value of this natural number.
- downParents() - Method in class fj.data.TreeZipper
- draw(Show<A>) - Method in class fj.data.Tree
-
Draws a 2-dimensional representation of a tree.
- drawSubTrees(Show<A>, Stream<Tree<A>>) - Static method in class fj.data.Tree
- drawTree(Show<A>) - Method in class fj.data.Tree
- driverManager(String) - Static method in class fj.control.db.DbState
-
A simple connector (the default) that gets connections to the given database URL from the driver manager.
- drop(int) - Static method in class fj.data.Iteratee.IterV
-
An iteratee that skips the first n elements of the input
- drop(int) - Method in class fj.data.List
-
Drops the given number of elements from the head of this list if they are available.
- drop(int) - Method in class fj.data.Seq
-
Drops the given number of elements from the head of this sequence if they are available.
- drop(int) - Method in class fj.data.Stream
-
Drops the given number of elements from the head of this stream if they are available.
- dropWhile(F<A, Boolean>) - Method in class fj.data.List
-
Removes elements from the head of this list that do not match the given predicate function until an element is found that does match or the list is exhausted.
- dropWhile(F<A, Boolean>) - Method in class fj.data.Stream
-
Removes elements from the head of this stream that do not match the given predicate function until an element is found that does match or the stream is exhausted.
- dual() - Method in interface fj.Monoid.Definition
- dual() - Method in class fj.Monoid
-
Swaps the arguments when summing.
- dual() - Method in interface fj.Ord.Definition
- dual() - Method in interface fj.Semigroup.Definition
- dual() - Method in class fj.Semigroup
-
Swaps the arguments when summing.
- dup(S) - Static method in class fj.data.State
- duplicate() - Method in class fj.P2
-
Duplicates this product into the first element (Comonad pattern).
- dwn() - Static method in class fj.data.TreeZipper
E
- e - Variable in class fj.data.Either.LeftProjection
- e - Variable in class fj.data.Either.RightProjection
- e - Variable in class fj.data.Either3.LeftProjection
- e - Variable in class fj.data.Either3.MiddleProjection
- e - Variable in class fj.data.Either3.RightProjection
- e - Variable in class fj.data.HashMap
- e - Variable in class fj.data.hlist.HList.HCons
- e - Variable in class fj.data.Validation
- effect() - Method in class fj.control.parallel.ParModule
-
A first-class constructor of concurrent effects, as actors that don't guarantee ordering of messages.
- effect(Effect1<A>) - Method in class fj.control.parallel.ParModule
-
Creates a very fast concurrent effect, as an actor that does not guarantee ordering of its messages.
- Effect - Class in fj
-
Represents a side-effect.
- Effect() - Constructor for class fj.Effect
- Effect_IO() - Static method in class fj.data.Conversions
- Effect_IO(Effect0) - Static method in class fj.data.Conversions
- Effect_SafeIO() - Static method in class fj.data.Conversions
- Effect_SafeIO(Effect0) - Static method in class fj.data.Conversions
- Effect0 - Interface in fj.function
- Effect0_P1() - Static method in class fj.data.Conversions
- Effect0_P1(Effect0) - Static method in class fj.data.Conversions
- Effect1<A> - Interface in fj.function
- Effect1_F() - Static method in class fj.data.Conversions
- Effect1_F(Effect1<A>) - Static method in class fj.data.Conversions
- Effect2<A,B> - Interface in fj.function
- Effect3<A,B,C> - Interface in fj.function
- Effect4<A,B,C,D> - Interface in fj.function
- Effect5<A,B,C,D,E> - Interface in fj.function
- Effect6<A,B,C,D,E,F> - Interface in fj.function
- Effect7<A,B,C,D,E,F,G> - Interface in fj.function
- Effect8<A,B,C,D,E,F,G,H> - Interface in fj.function
- either - Variable in class fj.data.hamt.Node
- either() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from a Callable to an Either.
- either() - Method in class fj.data.Either.LeftProjection
-
The either value underlying this projection.
- either() - Method in class fj.data.Either.RightProjection
-
The either value underlying this projection.
- either() - Method in class fj.data.Either3.LeftProjection
- either() - Method in class fj.data.Either3.MiddleProjection
- either() - Method in class fj.data.Either3.RightProjection
- either() - Static method in class fj.data.Validation
-
Returns a function that constructs an either with a validation.
- either(F<A, D>, F<B, D>, F<C, D>) - Method in class fj.data.Either3
- either(F<A, D>, F<B, D>, F<C, D>) - Method in class fj.data.Either3.Left
- either(F<A, D>, F<B, D>, F<C, D>) - Method in class fj.data.Either3.Middle
- either(F<A, D>, F<B, D>, F<C, D>) - Method in class fj.data.Either3.Right
- either(F<A, X>, F<B, X>) - Method in class fj.data.Either
-
The catamorphism for either.
- either(F<A, X>, F<B, X>) - Method in class fj.data.Either.Left
- either(F<A, X>, F<B, X>) - Method in class fj.data.Either.Right
- either(Callable<A>) - Static method in class fj.control.parallel.Callables
-
Turns the given Callable into either an exception or the value in the Callable.
- Either<A,B> - Class in fj.data
-
The
Either
type represents a value of one of two possible types (a disjoint union). - Either() - Constructor for class fj.data.Either
- either_(F<A, D>, F<B, D>, F<C, D>) - Static method in class fj.data.Either3
- either_(F<A, X>, F<B, X>) - Static method in class fj.data.Either
-
First class catamorphism for either.
- Either_ArrayA() - Static method in class fj.data.Conversions
-
A function that converts eithers to arrays.
- Either_ArrayB() - Static method in class fj.data.Conversions
-
A function that converts eithers to arrays.
- Either_ArrayBlockingQueueA(boolean) - Static method in class fj.data.Java
-
A function that converts eithers to array blocking queues.
- Either_ArrayBlockingQueueB(boolean) - Static method in class fj.data.Java
-
A function that converts eithers to array blocking queues.
- Either_ArrayListA() - Static method in class fj.data.Java
-
A function that converts eithers to array lists.
- Either_ArrayListB() - Static method in class fj.data.Java
-
A function that converts eithers to array lists.
- Either_BitSetA() - Static method in class fj.data.Java
-
A function that converts eithers to bit sets.
- Either_BitSetB() - Static method in class fj.data.Java
-
A function that converts eithers to bit sets.
- Either_ConcurrentLinkedQueueA() - Static method in class fj.data.Java
-
A function that converts eithers to concurrent linked queues.
- Either_ConcurrentLinkedQueueB() - Static method in class fj.data.Java
-
A function that converts eithers to concurrent linked queues.
- Either_CopyOnWriteArrayListA() - Static method in class fj.data.Java
-
A function that converts eithers to copy on write array lists.
- Either_CopyOnWriteArrayListB() - Static method in class fj.data.Java
-
A function that converts eithers to copy on write array lists.
- Either_CopyOnWriteArraySetA() - Static method in class fj.data.Java
-
A function that converts eithers to copy on write array sets.
- Either_CopyOnWriteArraySetB() - Static method in class fj.data.Java
-
A function that converts eithers to copy on write array sets.
- Either_DelayQueueA() - Static method in class fj.data.Java
-
A function that converts eithers to delay queues.
- Either_DelayQueueB() - Static method in class fj.data.Java
-
A function that converts eithers to delay queues.
- Either_EnumSetA() - Static method in class fj.data.Java
-
A function that converts eithers to enum sets.
- Either_EnumSetB() - Static method in class fj.data.Java
-
A function that converts eithers to enum sets.
- Either_HashSetA() - Static method in class fj.data.Java
-
A function that converts eithers to hash sets.
- Either_HashSetB() - Static method in class fj.data.Java
-
A function that converts eithers to hash sets.
- Either_LinkedBlockingQueueA() - Static method in class fj.data.Java
-
A function that converts eithers to linked blocking queues.
- Either_LinkedBlockingQueueB() - Static method in class fj.data.Java
-
A function that converts eithers to linked blocking queues.
- Either_LinkedHashSetA() - Static method in class fj.data.Java
-
A function that converts eithers to linked hash sets.
- Either_LinkedHashSetB() - Static method in class fj.data.Java
-
A function that converts eithers to linked hash sets.
- Either_LinkedListA() - Static method in class fj.data.Java
-
A function that converts eithers to linked lists.
- Either_LinkedListB() - Static method in class fj.data.Java
-
A function that converts eithers to linked lists.
- Either_ListA() - Static method in class fj.data.Conversions
-
A function that converts eithers to lists.
- Either_ListB() - Static method in class fj.data.Conversions
-
A function that converts eithers to lists.
- Either_OptionA() - Static method in class fj.data.Conversions
-
A function that converts eithers to options.
- Either_OptionB() - Static method in class fj.data.Conversions
-
A function that converts eithers to options.
- Either_PriorityBlockingQueueA() - Static method in class fj.data.Java
-
A function that converts eithers to priority blocking queues.
- Either_PriorityBlockingQueueB() - Static method in class fj.data.Java
-
A function that converts eithers to priority blocking queues.
- Either_StackA() - Static method in class fj.data.Java
-
A function that converts eithers to stacks.
- Either_StackB() - Static method in class fj.data.Java
-
A function that converts eithers to stacks.
- Either_StreamA() - Static method in class fj.data.Conversions
-
A function that converts eithers to streams.
- Either_StreamB() - Static method in class fj.data.Conversions
-
A function that converts eithers to streams.
- Either_StringA() - Static method in class fj.data.Conversions
-
A function that converts eithers to strings.
- Either_StringB() - Static method in class fj.data.Conversions
-
A function that converts eithers to strings.
- Either_StringBufferA() - Static method in class fj.data.Conversions
-
A function that converts eithers to string buffers.
- Either_StringBufferB() - Static method in class fj.data.Conversions
-
A function that converts eithers to string buffers.
- Either_StringBuilderA() - Static method in class fj.data.Conversions
-
A function that converts eithers to string builders.
- Either_StringBuilderB() - Static method in class fj.data.Conversions
-
A function that converts eithers to string builders.
- Either_SynchronousQueueA(boolean) - Static method in class fj.data.Java
-
A function that converts eithers to synchronous queues.
- Either_SynchronousQueueB(boolean) - Static method in class fj.data.Java
-
A function that converts eithers to synchronous queues.
- Either_TreeSetA() - Static method in class fj.data.Java
-
A function that converts eithers to tree sets.
- Either_TreeSetB() - Static method in class fj.data.Java
-
A function that converts eithers to tree sets.
- Either_VectorA() - Static method in class fj.data.Java
-
A function that converts eithers to vectors.
- Either_VectorB() - Static method in class fj.data.Java
-
A function that converts eithers to vectors.
- Either.Left<A,B> - Class in fj.data
- Either.LeftProjection<A,B> - Class in fj.data
-
A left projection of an either value.
- Either.Right<A,B> - Class in fj.data
- Either.RightProjection<A,B> - Class in fj.data
-
A right projection of an either value.
- Either3<A,B,C> - Class in fj.data
- Either3() - Constructor for class fj.data.Either3
- Either3.Left<A,B,C> - Class in fj.data
- Either3.LeftProjection<A,B,C> - Class in fj.data
- Either3.Middle<A,B,C> - Class in fj.data
- Either3.MiddleProjection<A,B,C> - Class in fj.data
- Either3.Right<A,B,C> - Class in fj.data
- Either3.RightProjection<A,B,C> - Class in fj.data
- either3Equal(Equal<A>, Equal<B>, Equal<C>) - Static method in class fj.Equal
- either3Hash(Hash<A>, Hash<B>, Hash<C>) - Static method in class fj.Hash
- either3Show(Show<A>, Show<B>, Show<C>) - Static method in class fj.Show
- eitherEqual(Equal<A>, Equal<B>) - Static method in class fj.Equal
-
An equal instance for the
Either
type. - eitherHash(Hash<A>, Hash<B>) - Static method in class fj.Hash
-
A hash instance for the
Either
type. - eitherLeftK() - Method in interface fj.F
-
Promotes this function so that it returns its result on the left side of an Either.
- eitherOrd(Ord<A>, Ord<B>) - Static method in class fj.Ord
-
An order instance for the
Either
type. - eitherRightK() - Method in interface fj.F
-
Promotes this function so that it returns its result on the right side of an Either.
- eitherShow(Show<A>, Show<B>) - Static method in class fj.Show
-
A show instance for the
Either
type. - el(E) - Static method in class fj.data.Iteratee.Input
-
Input that has a value available
- ELEM_MEASURED - Static variable in class fj.data.Seq
- element(E) - Static method in class fj.parser.Parser.StreamParser
-
Returns a parser that produces an element from the stream if it is available and fails otherwise.
- element(F0<E>) - Static method in class fj.parser.Parser.StreamParser
-
Returns a parser that produces an element from the stream if it is available and fails otherwise.
- elementIndex(Equal<A>, A) - Method in class fj.data.List
-
Returns the index of the first element in this list which is equal (by the given equality) to the query element, or None if there is no such element.
- elemMeasured() - Static method in class fj.data.Seq
- eMessage() - Static method in class fj.Bottom
-
A function that returns the
getMessage
for a throwable. - empty - Variable in class fj.data.fingertrees.MakeTree
- empty - Static variable in class fj.data.LazyString
-
The empty string.
- empty() - Static method in class fj.data.Array
-
Returns an empty array.
- empty() - Method in class fj.data.fingertrees.MakeTree
-
Constructs an empty tree.
- empty() - Static method in class fj.data.hamt.BitSet
- empty() - Static method in class fj.data.HashSet
-
Creates an empty HashSet
- empty() - Static method in class fj.data.Iteratee.Input
-
Input that has no values available
- empty() - Static method in class fj.data.List.Buffer
-
An empty buffer.
- empty() - Static method in class fj.data.Seq
-
The empty sequence.
- empty() - Method in interface fj.Monoid.Definition
- empty(Equal<A>, Hash<A>) - Static method in class fj.data.HashSet
-
Creates a new HashSet using the given Equal and Hash
- empty(Equal<K>, Hash<K>) - Static method in class fj.data.hamt.HashArrayMappedTrie
-
Creates an empty trie.
- empty(Monoid<K>, Equal<K>) - Static method in class fj.data.PriorityQueue
-
Creates an empty priority queue.
- empty(Monoid<V>, F<A, V>) - Static method in class fj.data.fingertrees.FingerTree
-
Creates an empty finger tree with elements of type A and node annotations of type V.
- empty(Ord<A>) - Static method in class fj.data.Set
-
The empty set.
- empty(Ord<K>) - Static method in class fj.data.TreeMap
-
Constructs an empty tree map.
- Empty<V,A> - Class in fj.data.fingertrees
-
The empty tree.
- Empty(Measured<V, A>) - Constructor for class fj.data.fingertrees.Empty
- Empty(Ord<A>) - Constructor for class fj.data.Set.Empty
- EMPTY - Static variable in class fj.data.hamt.BitSet
- EMPTY - Static variable in class fj.data.Seq
- emptyInt() - Static method in class fj.data.PriorityQueue
-
An empty priority queue with integer priorities.
- emptyIntAddition() - Static method in class fj.data.fingertrees.FingerTree
- emptyIntMax() - Static method in class fj.data.fingertrees.FingerTree
-
Returns a finger tree which combines the integer node annotations with the maximum function.
- emptyKeyInteger() - Static method in class fj.data.hamt.HashArrayMappedTrie
-
Create and empty trie keyed by integer.
- endsWith(LazyString) - Method in class fj.data.LazyString
-
Returns true if the given lazy string is a suffix of this lazy string.
- enqueue(List<P2<K, A>>) - Method in class fj.data.PriorityQueue
-
Adds nodes using the list of products with priority k and value a.
- enqueue(P2<K, A>) - Method in class fj.data.PriorityQueue
-
Adds a node with priority k and value a.
- enqueue(Iterable<P2<K, A>>) - Method in class fj.data.PriorityQueue
-
Adds nodes using the iterable of products with priority k and value a.
- enqueue(K, A) - Method in class fj.data.PriorityQueue
-
Adds a node with priority k and value a.
- enumerationStream(Enumeration<A>) - Static method in class fj.data.Stream
- enumerator(F<A, Option<A>>, F<A, Option<A>>, Option<A>, Option<A>, Ord<A>) - Static method in class fj.data.Enumerator
-
Construct an enumerator.
- enumerator(F<A, Option<A>>, F<A, Option<A>>, Option<A>, Option<A>, Ord<A>, F<A, F<Long, Option<A>>>) - Static method in class fj.data.Enumerator
-
Construct an enumerator.
- Enumerator<A> - Class in fj.data
-
Abstracts over a type that may have a successor and/or predecessor value.
- Enumerator(F<A, Option<A>>, F<A, Option<A>>, Option<A>, Option<A>, Ord<A>, F<A, F<Long, Option<A>>>) - Constructor for class fj.data.Enumerator
- enumFileCharChunks(File, Option<Charset>, Iteratee.IterV<char[], A>) - Static method in class fj.data.IOFunctions
-
An IO monad that reads char chunks from the given file and passes them to the given iteratee.
- enumFileChars(File, Option<Charset>, Iteratee.IterV<Character, A>) - Static method in class fj.data.IOFunctions
-
An IO monad that reads char chunks from the given file and passes single chars to the given iteratee.
- enumFileLines(File, Option<Charset>, Iteratee.IterV<String, A>) - Static method in class fj.data.IOFunctions
-
An IO monad that reads lines from the given file (using a
BufferedReader
) and passes lines to the provided iteratee. - EnumSet_List() - Static method in class fj.data.Java
-
A function that converts enum sets to lists.
- eof() - Static method in class fj.data.Iteratee.Input
-
Input that is exhausted
- eq - Static variable in class fj.Equal
-
An equal instance for lazy strings.
- eq() - Method in class fj.Equal
-
First-class equality check.
- eq(A) - Method in class fj.Equal
-
Partially applied equality check.
- eq(A, A) - Method in class fj.data.HashSet
-
Compare two values for equality using the underlying equality strategy.
- eq(A, A) - Method in class fj.Equal
-
Returns
true
if the two given arguments are equal,false
otherwise. - eq(A, A) - Method in class fj.Ord
-
Returns
true
if the given arguments are equal,false
otherwise. - eq(HPre.HSucc<N>, HPre.HSucc<NN>, E) - Static method in class fj.data.hlist.HPre.HEq
-
A number is equal to another if their predecessors are equal.
- eq(HPre.HSucc<N>, HPre.HZero) - Static method in class fj.data.hlist.HPre.HEq
-
Zero is not equal to anything other than zero.
- eq(HPre.HZero, HPre.HSucc<N>) - Static method in class fj.data.hlist.HPre.HEq
-
Zero is not equal to anything other than zero.
- eq(HPre.HZero, HPre.HZero) - Static method in class fj.data.hlist.HPre.HEq
-
Zero is equal to itself.
- eq(Equal<A>) - Static method in class fj.data.TreeZipper
-
An Equal instance for tree zippers.
- eq(Equal<A>) - Static method in class fj.data.Zipper
-
An Equal instance for Zippers.
- eq(K, K) - Method in class fj.data.HashMap
-
Compare two key values for equality using the underlying equality strategy.
- EQ - fj.Ordering
-
Equal.
- eqS - Static variable in class fj.data.LazyString
- equal - Variable in class fj.data.hamt.HashArrayMappedTrie
- equal - Variable in class fj.data.PriorityQueue
- equal() - Method in interface fj.Equal.Definition
-
Build an equal instance from this definition.
- equal() - Method in class fj.Ord
-
Returns an
Equal
for this order. - equal(A) - Method in interface fj.Equal.AltDefinition
- equal(A) - Method in interface fj.Equal.Definition
- equal(A) - Method in interface fj.Ord.Definition
- equal(A, A) - Method in interface fj.Equal.AltDefinition
- equal(A, A) - Method in interface fj.Equal.Definition
- equal(A, A) - Method in interface fj.Ord.Definition
- equal(F<A, F<A, Boolean>>) - Static method in class fj.Equal
-
Constructs an equal instance from the given function.
- equal(F2<A, A, Boolean>) - Static method in class fj.Equal
-
Constructs an equal instance from the given function.
- Equal<A> - Class in fj
-
Tests for equality between two objects.
- Equal(Equal.Definition<A>) - Constructor for class fj.Equal
- Equal.AltDefinition<A> - Interface in fj
-
Primitives functions of Equal: alternative minimal definition and overridable methods.
- Equal.Definition<A> - Interface in fj
-
Primitives functions of Equal: minimal definition and overridable methods.
- equalDef(Equal.AltDefinition<A>) - Static method in class fj.Equal
-
Constructs an equal instance from the given (alternative) definition.
- equalDef(Equal.Definition<A>) - Static method in class fj.Equal
-
Constructs an equal instance from the given definition.
- equals(Object) - Method in class fj.data.Array
- equals(Object) - Method in class fj.data.Either
- equals(Object) - Method in class fj.data.Either3
- equals(Object) - Method in class fj.data.hamt.BitSet
- equals(Object) - Method in class fj.data.HashMap.Key
- equals(Object) - Method in class fj.data.List
-
Perform an equality test on this list which delegates to the .equals() method of the member instances.
- equals(Object) - Method in class fj.data.Natural
- equals(Object) - Method in class fj.data.NonEmptyList
-
Perform an equality test on this list which delegates to the .equals() method of the member instances.
- equals(Object) - Method in class fj.data.Option
- equals(Object) - Method in class fj.data.Seq
- equals(Object) - Method in class fj.data.Set
- equals(Object) - Method in class fj.data.Stream
- equals(Object) - Method in class fj.data.Tree
- equals(Object) - Method in class fj.data.TreeMap
- equals(Object) - Method in class fj.data.TreeZipper
- equals(Object) - Method in class fj.data.Validation
- equals(Object) - Method in class fj.data.vector.V2
- equals(Object) - Method in class fj.data.vector.V3
- equals(Object) - Method in class fj.data.vector.V4
- equals(Object) - Method in class fj.data.vector.V5
- equals(Object) - Method in class fj.data.vector.V6
- equals(Object) - Method in class fj.data.vector.V7
- equals(Object) - Method in class fj.data.vector.V8
- equals(Object) - Method in class fj.data.Zipper
- equals(Object) - Method in class fj.P1
- equals(Object) - Method in class fj.P2
- equals(Object) - Method in class fj.P3
- equals(Object) - Method in class fj.P4
- equals(Object) - Method in class fj.P5
- equals(Object) - Method in class fj.P6
- equals(Object) - Method in class fj.P7
- equals(Object) - Method in class fj.P8
- equals(Object) - Method in class fj.parser.Result
- equals0(Class<? super A>, A, Object, Equal<A>) - Static method in class fj.Equal
-
Helper method to implement
Object.equals(Object)
correctly. - equals0(Class<? super A>, A, Object, F0<Equal<A>>) - Static method in class fj.Equal
-
Helper method to implement
Object.equals(Object)
correctly. - error(String) - Static method in class fj.Bottom
-
Returns an error to represent undefinedness in a computation with early failure using the given message.
- error_(String) - Static method in class fj.Bottom
-
Provides a thunk that throws an error using the given message when evaluated.
- errorF(String) - Static method in class fj.Bottom
-
Provides a function that throws an error using the given message, ignoring its argument.
- errorStrategy(Strategy<A>, Effect1<Error>) - Static method in class fj.control.parallel.Strategy
-
Provides an error-handling strategy.
- errorStrategy(Effect1<Error>) - Method in class fj.control.parallel.Strategy
-
Provides an error-handling strategy.
- eToString() - Static method in class fj.Bottom
-
A function that returns the
toString
for a throwable. - eval() - Method in class fj.data.LazyString
- eval(S) - Method in class fj.data.State
- Eval<A> - Class in fj.data
-
Eval
is an abstraction over different models of evaluation. - Eval() - Constructor for class fj.data.Eval
- Eval.Always<A> - Class in fj.data
-
Represents a lazy computation that is evaluated every time when it's requested.
- Eval.BindTrampolineEval<A,B> - Class in fj.data
- Eval.DeferEval<A> - Class in fj.data
- Eval.Later<A> - Class in fj.data
-
Represents a lazy computation that is evaluated only once.
- Eval.Now<A> - Class in fj.data
-
Represents an eager computation.
- Eval.PureTrampolineEval<A> - Class in fj.data
- Eval.TrampolineEval<A> - Class in fj.data
-
A helper abstraction that allows to perform recursive lazy transformations in O(1) stack space.
- even - Static variable in class fj.function.Doubles
-
Evenness.
- even - Static variable in class fj.function.Integers
-
Evenness.
- exclusiveDisjunctionMonoid - Static variable in class fj.Monoid
-
A monoid that XORs booleans.
- exclusiveDisjunctionSemiGroup - Static variable in class fj.Semigroup
-
A semigroup that XORs booleans.
- exec(S) - Method in class fj.data.State
- executorStrategy(ExecutorService) - Static method in class fj.control.parallel.Strategy
-
Provides a parallelization strategy that uses an ExecutorService to control the method and degree of parallelism.
- exist(F<A, Boolean>) - Method in class fj.data.optic.Fold
-
check if at least one target satisfies the predicate
- exist(F<A, Boolean>) - Method in class fj.data.optic.PTraversal
-
check if at least one target satisfies the predicate
- exists(F<A, Boolean>) - Method in class fj.data.Array
-
Returns
true
if the predicate holds for at least one of the elements of this array,false
otherwise (false
for the empty array). - exists(F<A, Boolean>) - Method in class fj.data.Either.LeftProjection
-
Returns
false
if no value or returns the result of the application of the given function to the value. - exists(F<A, Boolean>) - Method in class fj.data.Either3.LeftProjection
- exists(F<A, Boolean>) - Method in class fj.data.List
-
Returns
true
if the predicate holds for at least one of the elements of this list,false
otherwise (false
for the empty list). - exists(F<A, Boolean>) - Method in class fj.data.Option
-
Returns
true
is this optional value has a value and the given predicate function holds on that value,false
otherwise. - exists(F<A, Boolean>) - Method in class fj.data.Stream
-
Returns
true
if the predicate holds for at least one of the elements of this stream,false
otherwise (false
for the empty stream). - exists(F<B, Boolean>) - Method in class fj.data.Either.RightProjection
-
Returns
false
if no value or returns the result of the application of the given function to the value. - exists(F<B, Boolean>) - Method in class fj.data.Either3.MiddleProjection
- exists(F<C, Boolean>) - Method in class fj.data.Either3.RightProjection
- exists(F<E, Boolean>) - Method in class fj.data.Validation.FailProjection
-
Returns
false
if this is a success or returns the result of the application of the given function to the failing value. - exists(F<T, Boolean>) - Method in class fj.data.Validation
-
Returns
false
if this is a failure or returns the result of the application of the given function to the success value. - exported - Variable in class fj.data.List.Buffer
- extend(E) - Method in class fj.data.hlist.HList
-
Extends (cons) this list by prepending the given element, returning a new list.
- extend(E) - Method in class fj.data.hlist.HList.HNil
- extend(X) - Method in class fj.data.hlist.HList.HCons
- extender() - Method in class fj.data.hlist.HList
- extender() - Method in class fj.data.hlist.HList.HCons
- extender() - Method in class fj.data.hlist.HList.HNil
F
- f - Variable in class fj.control.parallel.Actor
- f - Variable in class fj.control.parallel.Strategy
- f - Variable in class fj.data.Eval.BindTrampolineEval
- f - Variable in class fj.Hash
- f - Variable in class fj.parser.Parser
- f - Variable in class fj.Show
- f() - Method in class fj.control.parallel.Strategy
-
Returns the functional representation of this Strategy, a function that evaluates a product-1.
- f() - Static method in class fj.data.hlist.HList.Apply
-
Function application operator.
- f() - Method in interface fj.data.IO
- f() - Method in interface fj.data.SafeIO
- f() - Method in class fj.data.Validation
-
Returns a failing projection of this validation.
- f() - Method in interface fj.F0
- f() - Method in interface fj.function.Effect0
- f() - Method in interface fj.function.Try0
- f() - Method in interface fj.function.TryEffect0
- f() - Method in class fj.P1
- f(A) - Method in class fj.data.Reader
- f(A) - Method in interface fj.F
-
Transform
A
toB
. - f(A) - Method in interface fj.F2
-
Partial application.
- f(A) - Method in interface fj.function.Effect1
- f(A) - Method in interface fj.function.Try1
- f(A) - Method in interface fj.function.TryEffect1
- f(A, B) - Method in interface fj.F2
-
Transform
A
andB
toC
. - f(A, B) - Method in interface fj.function.Effect2
- f(A, B) - Method in interface fj.function.Try2
- f(A, B) - Method in interface fj.function.TryEffect2
- f(A, B, C) - Method in interface fj.F3
-
Transform
A
,B
andC
toD
. - f(A, B, C) - Method in interface fj.function.Effect3
- f(A, B, C) - Method in interface fj.function.Try3
- f(A, B, C) - Method in interface fj.function.TryEffect3
- f(A, B, C, D) - Method in interface fj.F4
-
Transform
A
,B
,C
andD
toE
. - f(A, B, C, D) - Method in interface fj.function.Effect4
- f(A, B, C, D) - Method in interface fj.function.Try4
- f(A, B, C, D) - Method in interface fj.function.TryEffect4
- f(A, B, C, D, E) - Method in interface fj.F5
-
Transform
A
,B
,C
,D
andE
toF$
. - f(A, B, C, D, E) - Method in interface fj.function.Effect5
- f(A, B, C, D, E) - Method in interface fj.function.Try5
- f(A, B, C, D, E) - Method in interface fj.function.TryEffect5
- f(A, B, C, D, E, F) - Method in interface fj.function.Effect6
- f(A, B, C, D, E, F) - Method in interface fj.function.Try6
- f(A, B, C, D, E, F) - Method in interface fj.function.TryEffect6
- f(A, B, C, D, E, F$) - Method in interface fj.F6
-
Transform
A
,B
,C
,D
,E
andF$
toG
. - f(A, B, C, D, E, F$, G) - Method in interface fj.F7
-
Transform
A
,B
,C
,D
,E
,F$
andG
toH
. - f(A, B, C, D, E, F$, G, H) - Method in interface fj.F8
-
Transform
A
,B
,C
,D
,E
,F$
,G
andH
toI
. - f(A, B, C, D, E, F, G) - Method in interface fj.function.Effect7
- f(A, B, C, D, E, F, G) - Method in interface fj.function.Try7
- f(A, B, C, D, E, F, G) - Method in interface fj.function.TryEffect7
- f(A, B, C, D, E, F, G, H) - Method in interface fj.function.Effect8
- f(A, B, C, D, E, F, G, H) - Method in interface fj.function.Try8
- f(A, B, C, D, E, F, G, H) - Method in interface fj.function.TryEffect8
- f(Iteratee.IterV<char[], A>) - Method in class fj.data.IOFunctions.CharChunkReader
- f(Iteratee.IterV<Character, A>) - Method in class fj.data.IOFunctions.CharChunkReader2
- f(Iteratee.IterV<String, A>) - Method in class fj.data.IOFunctions.LineReader
- f(Effect0) - Static method in class fj.Effect
- f(Effect1<A>) - Static method in class fj.Effect
-
Returns a function for the given effect.
- f(Effect2<A, B>) - Static method in class fj.Effect
- f(Effect3<A, B, C>) - Static method in class fj.Effect
- f(Effect4<A, B, C, D>) - Static method in class fj.Effect
- f(Effect5<A, B, C, D, E>) - Static method in class fj.Effect
- f(Effect6<A, B, C, D, E, $F>) - Static method in class fj.Effect
- f(Effect7<A, B, C, D, E, $F, G>) - Static method in class fj.Effect
- f(Effect8<A, B, C, D, E, $F, G, H>) - Static method in class fj.Effect
- f(Try0<A, E>) - Static method in class fj.Try
-
Promotes the Try0 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try1<A, B, E>) - Static method in class fj.Try
-
Promotes the Try1 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try2<A, B, C, E>) - Static method in class fj.Try
-
Promotes the Try2 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try3<A, B, C, D, E>) - Static method in class fj.Try
-
Promotes the Try3 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try4<A, B, C, D, E, Z>) - Static method in class fj.Try
-
Promotes the Try4 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try5<A, B, C, D, E, F, Z>) - Static method in class fj.Try
-
Promotes the Try5 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try6<A, B, C, D, E, F, G, Z>) - Static method in class fj.Try
-
Promotes the Try6 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try7<A, B, C, D, E, F, G, H, Z>) - Static method in class fj.Try
-
Promotes the Try7 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(Try8<A, B, C, D, E, F, G, H, I, Z>) - Static method in class fj.Try
-
Promotes the Try8 to a Validation that returns an Exception on the failure side and its result on the success side.
- f(TryEffect0<Z>) - Static method in class fj.TryEffect
- f(TryEffect1<A, Z>) - Static method in class fj.TryEffect
- f(TryEffect2<A, B, Z>) - Static method in class fj.TryEffect
- f(TryEffect3<A, B, C, Z>) - Static method in class fj.TryEffect
- f(TryEffect4<A, B, C, D, Z>) - Static method in class fj.TryEffect
- f(TryEffect5<A, B, C, D, E, Z>) - Static method in class fj.TryEffect
- f(TryEffect6<A, B, C, D, E, $F, Z>) - Static method in class fj.TryEffect
- f(TryEffect7<A, B, C, D, E, $F, G, Z>) - Static method in class fj.TryEffect
- f(TryEffect8<A, B, C, D, E, $F, G, H, Z>) - Static method in class fj.TryEffect
- F<A,B> - Interface in fj
-
A transformation or function from
A
toB
. - F_Function() - Static method in class fj.data.Java8
- F_Function(F<A, B>) - Static method in class fj.data.Java8
- F_SafeIO() - Static method in class fj.data.Conversions
- F_SafeIO(F<Unit, A>) - Static method in class fj.data.Conversions
- F0<A> - Interface in fj
- F2<A,B,C> - Interface in fj
-
A transformation function of arity-2 from
A
andB
toC
. - F2_BiFunction() - Static method in class fj.data.Java8
- F2_BiFunction(F2<A, B, C>) - Static method in class fj.data.Java8
- F3<A,B,C,D> - Interface in fj
-
A transformation function of arity-3 from
A
,B
andC
toD
. - F4<A,B,C,D,E> - Interface in fj
-
A transformation function of arity-4 from
A
,B
,C
andD
toE
. - F5<A,B,C,D,E,F$> - Interface in fj
-
A transformation function of arity-5 from
A
,B
,C
,D
andE
toF$
. - F6<A,B,C,D,E,F$,G> - Interface in fj
-
A transformation function of arity-6 from
A
,B
,C
,D
,E
andF$
toG
. - F7<A,B,C,D,E,F$,G,H> - Interface in fj
-
A transformation function of arity-7 from
A
,B
,C
,D
,E
,F$
andG
toH
. - F8<A,B,C,D,E,F$,G,H,I> - Interface in fj
-
A transformation function of arity-8 from
A
,B
,C
,D
,E
,F$
,G
andH
toI
. - fa - Variable in class fj.P1.Memo
- fa - Variable in class fj.P1.ReferenceMemo
- fail() - Method in class fj.data.Validation
-
Returns the failing value, or throws an error if there is no failing value.
- fail(E) - Static method in class fj.data.Validation
-
Returns a failing validation containing the given value.
- fail(E) - Static method in class fj.parser.Parser
-
Returns a parser that always fails with the given error.
- failE(F0<String>) - Method in class fj.data.Validation.FailProjection
-
Returns the failing value or fails with the given error message.
- failE(String) - Method in class fj.data.Validation.FailProjection
-
Returns the failing value or fails with the given error message.
- failK() - Method in interface fj.F
-
Promotes this function so that it returns its result on the failure side of a Validation.
- failNEL(E) - Static method in class fj.data.Validation
-
Returns a failing validation containing a non-empty list that contains the given value.
- FailProjection(Validation<E, T>) - Constructor for class fj.data.Validation.FailProjection
- fails(List<Validation<E, ?>>) - Static method in class fj.data.Validation
- FALSE_BIT - Static variable in class fj.data.hamt.BitSet
- fanout(F<B, C>, F<B, D>, B) - Static method in class fj.P2
-
Sends the given input value to both argument functions and combines their output.
- fileReader(File, Option<Charset>) - Static method in class fj.data.IOFunctions
- filter() - Static method in class fj.data.Stream
-
Returns a first-class version of the filter function.
- filter(F<A, Boolean>) - Method in class fj.data.Array
-
Filters elements from this array by returning only elements which produce
true
when the given function is applied to them. - filter(F<A, Boolean>) - Method in class fj.data.Array.ImmutableProjection
-
Filters elements from this array by returning only elements which produce
true
when the given function is applied to them. - filter(F<A, Boolean>) - Method in class fj.data.Either.LeftProjection
-
Returns
None
if this projection has no value or if the given predicatep
does not hold for the value, otherwise, returns a right inSome
. - filter(F<A, Boolean>) - Method in class fj.data.Either3.LeftProjection
- filter(F<A, Boolean>) - Method in class fj.data.fingertrees.FingerTree
- filter(F<A, Boolean>) - Method in class fj.data.List
-
Filters elements from this list by returning only elements which produce
true
when the given function is applied to them. - filter(F<A, Boolean>) - Method in class fj.data.Option
-
Filters elements from this optional value by returning only elements which produce
true
when the given function is applied to them. - filter(F<A, Boolean>) - Method in class fj.data.Seq
- filter(F<A, Boolean>) - Method in class fj.data.Set
-
Filters elements from this set by returning only elements which produce
true
when the given function is applied to them. - filter(F<A, Boolean>) - Method in class fj.data.Stream
-
Filters elements from this stream by returning only elements which produce
true
when the given function is applied to them. - filter(F<A, Boolean>, E) - Method in class fj.parser.Parser
-
Returns a parser that fails with the given error if the result value does not meet the given predicate.
- filter(F<B, Boolean>) - Method in class fj.data.Either.RightProjection
-
Returns
None
if this projection has no value or if the given predicatep
does not hold for the value, otherwise, returns a left inSome
. - filter(F<B, Boolean>) - Method in class fj.data.Either3.MiddleProjection
- filter(F<C, Boolean>) - Method in class fj.data.Either3.RightProjection
- filter(F<E, Boolean>) - Method in class fj.data.Validation.FailProjection
-
Returns
None
if this is a success or if the given predicatep
does not hold for the failing value, otherwise, returns a fail inSome
. - filter(F<T, Boolean>) - Method in class fj.data.Validation
-
Returns
None
if this is a failure or if the given predicatep
does not hold for the success value, otherwise, returns a success inSome
. - filter(List<A>, F<A, Boolean>) - Static method in class fj.java.util.ListUtil
- filterKeys(F<K, Boolean>) - Method in class fj.data.PriorityQueue
-
Filters the nodes based on the annotation of each node.
- filterValues(F<A, Boolean>) - Method in class fj.data.PriorityQueue
-
Filters nodes based on the value inside each node.
- find(F<A, Boolean>) - Method in class fj.data.Array
-
Finds the first occurrence of an element that matches the given predicate or no value if no elements match.
- find(F<A, Boolean>) - Method in class fj.data.List
-
Finds the first occurrence of an element that matches the given predicate or no value if no elements match.
- find(F<A, Boolean>) - Method in class fj.data.optic.Fold
-
find the first target of a
Fold
matching the predicate - find(F<A, Boolean>) - Method in class fj.data.optic.PTraversal
-
find the first target of a
PTraversal
matching the predicate - find(F<A, Boolean>) - Method in class fj.data.Stream
-
Finds the first occurrence of an element that matches the given predicate or no value if no elements match.
- find(F<A, Boolean>) - Method in class fj.data.Zipper
-
Moves the focus to the element matching the given predicate, if present.
- find(K) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Returns an optional value for the given key k.
- find(K, int, int) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Returns an optional value for the given key k for those nodes between lowIndex (inclusive) and highIndex (exclusive).
- findChild() - Static method in class fj.data.TreeZipper
-
A first-class version of the findChild function.
- findChild(F<Tree<A>, Boolean>) - Method in class fj.data.TreeZipper
-
Navigates to the first child of the current location, that satisfies the given predicate.
- findFirst(List<Option<X>>, F0<X>) - Static method in class fj.function.Visitor
-
Returns the first value available in the given list of optional values.
- FingerTree<V,A> - Class in fj.data.fingertrees
-
Provides 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in amortized O(1) time.
- FingerTree(Measured<V, A>) - Constructor for class fj.data.fingertrees.FingerTree
- fingerTreeShow(Show<V>, Show<A>) - Static method in class fj.Show
- first() - Method in class fj.data.optic.Getter
- first() - Method in class fj.data.optic.Iso
- first() - Method in class fj.data.optic.Optional
- first() - Method in class fj.data.optic.PIso
- first() - Method in class fj.data.optic.POptional
- firstChild() - Method in class fj.data.TreeZipper
-
Navigtes to the first child of the current location.
- firstOptionMonoid() - Static method in class fj.Monoid
-
A monoid for options that take the first available value.
- firstOptionSemigroup() - Static method in class fj.Semigroup
-
A semigroup for optional values that take the first available value.
- firstSemigroup() - Static method in class fj.Semigroup
-
A semigroup which always uses the "first" (left-hand side) value.
- fj - package fj
-
Types that set the premise for the existence of Functional Java.
- fj.control - package fj.control
-
Functional control abstractions.
- fj.control.db - package fj.control.db
-
Abstractions for JDBC connections.
- fj.control.parallel - package fj.control.parallel
-
Parallelization strategies.
- fj.data - package fj.data
-
Common algebraic data types.
- fj.data.fingertrees - package fj.data.fingertrees
-
Provides 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in amortized O(1) time.
- fj.data.hamt - package fj.data.hamt
- fj.data.hlist - package fj.data.hlist
-
Type-safe, extensible, heterogeneous lists
- fj.data.optic - package fj.data.optic
-
Optic data types adapted from the Scala Monocle library and inspired by the Haskell Lens library.
- fj.data.vector - package fj.data.vector
-
Fixed-length vectors
- fj.function - package fj.function
-
A prelude of commonly used first-class functions
- fj.java.util - package fj.java.util
- fj.parser - package fj.parser
-
Parser combinators.
- flatMap(IO<A>, F<A, IO<B>>) - Static method in class fj.data.IOFunctions
- flatMap(State<S, A>, F<A, State<S, B>>) - Static method in class fj.data.State
- flatMap(F<A, Eval<B>>) - Method in class fj.data.Eval
-
Alias for
Eval.bind(F)
. - flatMap(F<A, State<S, B>>) - Method in class fj.data.State
-
Bind the given function across this state.
- flatMap(F<A, Writer<W, B>>) - Method in class fj.data.Writer
- flatMap(F<B, Reader<A, C>>) - Method in class fj.data.Reader
- flatMap(List<A>, F<A, List<B>>) - Static method in class fj.java.util.ListUtil
- flatten() - Method in class fj.data.Tree
-
Puts the elements of the tree into a Stream, in pre-order.
- flatten_() - Static method in class fj.data.Tree
-
flatten :: Tree a -> [a] flatten t = squish t []
- flip() - Method in interface fj.F2
-
Flips the arguments of this function.
- flip() - Static method in class fj.Function
-
Function argument flipping.
- flip(F<A, F<B, C>>) - Static method in class fj.Function
-
Function argument flipping.
- flip(F2<A, B, C>) - Static method in class fj.Function
-
Function argument flipping.
- flip2() - Static method in class fj.Function
-
Function argument flipping.
- Float_Boolean - Static variable in class fj.Primitive
-
A function that converts floats to booleans.
- Float_Byte - Static variable in class fj.Primitive
-
A function that converts floats to bytes.
- Float_Character - Static variable in class fj.Primitive
-
A function that converts floats to characters.
- Float_Double - Static variable in class fj.Primitive
-
A function that converts floats to doubles.
- Float_Integer - Static variable in class fj.Primitive
-
A function that converts floats to integers.
- Float_Long - Static variable in class fj.Primitive
-
A function that converts floats to longs.
- Float_Short - Static variable in class fj.Primitive
-
A function that converts floats to shorts.
- floatEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
float
. - floatEqual - Static variable in class fj.Equal
-
An equal instance for the
float
type. - floatHash - Static variable in class fj.Hash
-
A hash instance for the
float
type. - floatOrd - Static variable in class fj.Ord
-
An order instance for the
float
type. - floatShow - Static variable in class fj.Show
-
A show instance for the
float
type. - floatValue() - Method in class fj.data.Natural
-
Return the float value of this natural number.
- flt(Ord<A>, Strategy<Unit>, A, F<Boolean, Boolean>) - Static method in class fj.data.Stream
- fmap(F<A, B>) - Static method in class fj.control.parallel.Callables
-
Lifts any function to a function on Callables.
- fmap(F<A, B>) - Method in class fj.control.parallel.Promise
-
Provides a promise to apply the given function to this promise's future value (covariant functor pattern).
- fmap(F<A, B>) - Method in class fj.data.Tree
-
Maps the given function over this tree.
- fmap_() - Static method in class fj.data.Tree
-
Provides a transformation to lift any function so that it maps over Trees.
- fmap_(F<A, B>) - Static method in class fj.control.parallel.Promise
-
Promotes any function to a transformation between promises (covariant functor pattern).
- focus - Variable in class fj.data.Zipper
- focus() - Method in class fj.data.TreeZipper
-
Returns the tree at the currently focused node.
- focus() - Method in class fj.data.Zipper
-
Returns the focus element of this zipper.
- fold(F<Trampoline.Normal<A>, R>, F<Trampoline.Codense<A>, R>) - Method in class fj.control.Trampoline.Codense
- fold(F<Trampoline.Normal<A>, R>, F<Trampoline.Codense<A>, R>) - Method in class fj.control.Trampoline
- fold(F<Trampoline.Normal<A>, R>, F<Trampoline.Codense<A>, R>) - Method in class fj.control.Trampoline.Pure
- fold(F<Trampoline.Normal<A>, R>, F<Trampoline.Codense<A>, R>) - Method in class fj.control.Trampoline.Suspend
- fold(F<P2<A, Iteratee.Input<E>>, Z>, F<F<Iteratee.Input<E>, Iteratee.IterV<E, A>>, Z>) - Method in class fj.data.Iteratee.IterV
- fold(Monoid<A>) - Method in class fj.data.optic.Fold
-
combine all targets using a target's
Monoid
- fold(Monoid<A>) - Method in class fj.data.optic.PTraversal
-
combine all targets using a target's
Monoid
- fold(List<A>, F2<B, A, B>, B) - Static method in class fj.java.util.ListUtil
- Fold<S,A> - Class in fj.data.optic
-
A
Fold
can be seen as aGetter
with many targets or a weakerPTraversal
which cannot modify its target. - Fold() - Constructor for class fj.data.optic.Fold
- foldLeft() - Static method in class fj.data.List
-
Provides a first-class version of foldLeft.
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.Array
-
Performs a left-fold reduction across this array.
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.Array.ImmutableProjection
-
Performs a left-fold reduction across this array.
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Deep
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Digit
-
Folds this digit to the left using the given function and the given initial value.
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Empty
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.FingerTree
-
Folds the tree to the left with the given function and the given initial element.
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Four
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Node
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Node2
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Node3
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.One
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Single
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Three
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.fingertrees.Two
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.IterableW
-
The catamorphism for Iterables, implemented as a left fold.
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.List
-
Performs a left-fold reduction across this list.
- foldLeft(F<B, F<A, B>>, B) - Method in class fj.data.Stream
-
Performs a left-fold reduction across this stream.
- foldLeft(F2<A, Boolean, A>, A) - Method in class fj.data.hamt.BitSet
- foldLeft(F2<B, A, B>, B) - Method in class fj.data.Array
-
Performs a left-fold reduction across this array.
- foldLeft(F2<B, A, B>, B) - Method in class fj.data.fingertrees.FingerTree
- foldLeft(F2<B, A, B>, B) - Method in class fj.data.List
-
Performs a left-fold reduction across this list.
- foldLeft(F2<B, A, B>, B) - Method in class fj.data.Seq
- foldLeft(F2<B, A, B>, B) - Method in class fj.data.Stream
-
Performs a left-fold reduction across this stream.
- foldLeft(F2<B, P2<K, V>, B>, B) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Performs a left-fold reduction across this trie.
- foldLeft(F2<B, P2<K, V>, B>, F2<B, HashArrayMappedTrie<K, V>, B>, B) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Performs a left-fold reduction across this trie.
- foldLeft_(F<B, F<A, B>>) - Static method in class fj.data.fingertrees.Node
- foldLeft1(F<A, F<A, A>>) - Method in class fj.data.IterableW
-
Takes the first 2 elements of the iterable and applies the function to them, then applies the function to the result and the third element and so on.
- foldLeft1(F<A, F<A, A>>) - Method in class fj.data.List
-
Takes the first 2 elements of the list and applies the function to them, then applies the function to the result and the third element and so on.
- foldLeft1(F<A, F<A, A>>) - Method in class fj.data.NonEmptyList
-
Performs a left-fold reduction across this list.
- foldLeft1(F<A, F<A, A>>) - Method in class fj.data.Stream
-
Takes the first 2 elements of the stream and applies the function to them, then applies the function to the result and the third element and so on.
- foldLeft1(F2<A, A, A>) - Method in class fj.data.IterableW
-
Takes the first 2 elements of the iterable and applies the function to them, then applies the function to the result and the third element and so on.
- foldLeft1(F2<A, A, A>) - Method in class fj.data.List
-
Takes the first 2 elements of the list and applies the function to them, then applies the function to the result and the third element and so on.
- foldLeft1(F2<A, A, A>) - Method in class fj.data.NonEmptyList
-
Performs a left-fold reduction across this list.
- foldLeft1(F2<A, A, A>) - Method in class fj.data.Stream
-
Takes the first 2 elements of the stream and applies the function to them, then applies the function to the result and the third element and so on.
- foldLeftOnNode(F2<B, Node<K, V>, B>, B) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Performs a left-fold reduction across this trie.
- foldMap(F<A, B>, Monoid<B>) - Method in class fj.data.Set
-
Folds this Set using the given monoid.
- foldMap(F<A, B>, Monoid<B>) - Method in class fj.data.Tree
-
Folds this tree using the given monoid.
- foldMap(Monoid<M>, F<A, M>) - Method in class fj.data.optic.Fold
- foldMap(Monoid<M>, F<A, M>) - Method in class fj.data.optic.PTraversal
-
map each target to a
Monoid
and combine the results - foldMap(Monoid<M>, F<A, M>) - Method in class fj.data.optic.Traversal
- foldMap_(F<A, B>, Monoid<B>) - Static method in class fj.data.Tree
-
Provides a function that folds a tree with the given monoid.
- foldMapRight(F<A, B>, Monoid<B>) - Method in class fj.data.Set
-
Folds this Set from the right using the given monoid.
- foldMapTree(Monoid<B>) - Method in interface fj.F
-
Returns a function that maps this function over a tree and folds it with the given monoid.
- foldNormal(F<A, R>, F<P1<Trampoline<A>>, R>) - Method in class fj.control.Trampoline.Normal
- foldNormal(F<A, R>, F<P1<Trampoline<A>>, R>) - Method in class fj.control.Trampoline.Pure
- foldNormal(F<A, R>, F<P1<Trampoline<A>>, R>) - Method in class fj.control.Trampoline.Suspend
- foldRight - Variable in class fj.data.hlist.HList.HFoldr
- foldRight() - Static method in class fj.data.Stream
-
A first-class version of the foldRight function.
- foldRight(Strategy<Unit>, F<A, F<B, B>>, B) - Static method in class fj.control.parallel.Promise
-
Performs a right-fold reduction across a list in constant stack space.
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.Array
-
Performs a right-fold reduction across this array.
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.Array.ImmutableProjection
-
Performs a right-fold reduction across this array.
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Deep
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Digit
-
Folds this digit to the right using the given function and the given initial value.
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Empty
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.FingerTree
-
Folds the tree to the right with the given function and the given initial element.
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Four
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Node
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Node2
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Node3
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.One
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Single
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Three
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.fingertrees.Two
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.List
-
Performs a right-fold reduction across this list.
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.Zipper
-
Performs a right-fold reduction across this zipper.
- foldRight(F<A, F<P1<B>, B>>, B) - Method in class fj.data.Stream
-
Performs a right-fold reduction across this stream.
- foldRight(F2<A, B, B>, B) - Method in class fj.data.Array
-
Performs a right-fold reduction across this array.
- foldRight(F2<A, B, B>, B) - Method in class fj.data.fingertrees.FingerTree
- foldRight(F2<A, B, B>, B) - Method in class fj.data.IterableW
-
The catamorphism for Iterables, implemented as a right fold.
- foldRight(F2<A, B, B>, B) - Method in class fj.data.List
-
Performs a right-fold reduction across this list.
- foldRight(F2<A, B, B>, B) - Method in class fj.data.Seq
- foldRight(F2<A, P1<B>, B>, B) - Method in class fj.data.Stream
-
Performs a right-fold reduction across this stream.
- foldRight(F2<Boolean, A, A>, A) - Method in class fj.data.hamt.BitSet
- foldRight(G, V, L) - Method in class fj.data.hlist.HList.HFoldr
-
Folds a non-empty heterogeneous list.
- foldRight_(F<A, F<B, B>>) - Static method in class fj.data.fingertrees.Node
- foldRight1(F<A, F<A, A>>) - Method in class fj.data.NonEmptyList
-
Performs a right-fold reduction across this list.
- foldRight1(F<A, F<B, B>>, B) - Method in class fj.data.Stream
-
Performs a right-fold reduction across this stream.
- foldRight1(F2<A, A, A>) - Method in class fj.data.NonEmptyList
-
Performs a right-fold reduction across this list.
- foldRight1(F2<A, B, B>, B) - Method in class fj.data.Stream
-
Performs a right-fold reduction across this stream.
- foldRightC(F2<A, B, B>, B) - Method in class fj.data.List
-
Performs a right-fold reduction across this list in O(1) stack space.
- foldRightS(Strategy<Unit>, F<A, F<P1<B>, B>>, B) - Static method in class fj.control.parallel.Promise
-
Performs a right-fold reduction across a Stream in constant stack space.
- forall(F<A, Boolean>) - Method in class fj.data.Array
-
Returns
true
if the predicate holds for all of the elements of this array,false
otherwise (true
for the empty array). - forall(F<A, Boolean>) - Method in class fj.data.Either.LeftProjection
-
Returns
true
if no value or returns the result of the application of the given function to the value. - forall(F<A, Boolean>) - Method in class fj.data.Either3.LeftProjection
- forall(F<A, Boolean>) - Method in class fj.data.List
-
Returns
true
if the predicate holds for all of the elements of this list,false
otherwise (true
for the empty list). - forall(F<A, Boolean>) - Method in class fj.data.Option
-
Returns
true
if this optional value has no value, or the predicate holds for the given predicate function,false
otherwise. - forall(F<A, Boolean>) - Method in class fj.data.Stream
-
Returns
true
if the predicate holds for all of the elements of this stream,false
otherwise (true
for the empty stream). - forall(F<B, Boolean>) - Method in class fj.data.Either.RightProjection
-
Returns
true
if no value or returns the result of the application of the given function to the value. - forall(F<B, Boolean>) - Method in class fj.data.Either3.MiddleProjection
- forall(F<C, Boolean>) - Method in class fj.data.Either3.RightProjection
- forall(F<E, Boolean>) - Method in class fj.data.Validation.FailProjection
-
Returns
true
if this is a success or returns the result of the application of the given function to the failing value. - forall(F<T, Boolean>) - Method in class fj.data.Validation
-
Returns
true
if this is a failure or returns the result of the application of the given function to the success value. - foreach(F<A, Unit>) - Method in class fj.data.Array
-
Performs a side-effect for each element of this array.
- foreach(F<A, Unit>) - Method in class fj.data.Array.ImmutableProjection
-
Performs a side-effect for each element of this array.
- foreach(F<A, Unit>) - Method in class fj.data.Either.LeftProjection
-
Execute a side-effect on this projection's value if it has one.
- foreach(F<A, Unit>) - Method in class fj.data.Either3.LeftProjection
- foreach(F<A, Unit>) - Method in class fj.data.List
-
Performs a side-effect for each element of this list.
- foreach(F<A, Unit>) - Method in class fj.data.Option
-
Performs a side-effect for the value of this optional value.
- foreach(F<A, Unit>) - Method in class fj.data.Stream
-
Performs a side-effect for each element of this stream.
- foreach(F<B, Unit>) - Method in class fj.data.Either.RightProjection
-
Execute a side-effect on this projection's value if it has one.
- foreach(F<B, Unit>) - Method in class fj.data.Either3.MiddleProjection
- foreach(F<C, Unit>) - Method in class fj.data.Either3.RightProjection
- foreach(F<E, Unit>) - Method in class fj.data.Validation.FailProjection
-
Executes a side-effect on the failing value if there is one.
- foreach(F<P2<K, V>, Unit>) - Method in class fj.data.HashMap
- foreach(F<T, Unit>) - Method in class fj.data.Validation
-
Executes a side-effect on the success value if there is one.
- foreachDoEffect(Effect1<A>) - Method in class fj.data.Array
-
Performs a side-effect for each element of this array.
- foreachDoEffect(Effect1<A>) - Method in class fj.data.Either.LeftProjection
-
Execute a side-effect on this projection's value if it has one.
- foreachDoEffect(Effect1<A>) - Method in class fj.data.Either3.LeftProjection
- foreachDoEffect(Effect1<A>) - Method in class fj.data.List
-
Performs a side-effect for each element of this list.
- foreachDoEffect(Effect1<A>) - Method in class fj.data.Option
-
Performs a side-effect for the value of this optional value.
- foreachDoEffect(Effect1<A>) - Method in class fj.data.Stream
-
Performs a side-effect for each element of this stream.
- foreachDoEffect(Effect1<B>) - Method in class fj.data.Either.RightProjection
-
Execute a side-effect on this projection's value if it has one.
- foreachDoEffect(Effect1<B>) - Method in class fj.data.Either3.MiddleProjection
- foreachDoEffect(Effect1<C>) - Method in class fj.data.Either3.RightProjection
- foreachDoEffect(Effect1<E>) - Method in class fj.data.Validation.FailProjection
-
Executes a side-effect on the failing value if there is one.
- foreachDoEffect(Effect1<P2<K, V>>) - Method in class fj.data.HashMap
- foreachDoEffect(Effect1<T>) - Method in class fj.data.Validation
-
Executes a side-effect on the success value if there is one.
- forever(Enumerator<A>, A) - Static method in class fj.data.Stream
-
Returns a stream that is either infinite or bounded up to the maximum value of the given iterator starting at the given value and stepping at increments of
1
. - forever(Enumerator<A>, A, long) - Static method in class fj.data.Stream
-
Returns a stream that is either infinite or bounded up to the maximum value of the given iterator starting at the given value and stepping at the given increment.
- four(A, A, A, A) - Method in class fj.data.fingertrees.MakeTree
-
A digit of four elements.
- Four<V,A> - Class in fj.data.fingertrees
-
A four-element prefix or suffix of a finger tree.
- Four(Measured<V, A>, V4<A>) - Constructor for class fj.data.fingertrees.Four
- fromBigInt - Static variable in class fj.data.Natural
-
A function that returns the natural number equal to a given BigInteger
- fromChar - Static variable in enum fj.Digit
-
First-class conversion from a character to a digit.
- fromChar(char) - Static method in enum fj.Digit
-
Converts the given character in the given long value to a digit.
- fromCurried(PTraversal<S, F<B, T>, A, B>, F<S, A>) - Static method in class fj.data.optic.PTraversal
- fromEither() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from an Either to a Callable.
- fromEither(F0<Either<Exception, A>>) - Static method in class fj.control.parallel.Callables
-
Turns a given Either value into the equivalent Callable.
- fromF(F<A, Unit>) - Static method in interface fj.function.Effect1
- fromF(F0<A>) - Static method in class fj.data.IOFunctions
- fromForest(Stream<Tree<A>>) - Static method in class fj.data.TreeZipper
-
Creates a new tree zipper focused on the first element of the given forest.
- fromFunction(Enumerator<B>, F<B, A>, B) - Static method in class fj.data.Stream
-
Converts a function of an enumerable type to a stream of the results of that function, starting at the given index.
- fromFunction(F<Natural, A>) - Static method in class fj.data.Stream
-
Converts a function of natural numbers to a stream.
- fromInt(int) - Static method in enum fj.Ordering
- fromIterator(Iterator<A>) - Static method in class fj.data.List
-
Constructs a list from the given Iterator.
- fromJavaList(List<A>) - Static method in class fj.data.Seq
-
Constructs a sequence from the given list.
- fromList(List<A>) - Static method in class fj.data.List.Buffer
-
Constructs a buffer from the given list.
- fromList(List<A>) - Static method in class fj.data.NonEmptyList
-
Returns a potential non-empty list from the given list.
- fromLong - Static variable in enum fj.Digit
-
First-class conversion from a long to a digit.
- fromLong(long) - Static method in enum fj.Digit
-
Converts the right-most digit in the given long value to a digit.
- fromMap(Equal<K>, Hash<K>, Map<K, V>) - Static method in class fj.data.HashMap
- fromMap(Map<K, V>) - Static method in class fj.data.HashMap
- fromMutableMap(Ord<K>, Map<K, V>) - Static method in class fj.data.TreeMap
-
An immutable projection of the given mutable map.
- fromNull() - Static method in class fj.data.Option
-
Turns an unsafe nullable value into a safe optional value.
- fromNull(T) - Static method in class fj.data.Option
-
Turns an unsafe nullable value into a safe optional value.
- fromOption() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from an optional value to a Callable
- fromOption(F0<Option<A>>) - Static method in class fj.control.parallel.Callables
-
Turns an optional value into a Callable.
- fromSet(Set<A>) - Static method in class fj.data.HashSet
- fromSome() - Static method in class fj.data.Option
-
Returns a function that takes an optional value to a value or errors if there is no value.
- fromStream - Static variable in class fj.data.LazyString
-
First-class conversion from character streams to lazy strings.
- fromStream(Stream<A>) - Static method in class fj.data.Zipper
-
Possibly create a zipper if the provided stream has at least one element, otherwise None.
- fromStream(Stream<Character>) - Static method in class fj.data.LazyString
-
Constructs a lazy string from a stream of characters.
- fromStreamEnd(Stream<A>) - Static method in class fj.data.Zipper
-
Possibly create a zipper if the provided stream has at least one element, otherwise None.
- fromString() - Static method in class fj.data.List
-
A first-class
fromString
. - fromString() - Static method in class fj.data.Option
-
Returns a function that transforms a string to an optional non-empty string, or no value if the string is empty.
- fromString() - Static method in class fj.function.Doubles
-
A function that converts strings to doubles.
- fromString() - Static method in class fj.function.Integers
-
A function that converts strings to integers.
- fromString() - Static method in class fj.function.Longs
-
A function that converts strings to integers.
- fromString(String) - Static method in class fj.data.List
-
Returns a list of characters from the given string.
- fromString(String) - Static method in class fj.data.Option
-
Returns an optional non-empty string, or no value if the given string is empty.
- fromString(String) - Static method in class fj.data.Stream
-
Returns a stream of characters from the given string.
- fromTree() - Static method in class fj.data.TreeZipper
-
First-class conversion of a Tree to the corresponding tree zipper.
- fromTree(Tree<A>) - Static method in class fj.data.TreeZipper
-
Creates a new tree zipper focused on the root of the given tree.
- fromTry(Try0<A, ? extends IOException>) - Static method in class fj.data.IOFunctions
- ftree - Variable in class fj.data.PriorityQueue
- ftree - Variable in class fj.data.Seq
- function - Variable in class fj.data.Reader
- Function - Class in fj
-
Transformations on functions.
- Function() - Constructor for class fj.Function
- Function_F() - Static method in class fj.data.Java8
- Function_F(Function<A, B>) - Static method in class fj.data.Java8
- functionMonoid(Monoid<B>) - Static method in class fj.Monoid
-
A monoid for functions.
- functionSemigroup(Semigroup<B>) - Static method in class fj.Semigroup
-
A semigroup for functions.
- Future_P1() - Static method in class fj.data.Java
G
- get() - Method in class fj.data.HashMap
-
A curried version of
HashMap.get(Object)
. - get() - Method in class fj.data.TreeMap
-
Returns a first-class version of the get method for this TreeMap.
- get() - Method in interface fj.F0
- get(int) - Method in class fj.data.Array
-
Returns the element at the given index if it exists, fails otherwise.
- get(int) - Method in class fj.data.Array.ImmutableProjection
-
Returns the element at the given index if it exists, fails otherwise.
- get(K) - Method in class fj.data.HashMap
-
Returns a potential value that the given key maps to.
- get(K) - Method in class fj.data.TreeMap
-
Returns a potential value that the given key maps to.
- get(S) - Method in class fj.data.optic.Getter
-
get the target of a
Getter
- get(S) - Method in class fj.data.optic.Iso
- get(S) - Method in class fj.data.optic.Lens
- get(S) - Method in class fj.data.optic.PIso
-
get the target of a
PIso
- get(S) - Method in class fj.data.optic.PLens
-
get the target of a
PLens
- getAll(S) - Method in class fj.data.optic.Fold
-
get all the targets of a
Fold
TODO: Shall it return a Stream as there might be an infinite number of targets? - getAll(S) - Method in class fj.data.optic.PTraversal
-
get all the targets of a
PTraversal
- getBitSet() - Method in class fj.data.hamt.HashArrayMappedTrie
- getChild(int) - Method in class fj.data.TreeZipper
-
Navigates to the given child of the current location, starting at index 0.
- getContents() - Static method in interface fj.data.IO
- getContents() - Static method in class fj.data.IOFunctions
- getDelete(K) - Method in class fj.data.HashMap
-
Deletes the entry in the hash map that corresponds to the given key and returns any associated value.
- getDirectionality - Static variable in class fj.function.Characters
- getFunction() - Method in class fj.data.Reader
- getLabel() - Method in class fj.data.TreeZipper
-
Returns the label at the current node.
- getNumericValue - Static variable in class fj.function.Characters
- getOption(S) - Method in class fj.data.optic.Optional
- getOption(S) - Method in class fj.data.optic.POptional
-
get the target of a
POptional
or nothing if there is no target - getOption(S) - Method in class fj.data.optic.PPrism
-
get the target of a
PPrism
or nothing if there is no target - getOption(S) - Method in class fj.data.optic.Prism
- getOrModify(S) - Method in class fj.data.optic.Optional
- getOrModify(S) - Method in class fj.data.optic.POptional
-
get the target of a
POptional
or modify the source in case there is no target - getOrModify(S) - Method in class fj.data.optic.PPrism
-
get the target of a
PPrism
or modify the source in case there is no target - getOrModify(S) - Method in class fj.data.optic.Prism
- getRoot() - Static method in class fj.data.Tree
- gets() - Method in class fj.data.State
- gets(F<S, A>) - Static method in class fj.data.State
- getSeed() - Method in class fj.LcgRng
- getSeq() - Method in class fj.data.hamt.HashArrayMappedTrie
- getter(F<S, A>) - Static method in class fj.data.optic.Getter
- Getter<S,A> - Class in fj.data.optic
-
A
Getter
can be seen as a glorified get method between a type S and a type A. - Getter() - Constructor for class fj.data.optic.Getter
- getType - Static variable in class fj.function.Characters
- group(Equal<A>) - Method in class fj.data.List
-
Groups elements according to the given equality implementation by longest sequence of equal elements.
- groupBy(F<A, B>, F<A, C>, D, F2<C, D, D>, Ord<B>) - Method in class fj.data.List
-
Groups the elements of this list by a given keyFunction, applies the valueFunction and accumulates the mapped values with the given grouping accumulator function on the grouping identity.
- groupBy(F<A, B>, F<A, C>, Monoid<C>, Ord<B>) - Method in class fj.data.List
-
Groups the elements of this list by a given keyFunction into a
TreeMap
and transforms the matching elements with the given valueFunction. - groupBy(F<A, B>, F<A, C>, Ord<B>) - Method in class fj.data.List
-
Groups the elements of this list by a given keyFunction into a
TreeMap
and transforms the matching elements with the given valueFunction. - groupBy(F<A, B>, Ord<B>) - Method in class fj.data.List
-
Groups the elements of this list by a given keyFunction into a
TreeMap
. - GT - fj.Ordering
-
Greater than.
- gteZero - Static variable in class fj.function.Doubles
-
A function that returns true if the given double is greater than or equal to zero.
- gteZero - Static variable in class fj.function.Integers
-
A function that returns true if the given integer is greater than or equal to zero.
- gtZero - Static variable in class fj.function.Doubles
-
A function that returns true if the given double is greater than zero.
- gtZero - Static variable in class fj.function.Integers
-
A function that returns true if the given integer is greater than zero.
H
- h - Variable in class fj.data.HashMap
- HAdd(C) - Constructor for class fj.data.hlist.HPre.HAdd
- hamt(BitSet, Seq<Node<K, V>>, Equal<K>, Hash<K>) - Static method in class fj.data.hamt.HashArrayMappedTrie
-
Static constructor for a HAMT instance.
- hamtNode(HashArrayMappedTrie<K, V>) - Static method in class fj.data.hamt.Node
- hamtNodeShow(Show<K>, Show<V>) - Static method in class fj.Show
- hamtShow(Show<K>, Show<V>) - Static method in class fj.Show
- hAnd(HPre.HFalse, HPre.HFalse) - Static method in class fj.data.hlist.HPre.HAnd
- hAnd(HPre.HFalse, HPre.HTrue) - Static method in class fj.data.hlist.HPre.HAnd
- hAnd(HPre.HTrue, HPre.HFalse) - Static method in class fj.data.hlist.HPre.HAnd
- hAnd(HPre.HTrue, HPre.HTrue) - Static method in class fj.data.hlist.HPre.HAnd
- HAnd(C) - Constructor for class fj.data.hlist.HPre.HAnd
- HAppend(F2<A, B, C>) - Constructor for class fj.data.hlist.HList.HAppend
- hardMemo() - Method in class fj.P1
-
Returns a P1 that remembers its value.
- hardMemo() - Method in class fj.P1.Memo
- hardMemo(F0<A>) - Static method in class fj.P
-
Convert a F0 into a P1, using call-by-need semantic: function f is evaluated at most once, at first to
P1._1()
. - hasChildren() - Method in class fj.data.TreeZipper
-
Indicates whether the current node has any child nodes.
- hash - Variable in class fj.data.hamt.HashArrayMappedTrie
- hash(A) - Method in class fj.data.HashSet
-
Compute the hash of the given value using the underlying hashing strategy.
- hash(A) - Method in class fj.Hash
-
Compute the hash of the given value.
- hash(F<A, Integer>) - Static method in class fj.Hash
-
Construct a hash with the given hash function.
- hash(K) - Method in class fj.data.HashMap
-
Compute the hash of the given key value using the underlying hashing strategy.
- Hash<A> - Class in fj
-
Produces a hash code for an object which should attempt uniqueness.
- Hash(F<A, Integer>) - Constructor for class fj.Hash
- HashArrayMappedTrie<K,V> - Class in fj.data.hamt
-
A hash array mapped trie (HAMT) is an implementation of an associative array that combines the characteristics of a hash table and an array mapped trie.
- HashArrayMappedTrie(BitSet, Seq<Node<K, V>>, Equal<K>, Hash<K>) - Constructor for class fj.data.hamt.HashArrayMappedTrie
-
Creates an empty trie for the bitset, sequence of nodes, equal and hash.
- hashCode() - Method in class fj.data.Array
- hashCode() - Method in class fj.data.Either
- hashCode() - Method in class fj.data.Either3
- hashCode() - Method in class fj.data.HashMap.Key
- hashCode() - Method in class fj.data.List
-
Compute the hash code from this list as a function of the hash codes of its members.
- hashCode() - Method in class fj.data.Natural
- hashCode() - Method in class fj.data.NonEmptyList
- hashCode() - Method in class fj.data.Option
- hashCode() - Method in class fj.data.Seq
- hashCode() - Method in class fj.data.Set
- hashCode() - Method in class fj.data.Stream
- hashCode() - Method in class fj.data.Tree
- hashCode() - Method in class fj.data.TreeMap
- hashCode() - Method in class fj.data.TreeZipper
- hashCode() - Method in class fj.data.Validation
- hashCode() - Method in class fj.data.vector.V2
- hashCode() - Method in class fj.data.vector.V3
- hashCode() - Method in class fj.data.vector.V4
- hashCode() - Method in class fj.data.vector.V5
- hashCode() - Method in class fj.data.vector.V6
- hashCode() - Method in class fj.data.vector.V7
- hashCode() - Method in class fj.data.vector.V8
- hashCode() - Method in class fj.data.Zipper
- hashCode() - Method in class fj.P1
- hashCode() - Method in class fj.P2
- hashCode() - Method in class fj.P3
- hashCode() - Method in class fj.P4
- hashCode() - Method in class fj.P5
- hashCode() - Method in class fj.P6
- hashCode() - Method in class fj.P7
- hashCode() - Method in class fj.P8
- hashCode() - Method in class fj.parser.Result
- hashMap() - Static method in class fj.data.HashMap
-
Construct a hash map that uses
Object.equals(java.lang.Object)
andObject.hashCode()
. - hashMap(Equal<K>, Hash<K>) - Static method in class fj.data.HashMap
-
Construct a hash map.
- HashMap<K,V> - Class in fj.data
-
A mutable hash map providing O(1) lookup.
- HashMap(Equal<K>, Hash<K>) - Constructor for class fj.data.HashMap
-
Construct a hash map with the given equality and hashing strategy.
- HashMap(Equal<K>, Hash<K>, int) - Constructor for class fj.data.HashMap
-
Construct a hash map with the given equality and hashing strategy.
- HashMap(Equal<K>, Hash<K>, int, float) - Constructor for class fj.data.HashMap
-
Construct a hash map with the given equality and hashing strategy.
- HashMap(Map<K, V>) - Constructor for class fj.data.HashMap
- HashMap(Map<K, V>, Equal<K>, Hash<K>) - Constructor for class fj.data.HashMap
- HashMap.Key - Class in fj.data
- hashSet(A...) - Static method in class fj.data.HashSet
-
Create a HashSet from the array.
- hashSet(Equal<A>, Hash<A>, A...) - Static method in class fj.data.HashSet
-
Create a HashSet from the array.
- HashSet<A> - Class in fj.data
-
A mutable hash set that guarantees uniqueness of its elements providing O(1) lookup.
- HashSet(Equal<A>, Hash<A>) - Constructor for class fj.data.HashSet
-
Construct a hash set with the given equality and hashing strategy.
- HashSet(Equal<A>, Hash<A>, int) - Constructor for class fj.data.HashSet
-
Construct a hash set with the given equality and hashing strategy.
- HashSet(Equal<A>, Hash<A>, int, float) - Constructor for class fj.data.HashSet
-
Construct a hash set with the given equality and hashing strategy.
- HashSet_List() - Static method in class fj.data.Java
-
A function that converts hash sets to lists.
- HBool() - Constructor for class fj.data.hlist.HPre.HBool
- hCond(HPre.HFalse, X, Y) - Static method in class fj.data.hlist.HPre.HCond
- hCond(HPre.HTrue, X, Y) - Static method in class fj.data.hlist.HPre.HCond
- HCond(Z) - Constructor for class fj.data.hlist.HPre.HCond
- HCons(E, L) - Constructor for class fj.data.hlist.HList.HCons
- head - Variable in class fj.data.List.Cons
- head - Variable in class fj.data.NonEmptyList
- head - Variable in class fj.data.Stream.Cons
- head - Variable in class fj.data.vector.V3
- head - Variable in class fj.data.vector.V4
- head - Variable in class fj.data.vector.V5
- head - Variable in class fj.data.vector.V6
- head - Variable in class fj.data.vector.V7
- head - Variable in class fj.data.vector.V8
- head() - Method in class fj.data.fingertrees.Deep
- head() - Method in class fj.data.fingertrees.Empty
- head() - Method in class fj.data.fingertrees.FingerTree
-
The first element of this tree.
- head() - Method in class fj.data.fingertrees.Single
- head() - Method in class fj.data.hlist.HList.HCons
- head() - Static method in class fj.data.Iteratee.IterV
-
An iteratee that consumes the head of the input
- head() - Method in class fj.data.LazyString
-
Returns the first character of this string.
- head() - Method in class fj.data.List.Cons
- head() - Method in class fj.data.List
-
The first element of the linked list or fails for the empty list.
- head() - Method in class fj.data.List.Nil
- head() - Static method in class fj.data.List.Optic
-
Optional targeted on Cons head.
- head() - Method in class fj.data.NonEmptyList
-
The first element of this linked list.
- head() - Method in class fj.data.Seq
-
The first element of this sequence.
- head() - Method in class fj.data.Set.Empty
- head() - Method in class fj.data.Set
- head() - Method in class fj.data.Set.Tree
- head() - Method in class fj.data.Stream.Cons
- head() - Method in class fj.data.Stream
-
The first element of the stream or fails for the empty stream.
- head() - Method in class fj.data.Stream.Nil
- head() - Method in class fj.data.vector.V2
-
Return the first element of this vector as a product-1.
- head() - Method in class fj.data.vector.V3
-
Returns the first element of this vector, as a product-1.
- head() - Method in class fj.data.vector.V4
-
Returns the first element of this vector, as a product-1.
- head() - Method in class fj.data.vector.V5
-
Returns the first element of this vector, as a product-1.
- head() - Method in class fj.data.vector.V6
-
Returns the first element of this vector, as a product-1.
- head() - Method in class fj.data.vector.V7
-
Returns the first element of this vector, as a product-1.
- head() - Method in class fj.data.vector.V8
-
Returns the first element of this vector, as a product-1.
- head_() - Static method in class fj.data.List
-
First-class head function.
- headOption() - Method in class fj.data.fingertrees.FingerTree
- headOption() - Method in class fj.data.List
-
Returns the head of the list, if any.
- headOption() - Method in class fj.data.Seq
- headOption(S) - Method in class fj.data.optic.Fold
-
get the first target of a
Fold
- headOption(S) - Method in class fj.data.optic.PTraversal
-
get the first target of a
PTraversal
- HEq(B) - Constructor for class fj.data.hlist.HPre.HEq
- hFalse - Static variable in class fj.data.hlist.HPre
- hFalse() - Static method in class fj.data.hlist.HPre
-
Returns a boolean value whose type represents falsehood.
- HFalse() - Constructor for class fj.data.hlist.HPre.HFalse
- hFoldr() - Static method in class fj.data.hlist.HList.HFoldr
-
A fold instance for the empty list.
- hFoldr(PP, H) - Static method in class fj.data.hlist.HList.HFoldr
-
A fold instance for a non-empty heterogeneous list
- HFoldr(F3<G, V, L, R>) - Constructor for class fj.data.hlist.HList.HFoldr
- highSurrogate(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a high-surrogate character.
- highSurrogate(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a high-surrogate character.
- HList<A extends HList<A>> - Class in fj.data.hlist
-
Type-safe heterogeneous lists.
- HList() - Constructor for class fj.data.hlist.HList
- HList.Apply<F$,A,R> - Class in fj.data.hlist
-
Type-level function application operators.
- HList.HAppend<A,B,C> - Class in fj.data.hlist
-
The concatenation of two heterogeneous lists.
- HList.HCons<E,L extends HList<L>> - Class in fj.data.hlist
-
The nonempty list
- HList.HFoldr<G,V,L,R> - Class in fj.data.hlist
-
The catamorphism over heterogeneous lists.
- HList.HNil - Class in fj.data.hlist
-
The empty list
- hListEqual - Static variable in class fj.Equal
-
An equal instance for the empty heterogeneous list.
- hListEqual(Equal<E>, Equal<L>) - Static method in class fj.Equal
-
An equal instance for heterogeneous lists.
- HListShow - Static variable in class fj.Show
-
A show instance for the empty heterogeneous Stream.
- HListShow(Show<E>, Show<L>) - Static method in class fj.Show
-
A show instance for heterogeneous Streams.
- HNat() - Constructor for class fj.data.hlist.HPre.HNat
- HNil() - Constructor for class fj.data.hlist.HList.HNil
- hOr(HPre.HFalse, HPre.HFalse) - Static method in class fj.data.hlist.HPre.HOr
- hOr(HPre.HFalse, HPre.HTrue) - Static method in class fj.data.hlist.HPre.HOr
- hOr(HPre.HTrue, HPre.HFalse) - Static method in class fj.data.hlist.HPre.HOr
- hOr(HPre.HTrue, HPre.HTrue) - Static method in class fj.data.hlist.HPre.HOr
- HOr(C) - Constructor for class fj.data.hlist.HPre.HOr
- HPre - Class in fj.data.hlist
-
A basic prelude of values lifted into the type system.
- HPre() - Constructor for class fj.data.hlist.HPre
- HPre.HAdd<A extends HPre.HNat<A>,B extends HPre.HNat<B>,C extends HPre.HNat<C>> - Class in fj.data.hlist
-
Type-level integer arithmetic
- HPre.HAnd<A extends HPre.HBool,B extends HPre.HBool,C extends HPre.HBool> - Class in fj.data.hlist
-
Type-level boolean conjunction.
- HPre.HBool - Class in fj.data.hlist
-
A type-level Boolean
- HPre.HCond<T,X,Y,Z> - Class in fj.data.hlist
-
A type-level conditional.
- HPre.HEq<X,Y,B extends HPre.HBool> - Class in fj.data.hlist
-
Type-level equality.
- HPre.HFalse - Class in fj.data.hlist
-
Boolean false
- HPre.HNat<A extends HPre.HNat<A>> - Class in fj.data.hlist
-
Type-level natural numbers.
- HPre.HOr<A extends HPre.HBool,B extends HPre.HBool,C extends HPre.HBool> - Class in fj.data.hlist
-
Type-level boolean disjunction.
- HPre.HSucc<N extends HPre.HNat<N>> - Class in fj.data.hlist
-
A natural number N + 1
- HPre.HTrue - Class in fj.data.hlist
-
Boolean true
- HPre.HZero - Class in fj.data.hlist
-
Type-level zero
- hPred(HPre.HSucc<N>) - Static method in class fj.data.hlist.HPre.HNat
- hSucc(N) - Static method in class fj.data.hlist.HPre.HNat
- HSucc(N) - Constructor for class fj.data.hlist.HPre.HSucc
- hTrue - Static variable in class fj.data.hlist.HPre
- hTrue() - Static method in class fj.data.hlist.HPre
-
Returns a boolean value whose type represents truth.
- HTrue() - Constructor for class fj.data.hlist.HPre.HTrue
- hZero() - Static method in class fj.data.hlist.HPre.HNat
- HZero() - Constructor for class fj.data.hlist.HPre.HZero
I
- i - Variable in class fj.data.IterableW
- i - Variable in class fj.parser.Result
- id() - Static method in class fj.data.hlist.HList.Apply
-
Identity operator
- id() - Static method in class fj.data.optic.Fold
- id() - Static method in class fj.data.optic.Getter
- id() - Static method in class fj.data.optic.Iso
-
create an
Iso
between any type and itself. - id() - Static method in class fj.data.optic.Lens
- id() - Static method in class fj.data.optic.Optional
- id() - Static method in class fj.data.optic.Prism
- id() - Static method in class fj.data.optic.Setter
- id() - Static method in class fj.data.optic.Traversal
- identifierIgnorable(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an identifier-ignorable character.
- identifierIgnorable(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an identifier-ignorable character.
- identity() - Static method in class fj.Function
-
The identity transformation.
- idStrategy() - Static method in class fj.control.parallel.Strategy
-
Provides a strategy that performs no evaluation of its argument.
- if_ - Static variable in class fj.function.Booleans
-
Curried form of logical "if" (reverse material implication).
- iff - Static variable in class fj.function.Booleans
-
Curried form of logical "if and only if" (biconditional, equivalence).
- ignored() - Static method in class fj.data.optic.Optional
- iif() - Static method in class fj.data.Option
-
First-class version of the iif function.
- iif(boolean, A) - Static method in class fj.data.Option
-
Returns an optional value that has a value of the given argument if the given boolean is true, otherwise, returns no value.
- iif(boolean, F0<A>) - Static method in class fj.data.Option
-
Returns an optional value that has a value of the given argument if the given boolean is true, otherwise, returns no value.
- iif(boolean, F0<B>, F0<A>) - Static method in class fj.data.Either
-
If the condition satisfies, return the given B in right, otherwise, return the given A in left.
- iif(F<A, Boolean>, A) - Static method in class fj.data.Option
-
Returns an optional value that has a value of the given argument, if the given predicate holds on that argument, otherwise, returns no value.
- immutable() - Method in class fj.data.Array
- ImmutableProjection(Array<A>) - Constructor for class fj.data.Array.ImmutableProjection
- implies - Static variable in class fj.function.Booleans
-
Curried form of logical "only if" (material implication).
- index() - Method in class fj.data.Zipper
-
Returns the index of the focus.
- index(int) - Method in class fj.data.List
-
Returns the element at the given index if it exists, fails otherwise.
- index(int) - Method in class fj.data.Seq
-
Returns the element at the given index.
- index(int) - Method in class fj.data.Stream
-
Returns the element at the given index if it exists, fails otherwise.
- indexOf(char) - Method in class fj.data.LazyString
-
Returns the first index of the given character in this lazy string, if present.
- indexOf(LazyString) - Method in class fj.data.LazyString
-
Returns the first index of the given substring in this lazy string, if present.
- indexOf(F<A, Boolean>) - Method in class fj.data.Stream
-
Returns the position of the first element matching the given predicate, if any.
- inheritance() - Method in class fj.Class
-
Returns the inheritance hierarchy of this class.
- init() - Method in class fj.data.fingertrees.Deep
- init() - Method in class fj.data.fingertrees.Digit
- init() - Method in class fj.data.fingertrees.Empty
- init() - Method in class fj.data.fingertrees.FingerTree
-
The tree without the last element.
- init() - Method in class fj.data.fingertrees.Single
- init() - Method in class fj.data.List
-
Returns all but the last element of this list.
- init() - Method in class fj.data.Seq
-
The sequence without the last element.
- init() - Static method in class fj.data.State
- inits() - Method in class fj.data.List
-
Returns the list of initial segments of this list, shortest first.
- inits() - Method in class fj.data.Stream
-
Returns a stream of all prefixes of this stream.
- inject(C) - Method in class fj.P2
-
Replaces the first element of this product with the given value.
- inner - Variable in class fj.data.vector.V2
- Input() - Constructor for class fj.data.Iteratee.Input
- ins(A) - Method in class fj.data.Set
- insert() - Static method in class fj.data.Set
-
First-class insertion function.
- insert(int, A) - Method in class fj.data.Seq
-
Inserts the element at the given index.
- insert(A) - Method in class fj.data.Set
-
Inserts the given element into this set.
- insertBy(F<A, F<A, Ordering>>, A) - Method in class fj.data.List
-
Inserts the given element before the first element that is greater than or equal to it according to the given ordering.
- insertDownAt(int, Tree<A>) - Method in class fj.data.TreeZipper
-
Inserts a tree at the specified location in the current node's stream of children.
- insertDownFirst(Tree<A>) - Method in class fj.data.TreeZipper
-
Inserts a tree as the first child of the current node.
- insertDownLast(Tree<A>) - Method in class fj.data.TreeZipper
-
Inserts a tree as the last child of the current node.
- insertLeft(A) - Method in class fj.data.Zipper
-
Inserts an element to the left of the focus, then moves the focus to the new element.
- insertLeft(Tree<A>) - Method in class fj.data.TreeZipper
-
Inserts a tree to the left of the current position.
- insertRight(A) - Method in class fj.data.Zipper
-
Inserts an element to the right of the focus, then moves the focus to the new element.
- insertRight(Tree<A>) - Method in class fj.data.TreeZipper
-
Inserts a tree to the right of the current position.
- INSTANCE - Static variable in class fj.data.List.Nil
- intAdditionMonoid - Static variable in class fj.Monoid
-
A monoid that adds integers.
- intAdditionSemigroup - Static variable in class fj.Semigroup
-
A semigroup that adds integers.
- Integer_Boolean - Static variable in class fj.Primitive
-
A function that converts integers to booleans.
- Integer_Byte - Static variable in class fj.Primitive
-
A function that converts integers to bytes.
- Integer_Character - Static variable in class fj.Primitive
-
A function that converts integers to characters.
- Integer_Double - Static variable in class fj.Primitive
-
A function that converts integers to doubles.
- Integer_Float - Static variable in class fj.Primitive
-
A function that converts integers to floats.
- Integer_Long - Static variable in class fj.Primitive
-
A function that converts integers to longs.
- Integer_Short - Static variable in class fj.Primitive
-
A function that converts integers to shorts.
- Integers - Class in fj.function
-
Curried functions over Integers.
- Integers() - Constructor for class fj.function.Integers
- intEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
int
. - intEqual - Static variable in class fj.Equal
-
An equal instance for the
int
type. - interact(F<LazyString, LazyString>) - Static method in interface fj.data.IO
- interact(F<LazyString, LazyString>) - Static method in class fj.data.IOFunctions
- interactWhile(F<String, Boolean>, F<String, String>) - Static method in class fj.data.IOFunctions
-
Read lines from stdin until condition is not met, transforming each line and printing the result to stdout.
- intercalate(List<List<A>>) - Method in class fj.data.List
-
Intersperses this list through the given list then joins the results.
- interfaceParameters() - Method in class fj.Class
-
Provides this class's interface type parameter information as a list of trees.
- interleave(Stream<A>) - Method in class fj.data.Stream
-
Interleaves the given stream with this stream to produce a new stream.
- intersect() - Static method in class fj.data.Set
-
A first class function for
Set.intersect(Set)
. - intersect(Set<A>) - Method in class fj.data.Set
-
Remove all elements from this set that do not occur in the given set.
- intersperse(A) - Method in class fj.data.List
-
Intersperses the given argument between each element of this list.
- intersperse(A) - Method in class fj.data.NonEmptyList
-
Intersperses the given argument between each element of this non empty list.
- intersperse(A) - Method in class fj.data.Stream
-
Intersperses the given value between each two elements of the stream.
- intHash - Static variable in class fj.Hash
-
A hash instance for the
int
type. - intMaximumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the maximum of integers.
- intMaxMonoid - Static variable in class fj.Monoid
-
A monoid for the maximum of two integers.
- intMinimumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the minimum of integers.
- intMinMonoid - Static variable in class fj.Monoid
-
A monoid for the minimum of two integers.
- intMultiplicationMonoid - Static variable in class fj.Monoid
-
A monoid that multiplies integers.
- intMultiplicationSemigroup - Static variable in class fj.Semigroup
-
A semigroup that multiplies integers.
- intOrd - Static variable in class fj.Ord
-
An order instance for the
int
type. - intShow - Static variable in class fj.Show
-
A show instance for the
int
type. - intValue() - Method in class fj.data.Natural
-
Return the int value of this natural number.
- io(Try0<A, ? extends IOException>) - Static method in class fj.Try
- IO<A> - Interface in fj.data
-
IO monad for processing files
- IOFunctions - Class in fj.data
-
IO monad for processing files, with main methods
IOFunctions.enumFileLines(java.io.File, fj.data.Option<java.nio.charset.Charset>, fj.data.Iteratee.IterV<java.lang.String, A>)
,IOFunctions.enumFileChars(java.io.File, fj.data.Option<java.nio.charset.Charset>, fj.data.Iteratee.IterV<java.lang.Character, A>)
andIOFunctions.enumFileCharChunks(java.io.File, fj.data.Option<java.nio.charset.Charset>, fj.data.Iteratee.IterV<char[], A>)
(the latter one is the fastest as char chunks read from the file are directly passed to the iteratee without indirection in between). - IOFunctions() - Constructor for class fj.data.IOFunctions
- IOFunctions.CharChunkReader<A> - Class in fj.data
- IOFunctions.CharChunkReader2<A> - Class in fj.data
- IOFunctions.LineReader<A> - Class in fj.data
- ioMonoid(Monoid<A>) - Static method in class fj.Monoid
-
A monoid for IO values.
- ioSemigroup(Semigroup<A>) - Static method in class fj.Semigroup
-
A semigroup for IO values.
- ioUnit - Static variable in class fj.data.IOFunctions
- is(F<B, A>, F<A, Boolean>) - Static method in class fj.function.Booleans
-
alias for contramap
- isChild() - Method in class fj.data.TreeZipper
-
Indicates whether the current node is a child node of another node.
- isDefined - Static variable in class fj.function.Characters
- isDigit - Static variable in class fj.function.Characters
- isDone - Variable in class fj.data.IOFunctions.CharChunkReader
- isDone - Variable in class fj.data.IOFunctions.CharChunkReader2
- isDone - Variable in class fj.data.IOFunctions.LineReader
- isEmpty - Static variable in class fj.function.Strings
-
A curried version of
String.isEmpty()
. - isEmpty() - Method in class fj.data.Array.ImmutableProjection
-
Returns
true
is this array is empty,false
otherwise. - isEmpty() - Method in class fj.data.Array
-
Returns
true
is this array is empty,false
otherwise. - isEmpty() - Method in class fj.data.fingertrees.FingerTree
-
Indicates whether this tree is empty.
- isEmpty() - Method in class fj.data.hamt.BitSet
- isEmpty() - Method in class fj.data.hamt.HashArrayMappedTrie
-
Returns if the trie is empty.
- isEmpty() - Method in class fj.data.HashMap
-
Determines if this hash map has any entries.
- isEmpty() - Method in class fj.data.HashSet
-
Determines if this hash set contains any elements.
- isEmpty() - Method in class fj.data.LazyString
-
Checks if this string is empty.
- isEmpty() - Method in class fj.data.List.Buffer
-
Returns
true
if this buffer is empty,false
otherwise. - isEmpty() - Method in class fj.data.List
-
Returns
true
if this list is empty,false
otherwise. - isEmpty() - Method in class fj.data.PriorityQueue
-
Is the tree empty?
- isEmpty() - Method in class fj.data.Seq
-
Checks if this is the empty sequence.
- isEmpty() - Method in class fj.data.Set
- isEmpty() - Method in class fj.data.Stream
-
Returns
true
if this stream is empty,false
otherwise. - isEmpty() - Method in class fj.data.TreeMap
-
Determines if this tree map has any entries.
- isEmpty_() - Static method in class fj.data.List
-
Returns a function that determines whether a given list is empty.
- isEmpty_() - Static method in class fj.data.Stream
-
Returns a function that determines whether a given stream is empty.
- isEqual(Ord<K>, K) - Method in class fj.data.PriorityQueue
- isFail() - Method in class fj.data.Validation
-
Returns
true
if this is a failure,false
otherwise. - isFirst() - Method in class fj.data.TreeZipper
-
Indicates whether the current node is the leftmost tree in the current forest.
- isFulfilled() - Method in class fj.control.parallel.Promise
-
Returns true if this promise has been fulfilled.
- isGreaterThan(A) - Method in class fj.Ord
-
Returns a function that returns true if its argument is greater than than the argument to this method.
- isGreaterThan(A, A) - Method in class fj.Ord
-
Returns
true
if the first given argument is greater than the second given argument,false
otherwise. - isGreaterThan(Ord<K>, K) - Method in class fj.data.PriorityQueue
- isIdentifierIgnorable - Static variable in class fj.function.Characters
- isISOControl - Static variable in class fj.function.Characters
- isJavaIdentifierPart - Static variable in class fj.function.Characters
- isJavaIdentifierStart - Static variable in class fj.function.Characters
- isLast() - Method in class fj.data.TreeZipper
-
Indicates whether the current node is the rightmost tree in the current forest.
- isLeaf() - Method in class fj.data.Tree
- isLeaf() - Method in class fj.data.TreeZipper
-
Indicates whether the current node is at the bottom of the tree.
- isLeft() - Method in class fj.data.Either
-
Returns
true
if this either is a left,false
otherwise. - isLeft() - Method in class fj.data.Either.Left
- isLeft() - Method in class fj.data.Either.Right
- isLeft() - Method in class fj.data.Either3
- isLessThan(A) - Method in class fj.Ord
-
Returns a function that returns true if its argument is less than the argument to this method.
- isLessThan(A, A) - Method in class fj.Ord
-
Returns
true
if the first given argument is less than the second given argument,false
otherwise. - isLessThan(Ord<K>, K) - Method in class fj.data.PriorityQueue
-
Does the top of the queue have lower priority than k?
- isLessThanOrEqualTo(A, A) - Method in class fj.Ord
-
Returns
true
if the first given argument is less than or equal to the second given argument,false
otherwise. - isLetter - Static variable in class fj.function.Characters
- isLetterOrDigit - Static variable in class fj.function.Characters
- isLowerCase - Static variable in class fj.function.Characters
- isMatching(S) - Method in class fj.data.optic.POptional
-
check if a
POptional
has a target - isMatching(S) - Method in class fj.data.optic.PPrism
-
check if a
PPrism
has a target - isMiddle() - Method in class fj.data.Either3
- isMirrored - Static variable in class fj.function.Characters
- isNewLine - Static variable in class fj.function.Characters
- isNone() - Method in class fj.data.Option
-
Returns
false
if this optional value has a value,true
otherwise. - isNone_() - Static method in class fj.data.Option
-
A first-class version of the isNone method.
- isnot(F<B, A>, F<A, Boolean>) - Static method in class fj.function.Booleans
-
returns inverse of contramap
- isNotEmpty() - Method in class fj.data.Array.ImmutableProjection
-
Returns
false
is this array is empty,true
otherwise. - isNotEmpty() - Method in class fj.data.Array
-
Returns
false
is this array is empty,true
otherwise. - isNotEmpty() - Method in class fj.data.List
-
Returns
false
if this list is empty,true
otherwise. - isNotEmpty() - Method in class fj.data.Seq
-
Checks if this sequence is not empty.
- isNotEmpty() - Method in class fj.data.Stream
-
Returns
false
if this stream is empty,true
otherwise. - isNotEmpty_() - Static method in class fj.data.List
-
Returns a function that determines whether a given list is not empty.
- isNotEmpty_() - Static method in class fj.data.Stream
-
Returns a function that determines whether a given stream is not empty.
- isNotNullOrBlank - Static variable in class fj.function.Strings
-
This function checks if a given String contains any non-whitespace character (according to
Character.isWhitespace(char)
) and if it's also notnull
and not empty (""). - isNotNullOrEmpty - Static variable in class fj.function.Strings
-
This function checks if a given String is neither
null
nor empty. - isNullOrBlank - Static variable in class fj.function.Strings
-
This function checks if a given String is whitespace (according to
Character.isWhitespace(char)
), empty ("") ornull
. - isNullOrEmpty - Static variable in class fj.function.Strings
-
This function checks if a given String is
null
or empty (String.isEmpty()
). - iso(F<S, A>, F<A, S>) - Static method in class fj.data.optic.Iso
-
create an
Iso
using a pair of functions: one to get the target and one to get the source. - Iso<S,A> - Class in fj.data.optic
-
PIso
when S = T and A = B - Iso(PIso<S, S, A, A>) - Constructor for class fj.data.optic.Iso
- isoControl(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an ISO control character.
- isoControl(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an ISO control character.
- isPrefixOf(Equal<A>, List<A>) - Method in class fj.data.List
- isRight() - Method in class fj.data.Either
-
Returns
true
if this either is a right,false
otherwise. - isRight() - Method in class fj.data.Either.Left
- isRight() - Method in class fj.data.Either.Right
- isRight() - Method in class fj.data.Either3
- isRoot() - Method in class fj.data.TreeZipper
-
Indicates whether the current node is at the top of the tree.
- isSet(int) - Method in class fj.data.hamt.BitSet
- isSingle() - Method in class fj.data.List
-
True if and only if the list has one element.
- isSome() - Method in class fj.data.Option
-
Returns
true
if this optional value has a value,false
otherwise. - isSome_() - Static method in class fj.data.Option
-
A first-class version of the isSome method.
- isSpaceChar - Static variable in class fj.function.Characters
- isSuccess() - Method in class fj.data.Validation
-
Returns
true
if this is a success,false
otherwise. - isSuffixOf(Equal<A>, List<A>) - Method in class fj.data.List
- isTitleCase - Static variable in class fj.function.Characters
- isTR() - Method in class fj.data.Set
- isUnicodeIdentifierPart - Static variable in class fj.function.Characters
- isUnicodeIdentifierStart - Static variable in class fj.function.Characters
- isUpperCase - Static variable in class fj.function.Characters
- isWhitespace - Static variable in class fj.function.Characters
- iterable(A) - Static method in class fj.data.IterableW
-
Returns an Iterable that completely preserves the argument.
- iterable(F<A, B>) - Static method in class fj.data.IterableW
-
Wraps a given function's return value in a Iterable.
- Iterable_JavaStream(Iterable<A>) - Static method in class fj.data.Java8
- iterableArray(Iterable<A>) - Static method in class fj.data.Array
-
Takes the given iterable to an array.
- iterableBuffer(Iterable<A>) - Static method in class fj.data.List.Buffer
-
Takes the given iterable to a buffer.
- iterableDList(Iterable<A>) - Static method in class fj.data.DList
-
Creates a DList from an Iterable
- iterableHashMap(Equal<K>, Hash<K>, Iterable<P2<K, V>>) - Static method in class fj.data.HashMap
-
Converts the Iterable to a HashMap
- iterableHashMap(Iterable<P2<K, V>>) - Static method in class fj.data.HashMap
-
Converts the Iterable to a HashMap
- iterableHashSet(Equal<A>, Hash<A>, Iterable<A>) - Static method in class fj.data.HashSet
-
Create a HashSet from the Iterable.
- iterableHashSet(Iterable<A>) - Static method in class fj.data.HashSet
-
Create a HashSet from the Iterable.
- iterableK() - Method in interface fj.F
-
Promotes this function to return its value in an Iterable.
- iterableList(Iterable<A>) - Static method in class fj.data.List
-
Takes the given iterable to a list.
- iterableM() - Method in interface fj.F2
-
Promotes this function to a function on Iterables.
- iterableSeq(Iterable<A>) - Static method in class fj.data.Seq
-
Constructs a sequence from the iterable.
- iterableSet(Ord<A>, Iterable<A>) - Static method in class fj.data.Set
-
Return the elements of the given iterable as a set.
- iterableStream(Iterable<A>) - Static method in class fj.data.Stream
-
Takes the given iterable to a stream.
- iterableTreeMap(Ord<K>, Iterable<P2<K, V>>) - Static method in class fj.data.TreeMap
-
Constructs a tree map from the given elements.
- IterableW<A> - Class in fj.data
-
A wrapper for Iterable that equips it with some useful functions.
- IterableW(Iterable<A>) - Constructor for class fj.data.IterableW
- iterate() - Static method in class fj.data.Stream
-
A first-class version of the iterate function.
- iterate(F<A, A>, A) - Static method in class fj.data.Stream
-
Returns a stream constructed by applying the given iteration function starting at the given value.
- Iteratee - Class in fj.data
- Iteratee() - Constructor for class fj.data.Iteratee
- Iteratee.Input<E> - Class in fj.data
-
The input to an iteratee.
- Iteratee.IterV<E,A> - Class in fj.data
-
A pure iteratee computation which is either done or needs more input
- iterateWhile(F<A, A>, F<A, Boolean>, A) - Static method in class fj.data.List
-
Creates a list where the first item is calculated by applying the function on the third argument, the second item by applying the function on the previous result and so on.
- iterateWhile(F<A, A>, F<A, Boolean>, A) - Static method in class fj.data.Stream
-
Creates a stream where the first item is calculated by applying the function on the third argument, the second item by applying the function on the previous result and so on.
- iterator() - Method in class fj.data.Array.ImmutableProjection
-
Returns an iterator for this array.
- iterator() - Method in class fj.data.Array
-
Returns an iterator for this array.
- iterator() - Method in class fj.data.Either.LeftProjection
-
Returns an iterator for this projection.
- iterator() - Method in class fj.data.Either.RightProjection
-
Returns an iterator for this projection.
- iterator() - Method in class fj.data.Either3.LeftProjection
- iterator() - Method in class fj.data.Either3.MiddleProjection
- iterator() - Method in class fj.data.Either3.RightProjection
- iterator() - Method in class fj.data.HashMap
-
Returns an iterator for this map's keys.
- iterator() - Method in class fj.data.HashSet
-
Returns an iterator for this hash set.
- iterator() - Method in class fj.data.IterableW
-
Returns an iterator for this iterable.
- iterator() - Method in class fj.data.List.Buffer
-
Returns an iterator for this buffer.
- iterator() - Method in class fj.data.List
-
Returns an iterator for this list.
- iterator() - Method in class fj.data.NonEmptyList
-
Returns an iterator for this non-empty list.
- iterator() - Method in class fj.data.Option
-
Returns an iterator for this optional value.
- iterator() - Method in class fj.data.Seq
-
Returns an iterator for this seq.
- iterator() - Method in class fj.data.Set
-
Returns an iterator over this set.
- iterator() - Method in class fj.data.Stream
-
Returns an iterator for this stream.
- iterator() - Method in class fj.data.Tree
-
Returns an iterator for this tree.
- iterator() - Method in class fj.data.TreeMap
-
Returns an iterator for this map's key-value pairs.
- iterator() - Method in class fj.data.TreeZipper
-
Returns an iterator of all the positions of this TreeZipper.
- iterator() - Method in class fj.data.Validation.FailProjection
-
Returns an iterator for this projection.
- iterator() - Method in class fj.data.Validation
-
Returns an iterator for this validation.
- iterator() - Method in class fj.data.vector.V2
-
Returns an iterator for the elements of this vector.
- iterator() - Method in class fj.data.vector.V3
-
Returns an iterator for the elements of this vector.
- iterator() - Method in class fj.data.vector.V4
-
Returns an iterator for the elements of this vector.
- iterator() - Method in class fj.data.vector.V5
-
Returns an iterator for the elements of this vector.
- iterator() - Method in class fj.data.vector.V6
-
Returns an iterator for the elements of this vector.
- iterator() - Method in class fj.data.vector.V7
-
Returns an iterator for the elements of this vector.
- iterator() - Method in class fj.data.vector.V8
-
Returns an iterator for the elements of this vector.
- iterator() - Method in class fj.data.Zipper
-
Returns an iterator of all the positions of this Zipper, starting from the leftmost position.
- iterator() - Method in class fj.parser.Result
-
Returns an iterator over the parse value.
- Iterator_JavaStream(Iterator<A>) - Static method in class fj.data.Java8
- iteratorArray(Iterator<A>) - Static method in class fj.data.Array
-
Creates an Array from the iterator.
- iteratorDList(Iterator<A>) - Static method in class fj.data.DList
-
Creates a DList from an Iterator
- iteratorHashMap(Equal<K>, Hash<K>, Iterator<P2<K, V>>) - Static method in class fj.data.HashMap
-
Converts the Iterator to a HashMap
- iteratorHashMap(Iterator<P2<K, V>>) - Static method in class fj.data.HashMap
-
Converts the Iterator to a HashMap
- iteratorHashSet(Equal<A>, Hash<A>, Iterator<A>) - Static method in class fj.data.HashSet
-
Create a HashSet from the Iterator.
- iteratorHashSet(Iterator<A>) - Static method in class fj.data.HashSet
-
Create a HashSet from the Iterator.
- iteratorList(Iterator<A>) - Static method in class fj.data.List
-
Constructs a list from the given Iterator.
- iteratorSeq(Iterator<A>) - Static method in class fj.data.Seq
-
Constructs a sequence from the iterator.
- iteratorSet(Ord<A>, Iterator<A>) - Static method in class fj.data.Set
-
Return the elements of the given iterator as a set.
- iteratorStream(Iterator<A>) - Static method in class fj.data.Stream
-
Constructs a stream with the given elements in the Iterator.
- iteratorTreeMap(Ord<K>, Iterator<P2<K, V>>) - Static method in class fj.data.TreeMap
-
Constructs a tree map from the given elements.
- IterV() - Constructor for class fj.data.Iteratee.IterV
J
- Java - Class in fj.data
-
Functions that convert between types from the core Java API.
- Java() - Constructor for class fj.data.Java
- Java8 - Class in fj.data
- Java8() - Constructor for class fj.data.Java8
- javaIdentifierPart(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a Java identifier part character.
- javaIdentifierPart(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a Java identifier part character.
- javaIdentifierStart(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a Java identifier start character.
- javaIdentifierStart(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a Java identifier start character.
- JavaList_List() - Static method in class fj.data.Java
- JavaList_List(List<A>) - Static method in class fj.data.Java
- JavaStream_Array(Stream<A>) - Static method in class fj.data.Java8
- JavaStream_List(Stream<A>) - Static method in class fj.data.Java8
- JavaStream_Stream(Stream<A>) - Static method in class fj.data.Java8
- join() - Static method in class fj.data.Array
-
A first-class version of join
- join() - Static method in class fj.data.IterableW
-
Returns a function that joins an Iterable of Iterables into a single Iterable.
- join() - Static method in class fj.data.List
-
A first-class version of join
- join() - Static method in class fj.data.Option
-
First-class join function.
- join() - Static method in class fj.data.Stream
-
A first-class version of join
- join(DB<DB<A>>) - Static method in class fj.control.db.DB
-
Removes one layer of monadic structure.
- join(Promise<Promise<A>>) - Static method in class fj.control.parallel.Promise
-
Turns a promise of a promise into just a promise.
- join(Strategy<Unit>, P1<Promise<A>>) - Static method in class fj.control.parallel.Promise
-
Turns a product of a promise into just a promise.
- join(Array<Array<A>>) - Static method in class fj.data.Array
-
Joins the given array of arrays using a bind operation.
- join(IO<IO<A>>) - Static method in class fj.data.IOFunctions
- join(List<List<A>>) - Static method in class fj.data.List
-
Joins the given list of lists using a bind operation.
- join(NonEmptyList<NonEmptyList<A>>) - Static method in class fj.data.NonEmptyList
-
Concatenate (join) a non empty list of non empty lists.
- join(Option<Option<A>>) - Static method in class fj.data.Option
-
Joins the given optional value of optional value using a bind operation.
- join(Stream<Stream<A>>) - Static method in class fj.data.Stream
-
Joins the given stream of streams by concatenation.
- join(F<B, F<B, A>>) - Static method in class fj.Function
-
Joins two arguments of a function of arity-2 into one argument, yielding a function of arity-1.
- join(Ord<A>, Set<Set<A>>) - Static method in class fj.data.Set
-
Join a set of sets into a single set.
- join(P1<P1<A>>) - Static method in class fj.P1
-
Joins a P1 of a P1 with a bind operation.
- join(Iterable<A>, A) - Method in class fj.Monoid
-
Intersperses the given value between each two elements of the iterable, and sums the result.
- join(Iterable<T>) - Static method in class fj.data.IterableW
-
Joins an Iterable of Iterables into a single Iterable.
- join(Callable<Callable<A>>) - Static method in class fj.control.parallel.Callables
-
Joins a Callable of a Callable with a bind operation.
- joinLeft(Either<Either<A, B>, B>) - Static method in class fj.data.Either
-
Joins an either through left.
- joinLeft(Either3<Either3<A, B, C>, B, C>) - Static method in class fj.data.Either3
- joinMiddle(Either3<A, Either3<A, B, C>, C>) - Static method in class fj.data.Either3
- joinRight(Either<A, Either<A, B>>) - Static method in class fj.data.Either
-
Joins an either through right.
- joinRight(Either3<A, B, Either3<A, B, C>>) - Static method in class fj.data.Either3
K
- k - Variable in class fj.data.HashMap.Key
- Key(K) - Constructor for class fj.data.HashMap.Key
- keys() - Method in class fj.data.HashMap
-
Returns all key entries in this hash map.
- keys() - Method in class fj.data.TreeMap
-
Returns all keys in this tree map.
- kleisliTrampCompose(F<B, Trampoline<C>>, F<A, Trampoline<B>>) - Static method in class fj.data.DList
L
- l - Variable in class fj.control.parallel.Promise
- l - Variable in class fj.data.hlist.HList.HCons
- l() - Method in class fj.data.Set.Empty
- l() - Method in class fj.data.Set
- l() - Method in class fj.data.Set.Tree
- last() - Method in class fj.data.fingertrees.Deep
- last() - Method in class fj.data.fingertrees.Empty
- last() - Method in class fj.data.fingertrees.FingerTree
-
The last element of this tree.
- last() - Method in class fj.data.fingertrees.Single
- last() - Method in class fj.data.List
-
Returns the last element of this list.
- last() - Method in class fj.data.Seq
-
The last element of this sequence.
- last() - Method in class fj.data.Stream
-
Get the last element of this stream.
- lastChild() - Method in class fj.data.TreeZipper
-
Navigtes to the last child of the current location.
- lastOptionMonoid() - Static method in class fj.Monoid
-
A monoid for options that take the last available value.
- lastOptionSemigroup() - Static method in class fj.Semigroup
-
A semigroup for optional values that take the last available value.
- lastSemigroup() - Static method in class fj.Semigroup
-
A semigroup which always uses the "last" (right-hand side) value.
- later(F0<A>) - Static method in class fj.data.Eval
-
Constructs a lazy evaluation with caching.
- Later(F0<A>) - Constructor for class fj.data.Eval.Later
- lazy() - Method in interface fj.F
-
Promotes this function so that it returns its result in a product-1.
- lazy(F<A, Unit>) - Static method in class fj.Effect
- lazy(F<Unit, A>) - Static method in class fj.data.IOFunctions
- lazy(F<Unit, A>) - Static method in class fj.P
- lazy(F<Unit, A>, F<Unit, B>) - Static method in class fj.P
- lazy(F<Unit, A>, F<Unit, B>, F<Unit, C>) - Static method in class fj.P
- lazy(F<Unit, A>, F<Unit, B>, F<Unit, C>, F<Unit, D>) - Static method in class fj.P
- lazy(F<Unit, A>, F<Unit, B>, F<Unit, C>, F<Unit, D>, F<Unit, E>) - Static method in class fj.P
- lazy(F<Unit, A>, F<Unit, B>, F<Unit, C>, F<Unit, D>, F<Unit, E>, F<Unit, F$>) - Static method in class fj.P
- lazy(F<Unit, A>, F<Unit, B>, F<Unit, C>, F<Unit, D>, F<Unit, E>, F<Unit, F$>, F<Unit, G>) - Static method in class fj.P
- lazy(F<Unit, A>, F<Unit, B>, F<Unit, C>, F<Unit, D>, F<Unit, E>, F<Unit, F$>, F<Unit, G>, F<Unit, H>) - Static method in class fj.P
- lazy(F0<A>) - Static method in class fj.data.IOFunctions
- lazy(F0<A>) - Static method in class fj.P
-
Convert a F0 into a P1, using call-by-name semantic: function f is evaluated at each call to
P1._1()
. - lazy(F0<A>, F0<B>) - Static method in class fj.P
- lazy(F0<A>, F0<B>, F0<C>) - Static method in class fj.P
- lazy(F0<A>, F0<B>, F0<C>, F0<D>) - Static method in class fj.P
- lazy(F0<A>, F0<B>, F0<C>, F0<D>, F0<E>) - Static method in class fj.P
- lazy(F0<A>, F0<B>, F0<C>, F0<D>, F0<E>, F0<F>) - Static method in class fj.P
- lazy(F0<A>, F0<B>, F0<C>, F0<D>, F0<E>, F0<F>, F0<G>) - Static method in class fj.P
- lazy(F0<A>, F0<B>, F0<C>, F0<D>, F0<E>, F0<F>, F0<G>, F0<H>) - Static method in class fj.P
- lazyProduct(F0<P2<A, B>>) - Static method in class fj.P
- lazySafe(F<Unit, A>) - Static method in class fj.data.IOFunctions
- lazySafe(F0<A>) - Static method in class fj.data.IOFunctions
- LazyString - Class in fj.data
-
A lazy (non-evaluated) immutable character string.
- LazyString(Stream<Character>) - Constructor for class fj.data.LazyString
- lazyStringShow - Static variable in class fj.Show
-
A show instance for lazy strings.
- LcgRng - Class in fj
-
https://en.wikipedia.org/wiki/Linear_congruential_generator
- LcgRng() - Constructor for class fj.LcgRng
- LcgRng(long) - Constructor for class fj.LcgRng
- leaf(A) - Static method in class fj.data.Tree
-
Creates a nullary tree.
- left - Variable in class fj.data.Zipper
- left() - Method in class fj.data.Either
-
Projects this either as a left.
- left() - Method in class fj.data.Either3
- left() - Method in class fj.data.TreeZipper
-
Navigates to the left sibling of the current location.
- left(A) - Static method in class fj.data.Either
-
Construct a left value of either.
- left(A) - Static method in class fj.data.Either3
- left(IO<A>, IO<B>) - Static method in class fj.data.IOFunctions
- Left(A) - Constructor for class fj.data.Either.Left
- Left(A) - Constructor for class fj.data.Either3.Left
- left_() - Static method in class fj.data.Either
-
A function that constructs a left value of either.
- left_() - Static method in class fj.data.Either3
- left_() - Static method in class fj.data.TreeZipper
-
A first-class version of the left() function.
- leftMap(F<A, X>) - Method in class fj.data.Either
-
Map the given function across this either's left projection.
- leftMap(F<A, X>) - Method in class fj.data.Either3
- leftMap_() - Static method in class fj.data.Either
-
Return a function that maps a given function across this either's left projection.
- leftMap_() - Method in class fj.data.Either3
- leftOption() - Method in class fj.data.Either3
- LeftProjection(Either<A, B>) - Constructor for class fj.data.Either.LeftProjection
- LeftProjection(Either3<A, B, C>) - Constructor for class fj.data.Either3.LeftProjection
- lefts - Variable in class fj.data.TreeZipper
- lefts() - Method in class fj.data.TreeZipper
-
Returns the left siblings of the currently focused node.
- lefts() - Method in class fj.data.Zipper
-
Returns a Stream of the elements to the left of focus.
- lefts(List<Either<A, B>>) - Static method in class fj.data.Either
-
Returns all the left values in the given list.
- length - Static variable in class fj.function.Strings
-
A curried version of
String.length()
. - length() - Method in class fj.data.Array.ImmutableProjection
-
Returns the length of this array.
- length() - Method in class fj.data.Array
-
Returns the length of this array.
- length() - Method in class fj.data.fingertrees.Deep
- length() - Method in class fj.data.fingertrees.Digit
- length() - Method in class fj.data.fingertrees.Empty
- length() - Method in class fj.data.fingertrees.FingerTree
- length() - Method in class fj.data.fingertrees.Four
- length() - Method in class fj.data.fingertrees.Node
- length() - Method in class fj.data.fingertrees.Node2
- length() - Method in class fj.data.fingertrees.Node3
- length() - Method in class fj.data.fingertrees.One
- length() - Method in class fj.data.fingertrees.Single
- length() - Method in class fj.data.fingertrees.Three
- length() - Method in class fj.data.fingertrees.Two
- length() - Method in class fj.data.hamt.HashArrayMappedTrie
-
Returns the number of elements in the trie.
- length() - Static method in class fj.data.Iteratee.IterV
-
An iteratee that counts and consumes the elements of the input
- length() - Method in class fj.data.LazyString
-
The length of the lazy string.
- length() - Method in class fj.data.List
-
The length of this list.
- length() - Method in class fj.data.NonEmptyList
-
The length of this list.
- length() - Method in class fj.data.Option
-
Returns the length of this optional value; 1 if there is a value, 0 otherwise.
- length() - Method in class fj.data.Seq
-
Returns the number of elements in this sequence.
- length() - Method in class fj.data.Stream
-
The length of this stream.
- length() - Method in class fj.data.Tree
- length() - Method in class fj.data.Zipper
-
Returns the length of this zipper.
- length_() - Static method in class fj.data.List
-
First-class length.
- lens(F<S, A>, F<A, F<S, S>>) - Static method in class fj.data.optic.Lens
-
create a
Lens
using a pair of functions: one to get the target, one to set the target. - Lens<S,A> - Class in fj.data.optic
-
PLens
with a monomorphic set function - Lens(PLens<S, S, A, A>) - Constructor for class fj.data.optic.Lens
- levels() - Method in class fj.data.Tree
-
Provides a stream of the elements of the tree at each level, in level order.
- lift() - Method in class fj.Semigroup
-
Lifts the semigroup to obtain a trivial monoid.
- lift(F<A, F<B, C>>) - Static method in class fj.Function
-
Promotes a function of arity-2 to a higher-order function.
- liftM(F<A, B>) - Static method in class fj.control.db.DB
-
Promotes any given function so that it transforms between values in the database.
- liftM(F<A, B>, Measured<V, B>) - Static method in class fj.data.fingertrees.Node
- liftM2(IO<A>, IO<B>, F2<A, B, C>) - Static method in class fj.data.IOFunctions
- liftM2(Option<B>, F2<A, B, C>) - Method in class fj.data.Option
-
Lift the function of arity-2 through options.
- liftM2(F<A, F<B, C>>) - Static method in class fj.control.parallel.Callables
-
Promotes a function of arity-2 to a function on callables.
- liftM2(F<A, F<B, C>>) - Static method in class fj.control.parallel.Promise
-
Promotes a function of arity-2 to a function on promises.
- liftM2(F<A, F<B, C>>) - Static method in class fj.control.Trampoline
-
Promotes the given function of arity-2 to a function on Trampolines.
- liftM2(F<A, F<B, C>>) - Static method in class fj.data.IterableW
-
Promotes a function of arity-2 to a function on iterables.
- liftM2(F<A, F<B, C>>) - Static method in class fj.data.List
-
Promotes the given function of arity-2 to a function on lists.
- liftM2(F<A, F<B, C>>) - Static method in class fj.data.Option
-
Promotes a function of arity-2 so that it operates over options.
- liftM2(F<A, F<B, C>>) - Static method in class fj.P1
-
Promotes a function of arity-2 to a function on P1s.
- liftM2(P1<B>, F2<A, B, C>) - Method in class fj.P1
- lineReader() - Static method in class fj.data.IOFunctions
-
A function that feeds an iteratee with lines read from a
BufferedReader
. - LineReader(BufferedReader) - Constructor for class fj.data.IOFunctions.LineReader
- lines() - Method in class fj.data.LazyString
-
Splits this lazy string into lines.
- lines() - Static method in class fj.function.Strings
- lines(String) - Static method in class fj.function.Strings
- lines_() - Static method in class fj.data.LazyString
- lineSeparator - Static variable in class fj.function.Strings
- lineSeparatorPattern - Static variable in class fj.function.Strings
- LinkedBlockingQueue_List() - Static method in class fj.data.Java
-
A function that converts linked blocking queues to lists.
- LinkedHashSet_List() - Static method in class fj.data.Java
-
A function that converts linked hash sets to lists.
- LinkedList_List() - Static method in class fj.data.Java
-
A function that converts linked lists to lists.
- list() - Static method in class fj.data.Iteratee.IterV
-
An iteratee that consumes the input elements and returns them as a list in reverse order, so that the last line is the first element.
- list(A...) - Static method in class fj.data.List
-
Constructs a list from the given elements.
- List<A> - Class in fj.data
-
Provides an in-memory, immutable, singly linked list.
- List() - Constructor for class fj.data.List
- List_Array() - Static method in class fj.data.Conversions
-
A function that converts lists to arrays.
- List_ArrayBlockingQueue(boolean) - Static method in class fj.data.Java
-
A function that converts lists to array blocking queue.
- List_ArrayList() - Static method in class fj.data.Java
-
A function that converts lists to array lists.
- List_BitSet - Static variable in class fj.data.Java
-
A function that converts lists to bit sets.
- List_ConcurrentLinkedQueue() - Static method in class fj.data.Java
-
A function that converts lists to concurrent linked queues.
- List_CopyOnWriteArrayList() - Static method in class fj.data.Java
-
A function that converts lists to copy on write array lists.
- List_CopyOnWriteArraySet() - Static method in class fj.data.Java
-
A function that converts lists to copy on write array sets.
- List_DelayQueue() - Static method in class fj.data.Java
-
A function that converts lists to delay queues.
- List_Either() - Static method in class fj.data.Conversions
-
A function that converts lists to eithers.
- List_EnumSet() - Static method in class fj.data.Java
-
A function that converts lists to array enum sets.
- List_HashSet() - Static method in class fj.data.Java
-
A function that converts lists to hash sets.
- List_JavaStream(List<A>) - Static method in class fj.data.Java8
- List_LinkedBlockingQueue() - Static method in class fj.data.Java
-
A function that converts lists to linked blocking queues.
- List_LinkedHashSet() - Static method in class fj.data.Java
-
A function that converts lists to linked hash sets.
- List_LinkedList() - Static method in class fj.data.Java
-
A function that converts lists to linked lists.
- List_Option() - Static method in class fj.data.Conversions
-
A function that converts lists to options.
- List_PriorityBlockingQueue() - Static method in class fj.data.Java
-
A function that converts lists to priority blocking queues.
- List_PriorityQueue() - Static method in class fj.data.Java
-
A function that converts lists to priority queues.
- List_Stack() - Static method in class fj.data.Java
-
A function that converts lists to stacks.
- List_Stream() - Static method in class fj.data.Conversions
-
A function that converts lists to streams.
- List_String - Static variable in class fj.data.Conversions
-
A function that converts lists to strings.
- List_StringBuffer - Static variable in class fj.data.Conversions
-
A function that converts lists to string buffers.
- List_StringBuilder - Static variable in class fj.data.Conversions
-
A function that converts lists to string builders.
- List_SynchronousQueue(boolean) - Static method in class fj.data.Java
-
A function that converts lists to synchronous queues.
- List_TreeSet() - Static method in class fj.data.Java
-
A function that converts lists to stacks.
- List_Vector() - Static method in class fj.data.Java
-
A function that converts lists to vectors.
- List.Buffer<A> - Class in fj.data
-
A mutable, singly linked list.
- List.Cons<A> - Class in fj.data
- List.Nil<A> - Class in fj.data
- List.Optic - Class in fj.data
-
Optic factory methods for a List
- List.Unsafe - Class in fj.data
- listBitSet(List<Boolean>) - Static method in class fj.data.hamt.BitSet
- listDList(List<A>) - Static method in class fj.data.DList
-
Creates a DList from a List
- listEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
List
type. - listHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
List
type. - listK() - Method in interface fj.F
-
Promotes this function so that it returns its result in a List.
- listM() - Method in interface fj.F2
-
Promotes this function to a function on Lists.
- listMonoid() - Static method in class fj.Monoid
-
A monoid for lists.
- listOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
List
type. - listSemigroup() - Static method in class fj.Semigroup
-
A semigroup for lists.
- listSeq(List<A>) - Static method in class fj.data.Seq
-
Constructs a sequence from the given list.
- listShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Stream
type. - ListUtil - Class in fj.java.util
- ListUtil() - Constructor for class fj.java.util.ListUtil
- log() - Method in class fj.data.Writer
- logValue - Variable in class fj.data.Writer
- Long_Boolean - Static variable in class fj.Primitive
-
A function that converts longs to booleans.
- Long_Byte - Static variable in class fj.Primitive
-
A function that converts longs to bytes.
- Long_Character - Static variable in class fj.Primitive
-
A function that converts longs to characters.
- Long_Double - Static variable in class fj.Primitive
-
A function that converts longs to doubles.
- Long_Float - Static variable in class fj.Primitive
-
A function that converts longs to floats.
- Long_Integer - Static variable in class fj.Primitive
-
A function that converts longs to integers.
- Long_Short - Static variable in class fj.Primitive
-
A function that converts longs to shorts.
- longAdditionMonoid - Static variable in class fj.Monoid
-
A monoid that adds longs.
- longAdditionSemigroup - Static variable in class fj.Semigroup
-
A semigroup that adds longs.
- longBitSet(long) - Static method in class fj.data.hamt.BitSet
- longEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
long
. - longEqual - Static variable in class fj.Equal
-
An equal instance for the
long
type. - longHash - Static variable in class fj.Hash
-
A hash instance for the
long
type. - longMaximumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the maximum of longs.
- longMinimumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the minimum of longs.
- longMultiplicationMonoid - Static variable in class fj.Monoid
-
A monoid that multiplies longs.
- longMultiplicationSemigroup - Static variable in class fj.Semigroup
-
A semigroup that multiplies longs.
- longOrd - Static variable in class fj.Ord
-
An order instance for the
long
type. - Longs - Class in fj.function
-
Curried functions over Longs.
- Longs() - Constructor for class fj.function.Longs
- longShow - Static variable in class fj.Show
-
A show instance for the
long
type. - longValue() - Method in class fj.data.hamt.BitSet
- longValue() - Method in class fj.data.Natural
-
Return the long value of this natural number.
- lookup(A) - Method in class fj.data.Set
-
Find element equal to the given one.
- lookup(Equal<A>) - Static method in class fj.data.List
-
Returns a partially applied version of
List.lookup(Equal, List, Object)
. - lookup(Equal<A>, List<P2<A, B>>, A) - Static method in class fj.data.List
-
Returns an associated value with the given key in the list of pairs.
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Deep
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Digit
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Empty
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.FingerTree
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Four
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Node
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Node2
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Node3
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.One
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Single
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Three
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Two
- lookupGE(A) - Method in class fj.data.Set
-
Find smallest element greater or equal to the given one.
- lookupGT(A) - Method in class fj.data.Set
-
Find smallest element greater than the given one.
- lookupLE(A) - Method in class fj.data.Set
-
Find largest element smaller or equal to the given one.
- lookupLT(A) - Method in class fj.data.Set
-
Find largest element smaller than the given one.
- lower(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a lower-case character.
- lower(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a lower-case character.
- lowSurrogate(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a low-surrogate character.
- lowSurrogate(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a low-surrogate character.
- lp3nil() - Static method in class fj.data.TreeZipper
- LT - fj.Ordering
-
Less than.
- lteZero - Static variable in class fj.function.Doubles
-
A function that returns true if the given double is less than or equal to zero.
- lteZero - Static variable in class fj.function.Integers
-
A function that returns true if the given integer is less than or equal to zero.
- ltZero - Static variable in class fj.function.Doubles
-
A function that returns true if the given double is less than zero.
- ltZero - Static variable in class fj.function.Integers
-
A function that returns true if the given integer is less than zero.
M
- m - Variable in class fj.data.fingertrees.Digit
- m - Variable in class fj.data.fingertrees.FingerTree
- m - Variable in class fj.data.fingertrees.MakeTree
- m - Variable in class fj.data.fingertrees.Measured
- m - Variable in class fj.data.fingertrees.Node
- m - Variable in class fj.data.HashMap
- m - Variable in class fj.data.HashSet
- makeBlack() - Method in class fj.data.Set
- MakeTree<V,A> - Class in fj.data.fingertrees
-
A builder of trees and tree components, supplied with a particular monoid and measuring function.
- MakeTree(Measured<V, A>) - Constructor for class fj.data.fingertrees.MakeTree
- map() - Static method in class fj.data.Array
-
First-class map function for Arrays.
- map() - Static method in class fj.data.IterableW
-
Returns a function that promotes any function so that it operates on Iterables.
- map() - Static method in class fj.data.Option
-
A first-class map function.
- map(IO<A>, F<A, B>) - Static method in class fj.data.IOFunctions
- map(F<A, B>) - Method in class fj.control.db.DB
-
Map a function over the result of this action.
- map(F<A, B>) - Method in class fj.control.Trampoline
-
Maps the given function across the result of this trampoline.
- map(F<A, B>) - Method in class fj.data.Array.ImmutableProjection
-
Maps the given function across this array.
- map(F<A, B>) - Method in class fj.data.Array
-
Maps the given function across this array.
- map(F<A, B>) - Method in class fj.data.Eval
- map(F<A, B>) - Method in interface fj.data.IO
- map(F<A, B>) - Method in class fj.data.IterableW
-
Maps a given function across the wrapped Iterable.
- map(F<A, B>) - Method in class fj.data.List
-
Maps the given function across this list.
- map(F<A, B>) - Method in class fj.data.NonEmptyList
-
Maps the given function across this list.
- map(F<A, B>) - Method in class fj.data.Option
-
Maps the given function across this optional value.
- map(F<A, B>) - Method in class fj.data.PriorityQueue
-
Maps the values in each node with function f.
- map(F<A, B>) - Method in class fj.data.Seq
- map(F<A, B>) - Method in class fj.data.State
- map(F<A, B>) - Method in class fj.data.Stream
-
Maps the given function across this stream.
- map(F<A, B>) - Method in class fj.data.TreeZipper
-
Maps the given function across this zipper (covariant functor pattern).
- map(F<A, B>) - Method in class fj.data.vector.V2
-
Maps the given function across this vector.
- map(F<A, B>) - Method in class fj.data.vector.V3
-
Maps the given function across this vector.
- map(F<A, B>) - Method in class fj.data.vector.V4
-
Maps the given function across this vector.
- map(F<A, B>) - Method in class fj.data.vector.V5
-
Maps the given function across this vector.
- map(F<A, B>) - Method in class fj.data.vector.V6
-
Maps the given function across this vector.
- map(F<A, B>) - Method in class fj.data.vector.V7
-
Maps the given function across this vector.
- map(F<A, B>) - Method in class fj.data.vector.V8
-
Maps the given function across this vector.
- map(F<A, B>) - Method in class fj.data.Writer
- map(F<A, B>) - Method in class fj.data.Zipper
-
Maps the given function across the elements of this zipper (covariant functor pattern).
- map(F<A, B>) - Method in class fj.P1
-
Map the element of the product.
- map(F<A, B>) - Method in class fj.parser.Parser
-
Maps the given result type across this parser.
- map(F<A, B>, Measured<V, B>) - Method in class fj.data.fingertrees.Deep
- map(F<A, B>, Measured<V, B>) - Method in class fj.data.fingertrees.Digit
-
Maps a function across the elements of this digit, measuring with the given measurement.
- map(F<A, B>, Measured<V, B>) - Method in class fj.data.fingertrees.Empty
- map(F<A, B>, Measured<V, B>) - Method in class fj.data.fingertrees.FingerTree
-
Maps the given function across this tree, measuring with the given Measured instance.
- map(F<A, B>, Measured<V, B>) - Method in class fj.data.fingertrees.Node
- map(F<A, B>, Measured<V, B>) - Method in class fj.data.fingertrees.Single
- map(F<A, B>, P2<A, A>) - Static method in class fj.P2
-
Maps the given function across both the elements of the given product.
- map(F<A, X>) - Method in class fj.data.Either.LeftProjection
-
Map the given function across this projection's value if it has one.
- map(F<A, X>) - Method in class fj.data.Either3.LeftProjection
- map(F<B, C>) - Method in class fj.data.Reader
- map(F<B, C>) - Method in interface fj.F
- map(F<B, X>) - Method in class fj.data.Either.RightProjection
-
Map the given function across this projection's value if it has one.
- map(F<B, X>) - Method in class fj.data.Either3.MiddleProjection
- map(F<C, X>) - Method in class fj.data.Either3.RightProjection
- map(F<C, Z>) - Method in interface fj.F2
- map(F<E, A>) - Method in class fj.data.Validation.FailProjection
-
Maps the given function across the failing side of this validation.
- map(F<P1<A>, P1<A>>) - Method in class fj.control.parallel.Strategy
-
Maps the given transformation across this strategy's domain (Invariant Functor pattern).
- map(F<P2<K, V>, P2<A, B>>) - Method in class fj.data.HashMap
- map(F<P2<K, V>, P2<A, B>>, Equal<A>, Hash<A>) - Method in class fj.data.HashMap
- map(F<Unit, C>) - Method in interface fj.function.Effect1
- map(F<Character, Character>) - Method in class fj.data.LazyString
- map(F<K, A>, F<V, B>) - Method in class fj.data.HashMap
- map(F<K, A>, F<V, B>, Equal<A>, Hash<A>) - Method in class fj.data.HashMap
- map(F<T, A>) - Method in class fj.data.Validation
-
Maps the given function across the success side of this validation.
- map(F<V, W>) - Method in class fj.data.TreeMap
-
Maps the given function across the values of this TreeMap.
- map(Ord<B>, F<A, B>) - Method in class fj.data.Set
-
Maps the given function across this set.
- map(List<A>, F<A, B>) - Static method in class fj.java.util.ListUtil
- map_() - Static method in class fj.control.Trampoline
- map_() - Static method in class fj.data.List
-
Provides a first-class version of map()
- map_() - Static method in class fj.data.Stream
-
Provides a first-class version of the map function.
- map_(F<A, B>) - Static method in class fj.P1
-
Promote any function to a transformation between P1s.
- map1(F<A, X>) - Method in class fj.P2
-
Map the first element of the product.
- map1(F<A, X>) - Method in class fj.P3
-
Map the first element of the product.
- map1(F<A, X>) - Method in class fj.P4
-
Map the first element of the product.
- map1(F<A, X>) - Method in class fj.P5
-
Map the first element of the product.
- map1(F<A, X>) - Method in class fj.P6
-
Map the first element of the product.
- map1(F<A, X>) - Method in class fj.P7
-
Map the first element of the product.
- map1(F<A, X>) - Method in class fj.P8
-
Map the first element of the product.
- map1_(F<A, X>) - Static method in class fj.P2
-
Promotes a function so that it maps the first element of a product.
- map2(F<B, X>) - Method in class fj.P2
-
Map the second element of the product.
- map2(F<B, X>) - Method in class fj.P3
-
Map the second element of the product.
- map2(F<B, X>) - Method in class fj.P4
-
Map the second element of the product.
- map2(F<B, X>) - Method in class fj.P5
-
Map the second element of the product.
- map2(F<B, X>) - Method in class fj.P6
-
Map the second element of the product.
- map2(F<B, X>) - Method in class fj.P7
-
Map the second element of the product.
- map2(F<B, X>) - Method in class fj.P8
-
Map the second element of the product.
- map2_(F<B, X>) - Static method in class fj.P2
-
Promotes a function so that it maps the second element of a product.
- map3(F<A, X>, F<B, Y>, F<C, Z>) - Method in class fj.data.Either3
- map3(F<C, X>) - Method in class fj.P3
-
Map the third element of the product.
- map3(F<C, X>) - Method in class fj.P4
-
Map the third element of the product.
- map3(F<C, X>) - Method in class fj.P5
-
Map the third element of the product.
- map3(F<C, X>) - Method in class fj.P6
-
Map the third element of the product.
- map3(F<C, X>) - Method in class fj.P7
-
Map the third element of the product.
- map3(F<C, X>) - Method in class fj.P8
-
Map the third element of the product.
- map4(F<D, X>) - Method in class fj.P4
-
Map the fourth element of the product.
- map4(F<D, X>) - Method in class fj.P5
-
Map the fourth element of the product.
- map4(F<D, X>) - Method in class fj.P6
-
Map the fourth element of the product.
- map4(F<D, X>) - Method in class fj.P7
-
Map the fourth element of the product.
- map4(F<D, X>) - Method in class fj.P8
-
Map the fourth element of the product.
- map5(F<E, X>) - Method in class fj.P5
-
Map the fifth element of the product.
- map5(F<E, X>) - Method in class fj.P6
-
Map the fifth element of the product.
- map5(F<E, X>) - Method in class fj.P7
-
Map the fifth element of the product.
- map5(F<E, X>) - Method in class fj.P8
-
Map the fifth element of the product.
- map6(F<F, X>) - Method in class fj.P6
-
Map the sixth element of the product.
- map6(F<F, X>) - Method in class fj.P7
-
Map the sixth element of the product.
- map6(F<F, X>) - Method in class fj.P8
-
Map the sixth element of the product.
- map7(F<G, X>) - Method in class fj.P7
-
Map the seventh element of the product.
- map7(F<G, X>) - Method in class fj.P8
-
Map the seventh element of the product.
- map8(F<H, X>) - Method in class fj.P8
-
Map the eighth element of the product.
- mapArray() - Method in interface fj.F
-
Promotes this function to map over a Array.
- mapBoth() - Method in interface fj.F
-
Promotes this function to map over both elements of a pair.
- mapError(F<E, K>) - Method in class fj.parser.Parser
-
Maps the given function across this parser's error.
- mapFail() - Method in interface fj.F
-
Promotes this function to map over the failure side of a Validation.
- mapFst() - Method in interface fj.F
-
Promotes this function to map over the first element of a pair.
- mapIterable() - Method in interface fj.F
-
Promotes this function to map over Iterables.
- mapJ(ArrayList<A>) - Method in interface fj.F
-
Maps this function over an ArrayList.
- mapJ(ArrayBlockingQueue<A>) - Method in interface fj.F
-
Maps this function over an ArrayBlockingQueue.
- mapJ(ConcurrentLinkedQueue<A>) - Method in interface fj.F
-
Maps this function over a ConcurrentLinkedQueue.
- mapJ(CopyOnWriteArrayList<A>) - Method in interface fj.F
-
Maps this function over a CopyOnWriteArrayList.
- mapJ(CopyOnWriteArraySet<A>) - Method in interface fj.F
-
Maps this function over a CopyOnWriteArraySet.
- mapJ(LinkedBlockingQueue<A>) - Method in interface fj.F
-
Maps this function over a LinkedBlockingQueue.
- mapJ(PriorityBlockingQueue<A>) - Method in interface fj.F
-
Maps this function over a PriorityBlockingQueue.
- mapJ(SynchronousQueue<A>) - Method in interface fj.F
-
Maps this function over a SynchronousQueue.
- mapJ(LinkedList<A>) - Method in interface fj.F
-
Maps this function over a LinkedList.
- mapJ(PriorityQueue<A>) - Method in interface fj.F
-
Maps this function over a PriorityQueue.
- mapJ(TreeSet<A>) - Method in interface fj.F
-
Maps this function over a TreeSet.
- mapKeys(F<K, A>) - Method in class fj.data.HashMap
- mapKeys(F<K, A>, Equal<A>, Hash<A>) - Method in class fj.data.HashMap
- mapLeft() - Method in interface fj.F
-
Promotes this function to map over the left side of an Either.
- mapList() - Method in class fj.control.parallel.ParModule
-
First-class function that maps a concurrent function over a List inside a promise.
- mapList() - Method in interface fj.F
-
Promotes this function to map over a List.
- mapM(List<A>, F<A, Promise<B>>) - Method in class fj.control.parallel.ParModule
-
Takes a Promise-valued function and applies it to each element in the given List, yielding a promise of a List of results.
- mapM(Stream<A>, F<A, Promise<B>>) - Method in class fj.control.parallel.ParModule
-
Takes a Promise-valued function and applies it to each element in the given Stream, yielding a promise of a Stream of results.
- mapM(F<A, F<B, C>>) - Method in class fj.data.List
-
Maps the given function of arity-2 across this list and returns a function that applies all the resulting functions to a given argument.
- mapM(F<A, F<B, C>>) - Method in class fj.data.Stream
-
Maps the given function of arity-2 across this stream and returns a function that applies all the resulting functions to a given argument.
- mapM(P1<A>, F<A, Promise<B>>) - Method in class fj.control.parallel.ParModule
-
Maps a concurrent function over a Product-1 inside a Promise.
- mapMOption(F<A, Option<B>>) - Method in class fj.data.List
-
Maps the given function across this list by binding through the Option monad.
- mapMTrampoline(F<A, Trampoline<B>>) - Method in class fj.data.List
-
Maps the given function across this list by binding through the Trampoline monad.
- mapNel() - Method in interface fj.F
-
Promotes this function to map over a NonEmptyList.
- mapOption() - Method in interface fj.F
-
Promotes this function to map over an optional value.
- mapP1() - Method in interface fj.F
-
Promotes this function to map over a product-1.
- mapPromise() - Method in interface fj.F
-
Promotes this function to map over a Promise.
- mapRest() - Method in class fj.parser.Result
-
First-class function mapping across the remainder of the parse input.
- mapRest(F<I, J>) - Method in class fj.parser.Result
-
Maps the given function across the remainder of the parse input.
- mapRight() - Method in interface fj.F
-
Promotes this function to map over the right side of an Either.
- mapSet(Ord<B>) - Method in interface fj.F
-
Promotes this function to map over a Set.
- mapSnd() - Method in interface fj.F
-
Promotes this function to map over the second element of a pair.
- mapState(F<P2<S, A>, P2<S, B>>) - Method in class fj.data.State
- mapStream() - Method in class fj.control.parallel.ParModule
-
First-class function that maps a concurrent function over a Stream inside a promise.
- mapStream() - Method in interface fj.F
-
Promotes this function to map over a Stream.
- mapSuccess() - Method in interface fj.F
-
Promotes this function to map over the success side of a Validation.
- mapTails(F<NonEmptyList<A>, B>) - Method in class fj.data.NonEmptyList
-
Maps the given function across the tails of this list (comonad pattern).
- mapTree() - Method in interface fj.F
-
Promotes this function to map over a Tree.
- mapTreeZipper() - Method in interface fj.F
-
Promotes this function to map over a TreeZipper.
- mapValue() - Method in class fj.parser.Result
-
First-class function mapping across the parse value.
- mapValue(F<A, B>) - Method in class fj.parser.Result
-
Maps the given function across the parse value.
- mapValues(F<V, B>) - Method in class fj.data.HashMap
- mapZipper() - Method in interface fj.F
-
Promotes this function to map over a Zipper.
- match(F<Empty<V, A>, B>, F<Single<V, A>, B>, F<Deep<V, A>, B>) - Method in class fj.data.fingertrees.Deep
-
Pattern matching on the tree.
- match(F<Empty<V, A>, B>, F<Single<V, A>, B>, F<Deep<V, A>, B>) - Method in class fj.data.fingertrees.Empty
-
Pattern matching on the structure of this tree.
- match(F<Empty<V, A>, B>, F<Single<V, A>, B>, F<Deep<V, A>, B>) - Method in class fj.data.fingertrees.FingerTree
-
Provides pattern matching on trees.
- match(F<Empty<V, A>, B>, F<Single<V, A>, B>, F<Deep<V, A>, B>) - Method in class fj.data.fingertrees.Single
-
Pattern matching on the structure of this tree.
- match(F<Node2<V, A>, B>, F<Node3<V, A>, B>) - Method in class fj.data.fingertrees.Node
- match(F<Node2<V, A>, B>, F<Node3<V, A>, B>) - Method in class fj.data.fingertrees.Node2
- match(F<Node2<V, A>, B>, F<Node3<V, A>, B>) - Method in class fj.data.fingertrees.Node3
- match(F<One<V, A>, B>, F<Two<V, A>, B>, F<Three<V, A>, B>, F<Four<V, A>, B>) - Method in class fj.data.fingertrees.Digit
-
Structural pattern matching on digits.
- match(F<One<V, A>, B>, F<Two<V, A>, B>, F<Three<V, A>, B>, F<Four<V, A>, B>) - Method in class fj.data.fingertrees.Four
- match(F<One<V, A>, B>, F<Two<V, A>, B>, F<Three<V, A>, B>, F<Four<V, A>, B>) - Method in class fj.data.fingertrees.One
- match(F<One<V, A>, B>, F<Two<V, A>, B>, F<Three<V, A>, B>, F<Four<V, A>, B>) - Method in class fj.data.fingertrees.Three
- match(F<One<V, A>, B>, F<Two<V, A>, B>, F<Three<V, A>, B>, F<Four<V, A>, B>) - Method in class fj.data.fingertrees.Two
- match(F<P2<K, V>, B>, F<HashArrayMappedTrie<K, V>, B>) - Method in class fj.data.hamt.Node
-
Performs a reduction on this Node using the given arguments.
- matches - Static variable in class fj.function.Strings
-
A curried version of
String.matches(String)
. - matches(String) - Method in class fj.data.LazyString
-
Regular expression pattern matching.
- max - Variable in class fj.data.Enumerator
- max - Variable in class fj.Ord
-
A function that returns the greater of its two arguments.
- max() - Method in interface fj.Bounded.Definition
- max() - Method in class fj.Bounded
- max() - Method in class fj.data.Enumerator
-
Returns the maximum value for this enumerator if there is one.
- max() - Method in class fj.data.Set
- max() - Method in class fj.data.TreeMap
-
Returns the maximum (key, value) pair in the tree if the tree is not empty.
- max(A, A) - Method in class fj.Ord
-
Returns the greater of its two arguments.
- MAX_BIT_INDEX - Static variable in class fj.data.hamt.BitSet
- MAX_BIT_SIZE - Static variable in class fj.data.hamt.BitSet
- MAX_INDEX - Static variable in class fj.data.hamt.HashArrayMappedTrie
- maximum(Ord<A>) - Method in class fj.data.List
-
Returns the maximum element in this list according to the given ordering.
- maximum(Ord<A>) - Method in class fj.data.NonEmptyList
-
Returns the maximum element in this non empty list according to the given ordering.
- maximumOption(Ord<A>) - Method in class fj.data.List
-
Returns the maximum element in this list according to the given ordering.
- maxKey() - Method in class fj.data.TreeMap
-
Returns the maximum key in the tree if the tree is not empty.
- maxMonoid(A) - Method in class fj.Ord
- maxSemigroup() - Method in class fj.Ord
- measure - Variable in class fj.data.fingertrees.Measured
- measure - Variable in class fj.data.fingertrees.Node
- measure() - Method in class fj.data.fingertrees.Deep
-
Returns the sum of the measurements of this tree's elements, according to the monoid.
- measure() - Method in class fj.data.fingertrees.Digit
-
Returns the sum of the measurements of this digit according to the monoid.
- measure() - Method in class fj.data.fingertrees.Empty
-
Returns zero.
- measure() - Method in class fj.data.fingertrees.FingerTree
-
Returns the sum of this tree's annotations.
- measure() - Method in class fj.data.fingertrees.Measured
-
Returns the measuring function.
- measure() - Method in class fj.data.fingertrees.Node
- measure() - Method in class fj.data.fingertrees.Single
-
Returns the annotation of this tree's single element.
- measure(A) - Method in class fj.data.fingertrees.Measured
-
Measures a given element.
- measured() - Method in class fj.data.fingertrees.Digit
- measured() - Method in class fj.data.fingertrees.FingerTree
- measured() - Method in class fj.data.fingertrees.Node
- measured(Monoid<V>, F<A, V>) - Static method in class fj.data.fingertrees.FingerTree
-
Constructs a Measured instance for the element type, given a monoid and a measuring function.
- measured(Monoid<V>, F<A, V>) - Static method in class fj.data.fingertrees.Measured
- Measured<V,A> - Class in fj.data.fingertrees
-
Determines how the elements of a tree are measured and how measures are summed.
- Measured(Monoid<V>, F<A, V>) - Constructor for class fj.data.fingertrees.Measured
- member() - Static method in class fj.data.Set
-
First-class membership check.
- member(A) - Method in class fj.data.Set
-
Checks if the given element is a member of this set.
- memo - Variable in class fj.data.Eval.DeferEval
- memo - Variable in class fj.data.Eval.Later
- memo() - Method in class fj.P1
-
Wrap the memoized value into a
WeakReference
. - memo() - Method in class fj.P2
-
Provides a memoising P2 that remembers its values.
- memo() - Method in class fj.P3
-
Provides a memoising P3 that remembers its values.
- memo() - Method in class fj.P4
-
Provides a memoising P4 that remembers its values.
- memo() - Method in class fj.P5
-
Provides a memoising P5 that remembers its values.
- memo() - Method in class fj.P6
-
Provides a memoising P6 that remembers its values.
- memo() - Method in class fj.P7
-
Provides a memoising P7 that remembers its values.
- memo() - Method in class fj.P8
-
Provides a memoising P8 that remembers its values.
- memo(F0<A>) - Static method in class fj.P
-
Convert a F0 into a P1, using weak call-by-need semantic using
P.weakMemo(F0)
. - Memo(F0<A>) - Constructor for class fj.P1.Memo
- merge(Ord<A>, Stream<A>, Stream<A>) - Static method in class fj.data.Stream
- mergeAll(List<Future<A>>) - Static method in class fj.control.parallel.Strategy
-
Waits for every Future in a list to obtain a value, and collects those values in a list.
- mergePairs(Ord<A>, Stream<Stream<A>>) - Static method in class fj.data.Stream
- mergesort(Ord<A>, Stream<Stream<A>>) - Static method in class fj.data.Stream
- middle - Variable in class fj.data.fingertrees.Deep
- middle() - Method in class fj.data.Either3
- middle() - Method in class fj.data.fingertrees.Deep
-
Returns a finger tree of the inner nodes of this tree.
- middle(B) - Static method in class fj.data.Either3
- Middle(B) - Constructor for class fj.data.Either3.Middle
- middleMap(F<B, X>) - Method in class fj.data.Either3
- middleMap_() - Method in class fj.data.Either3
- middleOption() - Method in class fj.data.Either3
- MiddleProjection(Either3<A, B, C>) - Constructor for class fj.data.Either3.MiddleProjection
- min - Variable in class fj.data.Enumerator
- min - Variable in class fj.Ord
-
A function that returns the lesser of its two arguments.
- min() - Method in interface fj.Bounded.Definition
- min() - Method in class fj.Bounded
- min() - Method in class fj.data.Enumerator
-
Returns the minimum value for this enumerator if there is one.
- min() - Method in class fj.data.Set
- min() - Method in class fj.data.TreeMap
-
Returns the minimum (key, value) pair in the tree if the tree is not empty.
- min(A, A) - Method in class fj.Ord
-
Returns the lesser of its two arguments.
- MIN_INDEX - Static variable in class fj.data.hamt.HashArrayMappedTrie
- minimum(Ord<A>) - Method in class fj.data.List
-
Returns the minimum element in this list according to the given ordering.
- minimum(Ord<A>) - Method in class fj.data.NonEmptyList
-
Returns the minimum element in this non empty list according to the given ordering.
- minimumOption(Ord<A>) - Method in class fj.data.List
-
Returns the minimum element in this list according to the given ordering.
- minKey() - Method in class fj.data.TreeMap
-
Returns the minimum key in the tree if the tree is not empty.
- minMonoid(A) - Method in class fj.Ord
- minSemigroup() - Method in class fj.Ord
- minus() - Static method in class fj.data.Set
-
A first class function for
Set.minus(Set)
. - minus(Set<A>) - Method in class fj.data.Set
-
Remove all elements from this set that occur in the given set.
- minus(Equal<A>, List<A>) - Method in class fj.data.List
-
Returns a new list of all the items in this list that do not appear in the given list.
- minus(Equal<A>, Stream<A>) - Method in class fj.data.Stream
-
Returns a new stream of all the items in this stream that do not appear in the given stream.
- mirrored(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a mirrored character.
- mirrored(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a mirrored character.
- MK_TREE - Static variable in class fj.data.Seq
- mkArray(Object[]) - Static method in class fj.data.Array
-
Unsafe package-private constructor.
- mkPromise(Strategy<Unit>) - Static method in class fj.control.parallel.Promise
- mkTree() - Static method in class fj.data.Seq
- mkTree(Measured<V, A>) - Static method in class fj.data.fingertrees.FingerTree
-
Returns a builder of trees and tree components that annotates them using the given Measured instance.
- mod - Static variable in class fj.data.Natural
-
A function that yields the remainder of division of its second argument by its first.
- mod(Natural) - Method in class fj.data.Natural
-
Take the remainder of a natural number division.
- mode(Ord<A>) - Method in class fj.data.List
-
Returns the most common element in this list.
- modify(F<A, A>) - Method in class fj.data.optic.Lens
- modify(F<A, A>) - Method in class fj.data.optic.Optional
- modify(F<A, A>) - Method in class fj.data.optic.Setter
- modify(F<A, B>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with a function - modify(F<A, B>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
using a function - modify(F<A, B>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with a function - modify(F<A, B>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with a function - modify(F<A, B>) - Method in class fj.data.optic.PSetter
-
modify polymorphically the target of a
PSetter
with a function - modify(F<A, B>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with a function - modify(F<S, S>) - Static method in class fj.data.State
- modifyEitherF(F<A, Either<L, A>>) - Method in class fj.data.optic.Lens
- modifyEitherF(F<A, Either<L, A>>) - Method in class fj.data.optic.Optional
- modifyEitherF(F<A, Either<L, A>>) - Method in class fj.data.optic.Traversal
- modifyEitherF(F<A, Either<L, B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyEitherF(F<A, Either<L, B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyEitherF(F<A, Either<L, B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyEitherF(F<A, Either<L, B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyEitherF(F<A, Either<L, B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyFunctionF(F<A, F<C, A>>) - Method in class fj.data.optic.Lens
- modifyFunctionF(F<A, F<C, A>>) - Method in class fj.data.optic.Optional
- modifyFunctionF(F<A, F<C, A>>) - Method in class fj.data.optic.Traversal
- modifyFunctionF(F<A, F<C, B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyFunctionF(F<A, F<C, B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyFunctionF(F<A, F<C, B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyFunctionF(F<A, F<C, B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyFunctionF(F<A, F<C, B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyIOF(F<A, IO<A>>) - Method in class fj.data.optic.Lens
- modifyIOF(F<A, IO<A>>) - Method in class fj.data.optic.Optional
- modifyIOF(F<A, IO<A>>) - Method in class fj.data.optic.Traversal
- modifyIOF(F<A, IO<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyIOF(F<A, IO<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyIOF(F<A, IO<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyIOF(F<A, IO<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyIOF(F<A, IO<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyLabel(F<A, A>) - Method in class fj.data.TreeZipper
-
Modifies the label at the current node with the given function.
- modifyListF(F<A, List<A>>) - Method in class fj.data.optic.Lens
- modifyListF(F<A, List<A>>) - Method in class fj.data.optic.Optional
- modifyListF(F<A, List<A>>) - Method in class fj.data.optic.Traversal
- modifyListF(F<A, List<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyListF(F<A, List<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyListF(F<A, List<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyListF(F<A, List<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyListF(F<A, List<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyOption(F<A, B>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with a function. - modifyOption(F<A, B>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with a function. - modifyOptionF(F<A, Option<A>>) - Method in class fj.data.optic.Lens
- modifyOptionF(F<A, Option<A>>) - Method in class fj.data.optic.Optional
- modifyOptionF(F<A, Option<A>>) - Method in class fj.data.optic.Traversal
- modifyOptionF(F<A, Option<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyOptionF(F<A, Option<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyOptionF(F<A, Option<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyOptionF(F<A, Option<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyOptionF(F<A, Option<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyP1F(F<A, P1<A>>) - Method in class fj.data.optic.Lens
- modifyP1F(F<A, P1<A>>) - Method in class fj.data.optic.Optional
- modifyP1F(F<A, P1<A>>) - Method in class fj.data.optic.Traversal
- modifyP1F(F<A, P1<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyP1F(F<A, P1<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyP1F(F<A, P1<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyP1F(F<A, P1<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyP1F(F<A, P1<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyPromiseF(F<A, Promise<A>>) - Method in class fj.data.optic.Lens
- modifyPromiseF(F<A, Promise<A>>) - Method in class fj.data.optic.Optional
- modifyPromiseF(F<A, Promise<A>>) - Method in class fj.data.optic.Traversal
- modifyPromiseF(F<A, Promise<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyPromiseF(F<A, Promise<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyPromiseF(F<A, Promise<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyPromiseF(F<A, Promise<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyPromiseF(F<A, Promise<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyStreamF(F<A, Stream<A>>) - Method in class fj.data.optic.Lens
- modifyStreamF(F<A, Stream<A>>) - Method in class fj.data.optic.Optional
- modifyStreamF(F<A, Stream<A>>) - Method in class fj.data.optic.Traversal
- modifyStreamF(F<A, Stream<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyStreamF(F<A, Stream<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyStreamF(F<A, Stream<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyStreamF(F<A, Stream<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyStreamF(F<A, Stream<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyTrampolineF(F<A, Trampoline<A>>) - Method in class fj.data.optic.Lens
- modifyTrampolineF(F<A, Trampoline<A>>) - Method in class fj.data.optic.Optional
- modifyTrampolineF(F<A, Trampoline<A>>) - Method in class fj.data.optic.Traversal
- modifyTrampolineF(F<A, Trampoline<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyTrampolineF(F<A, Trampoline<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyTrampolineF(F<A, Trampoline<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyTrampolineF(F<A, Trampoline<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyTrampolineF(F<A, Trampoline<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyTree(F<Tree<A>, Tree<A>>) - Method in class fj.data.TreeZipper
-
Modifies the current node with the given function.
- modifyV2F(F<A, V2<A>>) - Method in class fj.data.optic.Lens
- modifyV2F(F<A, V2<A>>) - Method in class fj.data.optic.Optional
- modifyV2F(F<A, V2<A>>) - Method in class fj.data.optic.Traversal
- modifyV2F(F<A, V2<B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyV2F(F<A, V2<B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyV2F(F<A, V2<B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyV2F(F<A, V2<B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyV2F(F<A, V2<B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - modifyValidationF(F<A, Validation<E, A>>) - Method in class fj.data.optic.Lens
- modifyValidationF(F<A, Validation<E, A>>) - Method in class fj.data.optic.Optional
- modifyValidationF(F<A, Validation<E, B>>) - Method in class fj.data.optic.PIso
-
modify polymorphically the target of a
PIso
with an Applicative function - modifyValidationF(F<A, Validation<E, B>>) - Method in class fj.data.optic.PLens
-
modify polymorphically the target of a
PLens
with an Applicative function - modifyValidationF(F<A, Validation<E, B>>) - Method in class fj.data.optic.POptional
-
modify polymorphically the target of a
POptional
with an Applicative function - modifyValidationF(F<A, Validation<E, B>>) - Method in class fj.data.optic.PPrism
-
modify polymorphically the target of a
PPrism
with an Applicative function - modifyValidationF(Semigroup<E>, F<A, Validation<E, A>>) - Method in class fj.data.optic.Traversal
- modifyValidationF(Semigroup<E>, F<A, Validation<E, B>>) - Method in class fj.data.optic.PTraversal
-
modify polymorphically the target of a
PTraversal
with an Applicative function - monoid - Variable in class fj.data.Writer
- monoid() - Method in class fj.data.fingertrees.Measured
-
Returns the monoid used to sum measures.
- monoid() - Method in class fj.data.Writer
- monoid(A) - Method in class fj.Semigroup
-
Constructs a monoid from this semigroup and a zero value, which must follow the monoidal laws.
- monoid(F<A, F<A, A>>, A) - Static method in class fj.Monoid
-
Constructs a monoid from the given sum function and zero value, which must follow the monoidal laws.
- monoid(F2<A, A, A>, A) - Static method in class fj.Monoid
-
Constructs a monoid from the given sum function and zero value, which must follow the monoidal laws.
- Monoid<A> - Class in fj
-
A monoid abstraction to be defined across types of the given type argument.
- Monoid(Monoid.Definition<A>) - Constructor for class fj.Monoid
- Monoid.AltDefinition<A> - Interface in fj
-
Primitives functions of Monoid: alternative minimal definition and overridable methods.
- Monoid.Definition<A> - Interface in fj
-
Primitives functions of Monoid: minimal definition and overridable methods.
- monoidDef(Monoid.AltDefinition<A>) - Static method in class fj.Monoid
-
Constructs a monoid from the given definition, which must follow the monoidal laws.
- monoidDef(Monoid.Definition<A>) - Static method in class fj.Monoid
-
Constructs a monoid from the given definition, which must follow the monoidal laws.
- monoidDef(Semigroup.AltDefinition<A>, A) - Static method in class fj.Monoid
-
Constructs a monoid from the given semigroup definition and zero value, which must follow the monoidal laws.
- monoidDef(Semigroup.Definition<A>, A) - Static method in class fj.Monoid
-
Constructs a monoid from the given semigroup definition and zero value, which must follow the monoidal laws.
- move() - Static method in class fj.data.Zipper
-
A first-class version of the move function.
- move(int) - Method in class fj.data.Zipper
-
Move the focus to the specified index.
- moveLeft() - Method in class fj.data.Either3
- moveRight() - Method in class fj.data.Either3
- multiply - Static variable in class fj.data.Natural
-
A function that multiplies a natural number by another.
- multiply - Static variable in class fj.function.BigIntegers
-
Curried Integer multiplication.
- multiply - Static variable in class fj.function.Doubles
-
Curried Double multiplication.
- multiply - Static variable in class fj.function.Integers
-
Curried Integer multiplication.
- multiply - Static variable in class fj.function.Longs
-
Curried Long multiplication.
- multiply(int, A) - Method in interface fj.Monoid.Definition
- multiply(int, A) - Method in class fj.Monoid
-
Returns a value summed
n
times (a + a + ...
- multiply(Natural) - Method in class fj.data.Natural
-
Multiply a natural number by another.
- multiply1p(int, A) - Method in interface fj.Monoid.Definition
- multiply1p(int, A) - Method in interface fj.Ord.Definition
- multiply1p(int, A) - Method in interface fj.Semigroup.Definition
- multiply1p(int, A) - Method in class fj.Semigroup
-
Returns a value summed
n + 1
times (a + a + ...
N
- natural(long) - Static method in class fj.data.Natural
-
Returns the natural number equal to the given long
- natural(BigInteger) - Static method in class fj.data.Natural
-
Returns the natural number equal to the given BigInteger
- Natural - Class in fj.data
-
Represents a natural number (zero, one, two, etc.)
- Natural(BigInteger) - Constructor for class fj.data.Natural
- naturalAdditionMonoid - Static variable in class fj.Monoid
-
A monoid that adds natural numbers.
- naturalAdditionSemigroup - Static variable in class fj.Semigroup
-
A semigroup that adds natural numbers.
- naturalEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
Natural
- naturalEqual - Static variable in class fj.Equal
-
An equal instance for the
Natural
type. - naturalHash - Static variable in class fj.Hash
-
A hash instance for the
Natural
type. - naturalMaximumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the maximum of natural numbers.
- naturalMinimumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the minimum of natural numbers.
- naturalMultiplicationMonoid - Static variable in class fj.Monoid
-
A monoid that multiplies natural numbers.
- naturalMultiplicationSemigroup - Static variable in class fj.Semigroup
-
A semigroup that multiplies natural numbers.
- naturalOrd - Static variable in class fj.Ord
-
An order instance for the
Natural
type. - naturalShow - Static variable in class fj.Show
-
A show instance for natural numbers.
- negate - Static variable in class fj.function.BigIntegers
-
Negation.
- negate - Static variable in class fj.function.Doubles
-
Negation.
- negate - Static variable in class fj.function.Integers
-
Negation.
- negate - Static variable in class fj.function.Longs
-
Negation.
- nel() - Static method in class fj.data.NonEmptyList
-
Returns a function that puts an element into a non-empty list.
- nel() - Method in class fj.data.Validation
-
Puts this validation's failing value in a non-empty list if there is one.
- nel(A, A...) - Static method in class fj.data.NonEmptyList
-
Constructs a non empty list from the given elements.
- nel(A, List<A>) - Static method in class fj.data.NonEmptyList
-
Return a non-empty list with the given head and tail.
- nelK() - Method in interface fj.F
-
Promotes this function to return its value in a NonEmptyList.
- nelM() - Method in interface fj.F2
-
Promotes this function to a function on non-empty lists.
- newReference(B) - Method in class fj.P1.ReferenceMemo
- newReference(B) - Method in class fj.P1.SoftReferenceMemo
- newReference(B) - Method in class fj.P1.WeakReferenceMemo
- next - Variable in class fj.data.Eval.BindTrampolineEval
- next() - Method in class fj.data.Zipper
-
Possibly moves the focus to the next element in the list.
- next_() - Static method in class fj.data.Zipper
-
First-class version of the next() function.
- nextInt() - Method in class fj.LcgRng
- nextInt() - Method in class fj.Rng
- nextLong() - Method in class fj.LcgRng
- nextLong() - Method in class fj.Rng
- nextLong(long) - Static method in class fj.LcgRng
- nextNatural() - Method in class fj.Rng
- nif - Static variable in class fj.function.Booleans
-
Curried form of logical "not if" (reverse nonimplication).
- nil - Static variable in class fj.data.hlist.HList.HNil
- nil() - Static method in class fj.data.DList
-
A empty DList.
- nil() - Static method in class fj.data.hlist.HList
-
Returns the empty list.
- nil() - Static method in class fj.data.List
-
Returns an empty list.
- nil() - Static method in class fj.data.List.Optic
-
Nil prism
- nil() - Static method in class fj.data.Stream
-
Returns an empty stream.
- Nil() - Constructor for class fj.data.List.Nil
- Nil() - Constructor for class fj.data.Stream.Nil
- nil_() - Static method in class fj.data.Stream
-
Returns an empty stream.
- nimp - Static variable in class fj.function.Booleans
-
Curried form of logical "not implies" (nonimplication).
- node() - Static method in class fj.data.Tree
-
First-class constructor of trees.
- node(A, List<Tree<A>>) - Static method in class fj.data.Tree
-
Creates a new n-ary given a root and a subforest of length n.
- node(A, Stream<Tree<A>>) - Static method in class fj.data.Tree
-
Creates a new tree given a root and a (potentially infinite) subforest.
- node(A, P1<Stream<Tree<A>>>) - Static method in class fj.data.Tree
-
Creates a new tree given a root and a (potentially infinite) subforest.
- Node<V,A> - Class in fj.data.fingertrees
-
An inner node of the 2-3 tree.
- Node<K,V> - Class in fj.data.hamt
-
A Hash Array Mapped Trie node that is either a key-value pair or a Hash Array Mapped Trie.
- Node(Either<P2<K, V>, HashArrayMappedTrie<K, V>>) - Constructor for class fj.data.hamt.Node
- Node(Measured<V, A>, V) - Constructor for class fj.data.fingertrees.Node
- Node(HashArrayMappedTrie<K, V>) - Constructor for class fj.data.hamt.Node
- Node(P2<K, V>) - Constructor for class fj.data.hamt.Node
- node2(A, A) - Method in class fj.data.fingertrees.MakeTree
-
A binary tree node.
- node2(V2<A>) - Method in class fj.data.fingertrees.MakeTree
-
A binary tree node
- Node2<V,A> - Class in fj.data.fingertrees
-
A two-element inner tree node.
- Node2(Measured<V, A>, V2<A>) - Constructor for class fj.data.fingertrees.Node2
- node3(A, A, A) - Method in class fj.data.fingertrees.MakeTree
-
A trinary tree node.
- node3(V3<A>) - Method in class fj.data.fingertrees.MakeTree
-
A trinary tree node
- Node3<V,A> - Class in fj.data.fingertrees
-
A three-element inner tree node.
- Node3(Measured<V, A>, V3<A>) - Constructor for class fj.data.fingertrees.Node3
- nodeMeasured() - Method in class fj.data.fingertrees.Measured
-
A measured instance for nodes.
- nodeShow(Show<V>, Show<A>) - Static method in class fj.Show
- none() - Static method in class fj.data.Option
-
Constructs an optional value that has no value.
- none() - Static method in class fj.data.Option.Optic
-
None prism
- None() - Constructor for class fj.data.Option.None
- none_() - Static method in class fj.data.Option
- NonEmptyList<A> - Class in fj.data
-
Provides an in-memory, immutable, singly linked list with total
head
andtail
. - NonEmptyList(A, List<A>) - Constructor for class fj.data.NonEmptyList
- nonEmptyListEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
NonEmptyList
type. - nonEmptyListHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
NonEmptyList
type. - nonEmptyListOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
NonEmptyList
type. - nonEmptyListSemigroup() - Static method in class fj.Semigroup
-
A semigroup for non-empty lists.
- nonEmptyListShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
NonEmptyList
type. - nor - Static variable in class fj.function.Booleans
-
Curried form of logical "not or".
- Normal() - Constructor for class fj.control.Trampoline.Normal
- normalise() - Static method in class fj.control.parallel.Callables
-
A first-class version of the normalise function.
- normalise(Callable<A>) - Static method in class fj.control.parallel.Callables
-
Normalises the given Callable by calling it and wrapping the result in a new Callable.
- not - Static variable in class fj.function.Booleans
-
Logical negation.
- not() - Method in class fj.data.hamt.BitSet
- not() - Method in class fj.Equal
-
An equal instance, which reverts equality for self
- not(E) - Method in class fj.parser.Parser
-
Returns a parser that negates this parser.
- not(F<A, Boolean>) - Static method in class fj.function.Booleans
-
Negates the given predicate.
- not(F0<E>) - Method in class fj.parser.Parser
-
Returns a parser that negates this parser.
- notEq(A, A) - Method in class fj.Equal
-
Returns
true
if the two given arguments are not equal,false
otherwise. - now(A) - Static method in class fj.data.Eval
-
Constructs an eager evaluation by wrapping the given value.
- Now(A) - Constructor for class fj.data.Eval.Now
- nub() - Method in class fj.data.List
-
Removes duplicates according to object equality.
- nub(Equal<A>) - Method in class fj.data.List
-
Removes duplicates according to the given equality.
- nub(Ord<A>) - Method in class fj.data.List
-
Removes duplicates according to the given ordering.
- nullable(F<A, B>) - Static method in class fj.Function
-
Return a function that inspects the argument of the given function for a
null
value and if so, does not apply the value, instead returning an empty optional value. - nullablefindFirst(List<X>, F0<X>) - Static method in class fj.function.Visitor
-
Returns the first non-
null
value in the given list of optional values. - nullableVisitor(List<F<A, B>>, F0<B>, A) - Static method in class fj.function.Visitor
-
Returns the first non-
null
value found in the list of visitors after application of the given value, otherwise returns the given default.
O
- o() - Method in interface fj.F
-
First-class function composition
- o(F<C, A>) - Method in interface fj.F
-
Function composition
- o(F<C, A>) - Method in interface fj.function.Effect1
- obtain() - Static method in class fj.control.parallel.Strategy
-
Returns a function which returns a product-1 which waits for the given Future to obtain a value.
- obtain(Future<A>) - Static method in class fj.control.parallel.Strategy
-
Provides a product-1 that waits for the given future to obtain a value.
- on() - Method in interface fj.F
-
Applies this function over the arguments of another function.
- on(F<A, B>) - Method in class fj.data.Either.RightProjection
-
The value of this projection or the result of the given function on the opposing projection's value.
- on(F<A, B>, Equal<B>) - Static method in class fj.Equal
-
Begin definition of an equal instance.
- on(F<A, B>, Ord<B>) - Static method in class fj.Ord
-
Begin definition of an ord instance.
- on(F<A, F<A, C>>, F<B, A>) - Static method in class fj.Function
-
Applies a given function over the arguments of another function of arity-2.
- on(F<B, A>) - Method in class fj.data.Either.LeftProjection
-
The value of this projection or the result of the given function on the opposing projection's value.
- on(F<B, F<B, C>>) - Method in interface fj.F
-
Applies this function over the arguments of another function.
- on(F<E, T>) - Method in class fj.data.Validation
-
The success value or the application of the given function to the failing value.
- on(F<T, E>) - Method in class fj.data.Validation.FailProjection
-
The failing value or the application of the given function to the success value.
- one(A) - Method in class fj.data.fingertrees.MakeTree
-
A digit of one element.
- One<V,A> - Class in fj.data.fingertrees
-
A single-element prefix or suffix of a finger tree.
- One(Measured<V, A>, A) - Constructor for class fj.data.fingertrees.One
- ONE - Static variable in class fj.data.Natural
-
The natural number one
- onFail() - Method in interface fj.F
-
Returns a function that returns the failure side of a given Validation, or this function applied to the success side.
- onLeft() - Method in interface fj.F
-
Returns a function that returns the left side of a given Either, or this function applied to the right side.
- onRight() - Method in interface fj.F
-
Returns a function that returns the right side of a given Either, or this function applied to the left side.
- onSuccess() - Method in interface fj.F
-
Returns a function that returns the success side of a given Validation, or this function applied to the failure side.
- Optic() - Constructor for class fj.data.List.Optic
- Optic() - Constructor for class fj.data.Option.Optic
- Optic() - Constructor for class fj.P2.Optic
- option() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from a Callable to an optional value.
- option(B, F<A, B>) - Method in class fj.data.Option
-
Performs a reduction on this optional value using the given arguments.
- option(F0<B>, F<A, B>) - Method in class fj.data.Option
-
Performs a reduction on this optional value using the given arguments.
- option(Callable<A>) - Static method in class fj.control.parallel.Callables
-
Turns the given Callable into an optional value.
- Option<A> - Class in fj.data
-
An optional value that may be none (no value) or some (a value).
- Option() - Constructor for class fj.data.Option
- option_(B, F<A, B>) - Static method in class fj.data.Option
-
First-class catamorphism for Option: return a function that will performs a reduction on an optional value using the given arguments.
- Option_Array() - Static method in class fj.data.Conversions
-
A function that converts options to arrays.
- Option_ArrayBlockingQueue(boolean) - Static method in class fj.data.Java
-
A function that converts options to array blocking queues.
- Option_ArrayList() - Static method in class fj.data.Java
-
A function that converts options to array lists.
- Option_BitSet - Static variable in class fj.data.Java
-
A function that converts options to bit sets.
- Option_ConcurrentLinkedQueue() - Static method in class fj.data.Java
-
A function that converts options to concurrent linked queues.
- Option_CopyOnWriteArrayList() - Static method in class fj.data.Java
-
A function that converts options to copy on write array lists.
- Option_CopyOnWriteArraySet() - Static method in class fj.data.Java
-
A function that converts options to copy on write array sets.
- Option_DelayQueue() - Static method in class fj.data.Java
-
A function that converts options to delay queues.
- Option_Either() - Static method in class fj.data.Conversions
-
A function that converts options to eithers.
- Option_EnumSet() - Static method in class fj.data.Java
-
A function that converts options to enum sets.
- Option_HashSet() - Static method in class fj.data.Java
-
A function that converts options to hash sets.
- Option_LinkedBlockingQueue() - Static method in class fj.data.Java
-
A function that converts options to linked blocking queues.
- Option_LinkedHashSet() - Static method in class fj.data.Java
-
A function that converts options to linked hash sets.
- Option_LinkedList() - Static method in class fj.data.Java
-
A function that converts options to linked lists.
- Option_List() - Static method in class fj.data.Conversions
-
A function that converts options to lists.
- Option_Optional() - Static method in class fj.data.Java8
- Option_Optional(Option<A>) - Static method in class fj.data.Java8
-
Convert an Option to
Optional
. - Option_PriorityBlockingQueue() - Static method in class fj.data.Java
-
A function that converts options to priority blocking queues.
- Option_PriorityQueue() - Static method in class fj.data.Java
-
A function that converts options to priority queues.
- Option_PriorityQueueA() - Static method in class fj.data.Java
-
A function that converts eithers to priority queues.
- Option_PriorityQueueB() - Static method in class fj.data.Java
-
A function that converts eithers to priority queues.
- Option_Stack() - Static method in class fj.data.Java
-
A function that converts options to stacks.
- Option_Stream() - Static method in class fj.data.Conversions
-
A function that converts options to streams.
- Option_String - Static variable in class fj.data.Conversions
-
A function that converts options to strings.
- Option_StringBuffer - Static variable in class fj.data.Conversions
-
A function that converts options to string buffers.
- Option_StringBuilder - Static variable in class fj.data.Conversions
-
A function that converts options to string builders.
- Option_SynchronousQueue(boolean) - Static method in class fj.data.Java
-
A function that converts options to synchronous queues.
- Option_TreeSet() - Static method in class fj.data.Java
-
A function that converts options to tree sets.
- Option_Vector() - Static method in class fj.data.Java
-
A function that converts options to vectors.
- Option.None<A> - Class in fj.data
- Option.Optic - Class in fj.data
- Option.Some<A> - Class in fj.data
- optional(F<S, Option<A>>, F<A, F<S, S>>) - Static method in class fj.data.optic.Optional
- Optional<S,A> - Class in fj.data.optic
-
POptional
restricted to monomorphic update - Optional(POptional<S, S, A, A>) - Constructor for class fj.data.optic.Optional
- Optional_Option() - Static method in class fj.data.Java8
- Optional_Option(Optional<A>) - Static method in class fj.data.Java8
- optionEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
Option
type. - optionHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
Option
type. - optionK() - Method in interface fj.F
-
Promotes this function so that it returns its result in an Option.
- optionM() - Method in interface fj.F2
-
Promotes this function to a function on Options.
- optionMonoid(Semigroup<A>) - Static method in class fj.Monoid
-
Lift a
Semigroup<A>
for A to aMonoid<Option<A>>
, using Option.none() as zero. - optionOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
Option
type. - optionShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Option
type. - or - Static variable in class fj.function.Booleans
-
Curried form of logical "inclusive or" (disjunction).
- or(BitSet) - Method in class fj.data.hamt.BitSet
- or(List<Boolean>) - Static method in class fj.function.Booleans
-
Returns true if any element of the given list is true.
- or(Stream<Boolean>) - Static method in class fj.function.Booleans
-
Returns true if any element of the given stream is true.
- or(F<A, Boolean>, F<A, Boolean>) - Static method in class fj.function.Booleans
-
returns composed predicate using disjunction
- or(F0<Parser<I, A, E>>) - Method in class fj.parser.Parser
-
Returns a parser that tries this parser and if it fails, then tries the given parser.
- or(F0<Parser<I, A, E>>, Semigroup<E>) - Method in class fj.parser.Parser
-
Returns a parser that tries this parser and if it fails, then tries the given parser.
- or(Parser<I, A, E>) - Method in class fj.parser.Parser
-
Returns a parser that tries this parser and if it fails, then tries the given parser.
- or(Parser<I, A, E>, Semigroup<E>) - Method in class fj.parser.Parser
-
Returns a parser that tries this parser and if it fails, then tries the given parser.
- orAll(List<F<A, Boolean>>) - Static method in class fj.function.Booleans
-
Returns a composed predicate of given List of predicates
- orAll(Stream<F<A, Boolean>>) - Static method in class fj.function.Booleans
-
Returns a composed predicate of given Stream of predicates
- ord - Variable in class fj.data.Set
- ord() - Method in class fj.data.Set
-
Returns the order of this Set.
- ord() - Method in interface fj.Ord.Definition
-
Build an ord instance from this definition.
- ord(F<A, F<A, Ordering>>) - Static method in class fj.Ord
-
Returns an order instance that uses the given equality test and ordering function.
- ord(F2<A, A, Ordering>) - Static method in class fj.Ord
-
Returns an order instance that uses the given equality test and ordering function.
- ord(Ord<A>) - Static method in class fj.data.Zipper
-
An Ord instance for Zippers.
- ord(Ord<K>) - Static method in class fj.data.TreeMap
- Ord<A> - Class in fj
-
Tests for ordering between two objects.
- Ord(Ord.Definition<A>) - Constructor for class fj.Ord
- Ord.AltDefinition<A> - Interface in fj
-
Primitives functions of Ord: alternative minimal definition and overridable methods.
- Ord.Definition<A> - Interface in fj
-
Primitives functions of Ord: minimal definition and overridable methods.
- Ord.OrdComparator - Class in fj
- OrdComparator() - Constructor for class fj.Ord.OrdComparator
- ordDef(Ord.AltDefinition<A>) - Static method in class fj.Ord
-
Returns an order instance that uses the given minimal equality test and ordering definition.
- ordDef(Ord.Definition<A>) - Static method in class fj.Ord
-
Returns an order instance that uses the given minimal equality test and ordering definition.
- order - Variable in class fj.data.Enumerator
- order() - Method in class fj.data.Enumerator
-
Returns the ordering for the enumerator.
- Ordering - Enum in fj
-
The comparison of two instances of a type may have one of three orderings; less than, equal or greater than.
- Ordering() - Constructor for enum fj.Ordering
- orderingEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
Ordering
. - orderingOrd - Static variable in class fj.Ord
-
An order instance for the
Ordering
type. - orElse(Option<A>) - Method in class fj.data.Option
-
Returns this optional value if there is one, otherwise, returns the argument optional value.
- orElse(F0<Option<A>>) - Method in class fj.data.Option
-
Returns this optional value if there is one, otherwise, returns the argument optional value.
- orFail(E) - Method in class fj.data.Validation.FailProjection
-
Returns the failing value or the given value.
- orFail(F0<E>) - Method in class fj.data.Validation.FailProjection
-
Returns the failing value or the given value.
- orHead(F0<A>) - Method in class fj.data.List
-
Returns the head of this list if there is one or the given argument if this list is empty.
- orHead(F0<A>) - Method in class fj.data.Stream
-
Returns the head of this stream if there is one or the given argument if this stream is empty.
- orSome(A) - Method in class fj.data.Option
-
Returns the value of this optional value or the given argument.
- orSome(F0<A>) - Method in class fj.data.Option
-
Returns the value of this optional value or the given argument.
- orSuccess(F0<T>) - Method in class fj.data.Validation
-
Returns the success value or the given value.
- orSuccess(T) - Method in class fj.data.Validation
-
Returns the success value or the given value.
- orTail(F0<List<A>>) - Method in class fj.data.List
-
Returns the tail of this list if there is one or the given argument if this list is empty.
- orTail(F0<Stream<A>>) - Method in class fj.data.Stream
-
Returns the tail of this stream if there is one or the given argument if this stream is empty.
- orValue(A) - Method in class fj.data.Either.LeftProjection
-
The value of this projection or the given argument.
- orValue(A) - Method in class fj.data.Either3.LeftProjection
- orValue(B) - Method in class fj.data.Either.RightProjection
-
The value of this projection or the given argument.
- orValue(B) - Method in class fj.data.Either3.MiddleProjection
- orValue(C) - Method in class fj.data.Either3.RightProjection
- orValue(F0<A>) - Method in class fj.data.Either.LeftProjection
-
The value of this projection or the given argument.
- orValue(F0<A>) - Method in class fj.data.Either3.LeftProjection
- orValue(F0<B>) - Method in class fj.data.Either.RightProjection
-
The value of this projection or the given argument.
- orValue(F0<B>) - Method in class fj.data.Either3.MiddleProjection
- orValue(F0<C>) - Method in class fj.data.Either3.RightProjection
P
- p() - Method in class fj.data.TreeZipper
-
Returns the product-4 representation of this zipper.
- p() - Method in class fj.data.vector.V2
-
Returns a homogeneous product-2 equivalent to this vector.
- p() - Method in class fj.data.vector.V3
-
Returns a homogeneous product-3 equivalent to this vector.
- p() - Method in class fj.data.vector.V4
-
Returns a homogeneous product-4 equivalent to this vector.
- p() - Method in class fj.data.vector.V5
-
Returns a homogeneous product-5 equivalent to this vector.
- p() - Method in class fj.data.vector.V6
-
Returns a homogeneous product-6 equivalent to this vector.
- p() - Method in class fj.data.vector.V7
-
Returns a homogeneous product-7 equivalent to this vector.
- p() - Method in class fj.data.vector.V8
-
Returns a homogeneous product-8 equivalent to this vector.
- p() - Method in class fj.data.Zipper
-
Returns the product-3 representation of this Zipper.
- p(A) - Static method in class fj.P
-
A function that puts an element in a product-1.
- p(A, B) - Static method in class fj.P
-
A function that puts elements in a product-2.
- p(A, B, C) - Static method in class fj.P
-
A function that puts elements in a product-3.
- p(A, B, C, D) - Static method in class fj.P
-
A function that puts elements in a product-4.
- p(A, B, C, D, E) - Static method in class fj.P
-
A function that puts elements in a product-5.
- p(A, B, C, D, E, F$) - Static method in class fj.P
-
A function that puts elements in a product-6.
- p(A, B, C, D, E, F$, G) - Static method in class fj.P
-
A function that puts elements in a product-7.
- p(A, B, C, D, E, F$, G, H) - Static method in class fj.P
-
A function that puts elements in a product-8.
- p(IO<A>) - Static method in class fj.data.IOFunctions
- p(P2<A, A>) - Static method in class fj.data.vector.V2
-
Creates a vector-2 from a homogeneous product-2.
- p(P3<A, A, A>) - Static method in class fj.data.vector.V3
-
Creates a vector-3 from a homogeneous product-3.
- p(P4<A, A, A, A>) - Static method in class fj.data.vector.V4
-
Creates a vector-4 from a homogeneous product-4.
- p(P5<A, A, A, A, A>) - Static method in class fj.data.vector.V5
-
Creates a vector-5 from a homogeneous product-5.
- p(P6<A, A, A, A, A, A>) - Static method in class fj.data.vector.V6
-
Creates a vector-6 from a homogeneous product-6.
- p(P7<A, A, A, A, A, A, A>) - Static method in class fj.data.vector.V7
-
Creates a vector-7 from a homogeneous product-7.
- p(P8<A, A, A, A, A, A, A, A>) - Static method in class fj.data.vector.V8
-
Creates a vector-8 from a homogeneous product-8.
- P - Class in fj
-
Functions across products.
- P() - Constructor for class fj.P
- p_() - Static method in class fj.data.TreeZipper
-
A first-class function that returns the product-4 representation of a given zipper.
- p_() - Static method in class fj.data.vector.V2
-
Returns a function that transforms a vector-2 to the equivalent product-2.
- p_() - Static method in class fj.data.vector.V3
-
Returns a function that transforms a vector-3 to the equivalent product-3.
- p_() - Static method in class fj.data.vector.V4
-
Returns a function that transforms a vector-4 to the equivalent product-4.
- p_() - Static method in class fj.data.vector.V5
-
Returns a function that transforms a vector-5 to the equivalent product-5.
- p_() - Static method in class fj.data.vector.V6
-
Returns a function that transforms a vector-6 to the equivalent product-6.
- p_() - Static method in class fj.data.vector.V7
-
Returns a function that transforms a vector-7 to the equivalent product-7.
- p_() - Static method in class fj.data.vector.V8
-
Returns a function that transforms a vector-8 to the equivalent product-8.
- p_() - Static method in class fj.data.Zipper
-
A first-class function that yields the product-3 representation of a given Zipper.
- p1() - Static method in class fj.P
-
A function that puts an element in a product-1.
- P1<A> - Class in fj
- P1() - Constructor for class fj.P1
- P1_Callable() - Static method in class fj.data.Java
- P1_Supplier() - Static method in class fj.data.Java8
- P1_Supplier(P1<A>) - Static method in class fj.data.Java8
- P1.Memo<A> - Class in fj
- P1.ReferenceMemo<A> - Class in fj
- P1.SoftReferenceMemo<A> - Class in fj
- P1.WeakReferenceMemo<A> - Class in fj
- p1Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a product-1.
- p1Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a product-1.
- p1Ord(Ord<A>) - Static method in class fj.Ord
-
An order instance for a product-1.
- p1Semigroup(Semigroup<A>) - Static method in class fj.Semigroup
-
A lazy semigroup for unary products.
- p1Show(Show<A>) - Static method in class fj.Show
-
A show instance for the
tuple-1
type. - p1ShowEager(Show<A>) - Static method in class fj.Show
- p1ShowLazy(Show<A>) - Static method in class fj.Show
- p2() - Static method in class fj.P
-
A function that puts an element in a product-2.
- P2<A,B> - Class in fj
-
A product-2.
- P2() - Constructor for class fj.P2
- P2.Optic - Class in fj
-
Optic factory methods for a P2
- p2Equal(Equal<A>, Equal<B>) - Static method in class fj.Equal
-
An equal instance for a product-2.
- p2Hash(Hash<A>, Hash<B>) - Static method in class fj.Hash
-
A hash instance for a product-2.
- p2MapShow(Show<A>, Show<B>) - Static method in class fj.Show
-
A show instance for the
tuple-2
type in the style of a mapping from A to B. - p2Node(P2<K, V>) - Static method in class fj.data.hamt.Node
- p2Ord(Ord<A>, Ord<B>) - Static method in class fj.Ord
-
An order instance for a product-2, with the first factor considered most significant.
- p2Ord1(Ord<A>) - Static method in class fj.Ord
- p2Ord2(Ord<B>) - Static method in class fj.Ord
- p2Semigroup(Semigroup<A>, Semigroup<B>) - Static method in class fj.Semigroup
-
A lazy semigroup for binary products.
- p2Show(Show<A>, Show<B>) - Static method in class fj.Show
-
A show instance for the
tuple-2
type. - p2Show(Show<A>, Show<B>, String, String, String) - Static method in class fj.Show
-
A show instance for the
tuple-2
type. - p3() - Static method in class fj.P
-
A function that puts elements in a product-3.
- P3<A,B,C> - Class in fj
-
A product-3.
- P3() - Constructor for class fj.P3
- p3Equal(Equal<A>, Equal<B>, Equal<C>) - Static method in class fj.Equal
-
An equal instance for a product-3.
- p3Hash(Hash<A>, Hash<B>, Hash<C>) - Static method in class fj.Hash
-
A hash instance for a product-3.
- p3Ord(Ord<A>, Ord<B>, Ord<C>) - Static method in class fj.Ord
-
An order instance for a product-3, with the first factor considered most significant.
- p3Show(Show<A>, Show<B>, Show<C>) - Static method in class fj.Show
-
A show instance for the
tuple-3
type. - p4() - Static method in class fj.P
-
A function that puts an element in a product-4.
- P4<A,B,C,D> - Class in fj
-
A product-4.
- P4() - Constructor for class fj.P4
- p4Equal(Equal<A>, Equal<B>, Equal<C>, Equal<D>) - Static method in class fj.Equal
-
An equal instance for a product-4.
- p4Hash(Hash<A>, Hash<B>, Hash<C>, Hash<D>) - Static method in class fj.Hash
-
A hash instance for a product-4.
- p4Show(Show<A>, Show<B>, Show<C>, Show<D>) - Static method in class fj.Show
-
A show instance for the
tuple-4
type. - p5() - Static method in class fj.P
-
A function that puts an element in a product-5.
- P5<A,B,C,D,E> - Class in fj
-
A product-5.
- P5() - Constructor for class fj.P5
- p5Equal(Equal<A>, Equal<B>, Equal<C>, Equal<D>, Equal<E>) - Static method in class fj.Equal
-
An equal instance for a product-5.
- p5Hash(Hash<A>, Hash<B>, Hash<C>, Hash<D>, Hash<E>) - Static method in class fj.Hash
-
A hash instance for a product-5.
- p5Show(Show<A>, Show<B>, Show<C>, Show<D>, Show<E>) - Static method in class fj.Show
-
A show instance for the
tuple-5
type. - p6() - Static method in class fj.P
-
A function that puts an element in a product-6.
- P6<A,B,C,D,E,F> - Class in fj
-
A product-6.
- P6() - Constructor for class fj.P6
- p6Equal(Equal<A>, Equal<B>, Equal<C>, Equal<D>, Equal<E>, Equal<F$>) - Static method in class fj.Equal
-
An equal instance for a product-6.
- p6Hash(Hash<A>, Hash<B>, Hash<C>, Hash<D>, Hash<E>, Hash<F$>) - Static method in class fj.Hash
-
A hash instance for a product-6.
- p6Show(Show<A>, Show<B>, Show<C>, Show<D>, Show<E>, Show<F$>) - Static method in class fj.Show
-
A show instance for the
tuple-6
type. - p7() - Static method in class fj.P
-
A function that puts an element in a product-7.
- P7<A,B,C,D,E,F,G> - Class in fj
-
A product-7.
- P7() - Constructor for class fj.P7
- p7Equal(Equal<A>, Equal<B>, Equal<C>, Equal<D>, Equal<E>, Equal<F$>, Equal<G>) - Static method in class fj.Equal
-
An equal instance for a product-7.
- p7Hash(Hash<A>, Hash<B>, Hash<C>, Hash<D>, Hash<E>, Hash<F$>, Hash<G>) - Static method in class fj.Hash
-
A hash instance for a product-7.
- p7Show(Show<A>, Show<B>, Show<C>, Show<D>, Show<E>, Show<F$>, Show<G>) - Static method in class fj.Show
-
A show instance for the
tuple-7
type. - p8() - Static method in class fj.P
-
A function that puts an element in a product-8.
- P8<A,B,C,D,E,F,G,H> - Class in fj
-
A product-8.
- P8() - Constructor for class fj.P8
- p8Equal(Equal<A>, Equal<B>, Equal<C>, Equal<D>, Equal<E>, Equal<F$>, Equal<G>, Equal<H>) - Static method in class fj.Equal
-
An equal instance for a product-8.
- p8Hash(Hash<A>, Hash<B>, Hash<C>, Hash<D>, Hash<E>, Hash<F$>, Hash<G>, Hash<H>) - Static method in class fj.Hash
-
A hash instance for a product-8.
- p8Show(Show<A>, Show<B>, Show<C>, Show<D>, Show<E>, Show<F$>, Show<G>, Show<H>) - Static method in class fj.Show
-
A show instance for the
tuple-8
type. - par(P1<A>) - Method in class fj.control.parallel.Strategy
-
Apply the strategy to the given product-1.
- parent() - Method in class fj.data.TreeZipper
-
Navigates to the parent of the current location.
- parents - Variable in class fj.data.TreeZipper
- parents() - Method in class fj.data.TreeZipper
-
Returns the parents of the currently focused node.
- parExtend(NonEmptyList<A>, F<NonEmptyList<A>, B>) - Method in class fj.control.parallel.ParModule
-
Maps the given function across all sublists of the given NonEmptyList in parallel.
- parExtend(Tree<A>, F<Tree<A>, B>) - Method in class fj.control.parallel.ParModule
-
Maps the given function across all subtrees of the given Tree in parallel.
- parExtend(TreeZipper<A>, F<TreeZipper<A>, B>) - Method in class fj.control.parallel.ParModule
-
Maps the given function across all positions of the given TreeZipper in parallel.
- parExtend(Zipper<A>, F<Zipper<A>, B>) - Method in class fj.control.parallel.ParModule
-
Maps the given function across all positions of the given zipper in parallel.
- parFlatMap(Strategy<Array<B>>, F<A, Array<B>>, Array<A>) - Static method in class fj.control.parallel.Strategy
-
Binds the given function in parallel across the given array, using the given strategy, with a final join.
- parFlatMap(Strategy<List<B>>, F<A, List<B>>, List<A>) - Static method in class fj.control.parallel.Strategy
-
Binds the given function in parallel across the given list, using the given strategy, with a final join.
- parFlatMap(Array<A>, F<A, Array<B>>) - Method in class fj.control.parallel.ParModule
-
Binds an Array-valued function across an Array in parallel, concatenating the results into a new Array.
- parFlatMap(List<A>, F<A, List<B>>) - Method in class fj.control.parallel.ParModule
-
Binds a list-valued function across a list in parallel, concatenating the results into a new list.
- parFlatMap(Stream<A>, F<A, Stream<B>>) - Method in class fj.control.parallel.ParModule
-
Binds a Stream-valued function across a Stream in parallel, concatenating the results into a new Stream.
- parFlatMap(Iterable<A>, F<A, Iterable<B>>) - Method in class fj.control.parallel.ParModule
-
Binds an Iterable-valued function across an Iterable in parallel, concatenating the results into a new Iterable.
- parFoldMap(Stream<A>, F<A, B>, Monoid<B>) - Method in class fj.control.parallel.ParModule
-
Maps with the given function across the given stream in parallel, while folding with the given monoid.
- parFoldMap(Stream<A>, F<A, B>, Monoid<B>, F<Stream<A>, P2<Stream<A>, Stream<A>>>) - Method in class fj.control.parallel.ParModule
-
Maps with the given function across chunks of the given stream in parallel, while folding with the given monoid.
- parFoldMap(Iterable<A>, F<A, B>, Monoid<B>) - Method in class fj.control.parallel.ParModule
-
Maps with the given function across the given iterable in parallel, while folding with the given monoid.
- parFoldMap(Iterable<A>, F<A, B>, Monoid<B>, F<Iterable<A>, P2<Iterable<A>, Iterable<A>>>) - Method in class fj.control.parallel.ParModule
-
Maps with the given function across chunks of the given Iterable in parallel, while folding with the given monoid.
- parList(List<P1<A>>) - Method in class fj.control.parallel.Strategy
-
Evaluates a list of product-1s in parallel.
- parListChunk(Strategy<List<A>>, int, List<P1<A>>) - Static method in class fj.control.parallel.Strategy
-
Sequentially evaluates chunks (sub-sequences) of a list in parallel.
- parMap(Array<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps across an Array in parallel.
- parMap(List<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps across a list in parallel.
- parMap(NonEmptyList<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps across a nonempty list in parallel.
- parMap(Stream<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps across a Stream in parallel.
- parMap(Tree<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps a function across a Tree in parallel.
- parMap(TreeZipper<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps a function across a TreeZipper in parallel.
- parMap(Zipper<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps a function across a Zipper in parallel.
- parMap(F<B, A>, Array<B>) - Method in class fj.control.parallel.Strategy
-
Maps the given function over the given array in parallel using this strategy.
- parMap(F<B, A>, List<B>) - Method in class fj.control.parallel.Strategy
-
Maps the given function over the given list in parallel using this strategy.
- parMap(Iterable<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps across an Iterable in parallel.
- parMap1(F<B, A>, Array<B>) - Method in class fj.control.parallel.Strategy
-
A strict version of parMap over arrays.
- parMap1(F<B, A>, List<B>) - Method in class fj.control.parallel.Strategy
-
A strict version of parMap over lists.
- parMapArray() - Method in class fj.control.parallel.ParModule
-
A first-class function that maps another function across an array in parallel.
- parMapArray() - Method in class fj.control.parallel.Strategy
-
First-class version of parMap on arrays.
- parMapArray(F<B, A>) - Method in class fj.control.parallel.Strategy
-
Promotes a function to a parallel function on arrays using this strategy.
- parMapArray1() - Method in class fj.control.parallel.Strategy
-
First-class version of parMap1 on arrays (parallel array functor).
- parMapIterable() - Method in class fj.control.parallel.ParModule
-
A first-class function that maps another function across an iterable in parallel.
- parMapList() - Method in class fj.control.parallel.ParModule
-
A first-class function that maps another function across a list in parallel.
- parMapList() - Method in class fj.control.parallel.Strategy
-
First-class version of parMap on lists.
- parMapList(F<B, A>) - Method in class fj.control.parallel.Strategy
-
Promotes a function to a parallel function on lists using this strategy.
- parMapList1() - Method in class fj.control.parallel.Strategy
-
First-class version of parMap1 on lists (parallel list functor).
- parMapStream() - Method in class fj.control.parallel.ParModule
-
A first-class function that maps another function across a stream in parallel.
- parMapTree() - Method in class fj.control.parallel.ParModule
-
A first-class function that maps across a Tree in parallel.
- parModule(Strategy<Unit>) - Static method in class fj.control.parallel.ParModule
-
Constructor method for ParModule
- ParModule - Class in fj.control.parallel
-
A module of higher-order concurrency features.
- ParModule(Strategy<Unit>) - Constructor for class fj.control.parallel.ParModule
- parse(I) - Method in class fj.parser.Parser
-
Parses the input to produce a result or error.
- parseByte - Static variable in class fj.data.Option
-
A function that parses a string to a byte.
- parseByte - Static variable in class fj.data.Validation
-
A function that parses a string into a byte.
- parseByte(String) - Static method in class fj.data.Validation
-
Parses the given string into a byte.
- parseDouble - Static variable in class fj.data.Option
-
A function that parses a string to a double.
- parseDouble - Static variable in class fj.data.Validation
-
A function that parses a string into a double.
- parseDouble(String) - Static method in class fj.data.Validation
-
Parses the given string into a double.
- parseFloat - Static variable in class fj.data.Option
-
A function that parses a string to a float.
- parseFloat - Static variable in class fj.data.Validation
-
A function that parses a string into a float.
- parseFloat(String) - Static method in class fj.data.Validation
-
Parses the given string into a float.
- parseInt - Static variable in class fj.data.Option
-
A function that parses a string to an integer.
- parseInt - Static variable in class fj.data.Validation
-
A function that parses a string into an integer.
- parseInt(String) - Static method in class fj.data.Validation
-
Parses the given string into a integer.
- parseLong - Static variable in class fj.data.Option
-
A function that parses a string to a long.
- parseLong - Static variable in class fj.data.Validation
-
A function that parses a string into a long.
- parseLong(String) - Static method in class fj.data.Validation
-
Parses the given string into a long.
- parser(F<I, Validation<E, Result<I, A>>>) - Static method in class fj.parser.Parser
-
Returns a parser that computes using the given function.
- Parser<I,A,E> - Class in fj.parser
-
A parser is a function that takes some input (I) and produces either an error (E) or a parse result (A) and the remainder of the input.
- Parser(F<I, Validation<E, Result<I, A>>>) - Constructor for class fj.parser.Parser
- Parser.CharsParser - Class in fj.parser
-
Parsers that accept
Stream<Character>
input. - Parser.StreamParser - Class in fj.parser
-
Parsers that accept
Stream
input. - parseShort - Static variable in class fj.data.Option
-
A function that parses a string to a short.
- parseShort - Static variable in class fj.data.Validation
-
A function that parses a string into a short.
- parseShort(String) - Static method in class fj.data.Validation
-
Parses the given string into a short.
- partial(A) - Method in interface fj.F
-
Partial application.
- partial(A) - Method in interface fj.function.Effect1
- partialApply2(F<A, F<B, C>>, B) - Static method in class fj.Function
-
Partial application of the second argument to the supplied function to get a function of type
A -> C
. - partialApply3(F<A, F<B, F<C, D>>>, C) - Static method in class fj.Function
-
Partial application of the third argument to the supplied function to get a function of type
A -> B -> D
. - partialApply4(F<A, F<B, F<C, F<D, E>>>>, D) - Static method in class fj.Function
-
Partial application of the fourth argument to the supplied function to get a function of type
A -> B -> C -> E
. - partialApply5(F<A, F<B, F<C, F<D, F<E, F$>>>>>, E) - Static method in class fj.Function
-
Partial application of the fifth argument to the supplied function to get a function of type
A -> B -> C -> D -> F$
. - partialApply6(F<A, F<B, F<C, F<D, F<E, F<F$, G>>>>>>, F$) - Static method in class fj.Function
-
Partial application of the sixth argument to the supplied function to get a function of type
A -> B -> C -> D -> E -> G
. - partialApply7(F<A, F<B, F<C, F<D, F<E, F<F$, F<G, H>>>>>>>, G) - Static method in class fj.Function
-
Partial application of the seventh argument to the supplied function to get a function of type
A -> B -> C -> D -> E -> F$ -> H
. - partialApply8(F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, I>>>>>>>>, H) - Static method in class fj.Function
-
Partial application of the eigth argument to the supplied function to get a function of type
A -> B -> C -> D -> E -> F$ -> G -> I
. - partition(int) - Method in class fj.data.List
-
Splits this list into lists of the given size.
- partition(List<Validation<A, B>>) - Static method in class fj.data.Validation
-
Partitions the list into the list of fails and the list of successes
- partition(F<A, Boolean>) - Method in class fj.data.List
-
Partitions the list into a tuple where the first element contains the items that satisfy the the predicate f and the second element contains the items that does not.
- parZipArrayWith(F2<B, C, A>) - Method in class fj.control.parallel.Strategy
-
Lifts a given function of arity-2 so that it zips together two arrays in parallel, using this strategy, calling the function once for each corresponding pair in the arrays, position-wise.
- parZipListWith(F2<B, C, A>) - Method in class fj.control.parallel.Strategy
-
Lifts a given function of arity-2 so that it zips together two lists in parallel, using this strategy, calling the function once for each corresponding pair in the lists, position-wise.
- parZipWith(Array<A>, Array<B>, F<A, F<B, C>>) - Method in class fj.control.parallel.ParModule
-
Zips two arrays together with a given function, in parallel.
- parZipWith(List<A>, List<B>, F<A, F<B, C>>) - Method in class fj.control.parallel.ParModule
-
Zips two lists together with a given function, in parallel.
- parZipWith(Stream<A>, Stream<B>, F<A, F<B, C>>) - Method in class fj.control.parallel.ParModule
-
Zips two streams together with a given function, in parallel.
- parZipWith(F2<B, C, A>, Array<B>, Array<C>) - Method in class fj.control.parallel.Strategy
-
Zips together two arrays in parallel using a given function, with this strategy.
- parZipWith(F2<B, C, A>, List<B>, List<C>) - Method in class fj.control.parallel.Strategy
-
Zips together two lists in parallel using a given function, with this strategy.
- parZipWith(Iterable<A>, Iterable<B>, F<A, F<B, C>>) - Method in class fj.control.parallel.ParModule
-
Zips two iterables together with a given function, in parallel.
- pc - Variable in class fj.control.db.DbState
- pCodiagonal() - Static method in class fj.data.optic.PSetter
- pCodiagonal() - Static method in class fj.data.optic.PTraversal
- peek() - Static method in class fj.data.Iteratee.IterV
-
An iteratee that returns the first element of the input
- pId() - Static method in class fj.data.optic.PIso
-
create a
PIso
between any type and itself. - pId() - Static method in class fj.data.optic.PLens
- pId() - Static method in class fj.data.optic.POptional
- pId() - Static method in class fj.data.optic.PPrism
- pId() - Static method in class fj.data.optic.PSetter
- pId() - Static method in class fj.data.optic.PTraversal
- pIso - Variable in class fj.data.optic.Iso
- pIso(F<S, A>, F<B, T>) - Static method in class fj.data.optic.PIso
-
create a
PIso
using a pair of functions: one to get the target and one to get the source. - PIso<S,T,A,B> - Class in fj.data.optic
-
A
PIso
defines an isomorphism between types S, A and B, T: - PIso() - Constructor for class fj.data.optic.PIso
- pLens - Variable in class fj.data.optic.Lens
- pLens(F<S, A>, F<B, F<S, T>>) - Static method in class fj.data.optic.PLens
-
create a
PLens
using a pair of functions: one to get the target, one to set the target. - PLens<S,T,A,B> - Class in fj.data.optic
-
A
PLens
can be seen as a pair of functions:get: S => A
i.e. - PLens() - Constructor for class fj.data.optic.PLens
- plus - Variable in class fj.data.Enumerator
- plus() - Method in class fj.data.Enumerator
-
Returns a function that moves a value along the enumerator a given number of times.
- plus(long) - Method in class fj.data.Enumerator
-
Returns a function that moves a value along the enumerator a given number of times.
- plus(A) - Method in class fj.data.Enumerator
-
Returns a function that moves a value along the enumerator a given number of times.
- plus(A, long) - Method in class fj.data.Enumerator
-
Moves a value along the enumerator a given number of times.
- pOptional - Variable in class fj.data.optic.Optional
- pOptional(F<S, Either<T, A>>, F<B, F<S, T>>) - Static method in class fj.data.optic.POptional
-
create a
POptional
using the canonical functions: getOrModify and set - POptional<S,T,A,B> - Class in fj.data.optic
- POptional() - Constructor for class fj.data.optic.POptional
- positions() - Method in class fj.data.TreeZipper
-
Returns a zipper over the tree of all possible permutations of this tree zipper (comonad pattern).
- positions() - Method in class fj.data.Zipper
-
Creates a zipper of variations of this zipper, in which each element is focused, with this zipper as the focus of the zipper of zippers (comonad pattern).
- power - Static variable in class fj.function.BigIntegers
-
Power.
- power - Static variable in class fj.function.Doubles
-
Power.
- power - Static variable in class fj.function.Integers
-
Power.
- pPrism - Variable in class fj.data.optic.Prism
- pPrism(F<S, Either<T, A>>, F<B, T>) - Static method in class fj.data.optic.PPrism
-
create a
PPrism
using the canonical functions: getOrModify and reverseGet - PPrism<S,T,A,B> - Class in fj.data.optic
- PPrism() - Constructor for class fj.data.optic.PPrism
- pred - Variable in class fj.data.hlist.HPre.HSucc
- pred() - Method in class fj.data.Natural
-
Return the predecessor of this natural number
- pred_() - Static method in class fj.data.Natural
-
First-class predecessor function.
- predecessor - Variable in class fj.data.Enumerator
- predecessor() - Method in class fj.data.Enumerator
-
Returns the potential predecessor of a value for this enumerator in curried form.
- predecessor(A) - Method in class fj.data.Enumerator
-
Returns the potential predecessor of a value for this enumerator.
- prefix - Variable in class fj.data.fingertrees.Deep
- prefix() - Method in class fj.data.fingertrees.Deep
-
Returns the first few elements of this tree.
- prepend(A) - Method in interface fj.Monoid.AltDefinition
- prepend(A) - Method in interface fj.Ord.AltDefinition
- prepend(A) - Method in interface fj.Ord.Definition
- prepend(A) - Method in interface fj.Semigroup.AltDefinition
- prepend(A) - Method in interface fj.Semigroup.Definition
- prependToList(List<A>) - Method in class fj.data.List.Buffer
-
Prepends the elements of this buffer to the given list.
- previous() - Method in class fj.data.Zipper
-
Possibly moves the focus to the previous element in the list.
- previous_() - Static method in class fj.data.Zipper
-
First-class version of the previous() function.
- Primitive - Class in fj
-
Functions that convert between Java primitive types.
- Primitive() - Constructor for class fj.Primitive
- print(A) - Method in class fj.Show
-
Prints the given argument to the standard output stream.
- println(A) - Method in class fj.Show
-
Prints the given argument to the standard output stream with a new line.
- printlnE(A) - Method in class fj.Show
-
Prints the given argument to the standard error stream with a new line.
- PriorityBlockingQueue_List() - Static method in class fj.data.Java
-
A function that converts priority blocking queues to lists.
- priorityQueue(Equal<K>, FingerTree<K, P2<K, A>>) - Static method in class fj.data.PriorityQueue
-
Creates a priority queue from a finger tree.
- PriorityQueue<K,A> - Class in fj.data
-
A priority queue implementation backed by a
FingerTree
. - PriorityQueue(Equal<K>, FingerTree<K, P2<K, A>>) - Constructor for class fj.data.PriorityQueue
- PriorityQueue_List() - Static method in class fj.data.Java
-
A function that converts priority queues to lists.
- priorityQueueShow(Show<K>, Show<V>) - Static method in class fj.Show
- prism(F<S, Option<A>>, F<A, S>) - Static method in class fj.data.optic.Prism
- Prism<S,A> - Class in fj.data.optic
-
PPrism
restricted to monomorphic update - Prism(PPrism<S, S, A, A>) - Constructor for class fj.data.optic.Prism
- product(List<Natural>) - Static method in class fj.data.Natural
-
Takes the product of a list of natural numbers.
- product(List<Double>) - Static method in class fj.function.Doubles
-
Returns the product of a list of doubles.
- product(List<Integer>) - Static method in class fj.function.Integers
-
Returns the product of a list of integers.
- product(List<Long>) - Static method in class fj.function.Longs
-
Returns the product of a list of integers.
- product(List<BigInteger>) - Static method in class fj.function.BigIntegers
-
Returns the product of a list of big integers.
- product(Getter<S1, A1>) - Method in class fj.data.optic.Getter
-
pair two disjoint
Getter
- product(Iso<S1, A1>) - Method in class fj.data.optic.Iso
-
pair two disjoint
Iso
- product(PIso<S1, T1, A1, B1>) - Method in class fj.data.optic.PIso
-
pair two disjoint
PIso
- product(Stream<Natural>) - Static method in class fj.data.Natural
-
Takes the product of a stream of natural numbers.
- promise() - Method in class fj.control.parallel.Actor
-
Transforms this actor to an actor on promises.
- promise() - Method in class fj.control.parallel.ParModule
-
Returns a function that evaluates a given product concurrently and returns a Promise of the result.
- promise(Strategy<Unit>) - Static method in class fj.control.parallel.Promise
-
Provides a first-class unit function for promises.
- promise(Strategy<Unit>, F<A, B>) - Static method in class fj.control.parallel.Promise
-
Transforms any function so that it returns a promise of a value instead of an actual value.
- promise(Strategy<Unit>, P1<A>) - Static method in class fj.control.parallel.Promise
-
Promises to provide the value of the given 1-product, in the future.
- promise(Strategy<Unit>, Callable<A>) - Static method in class fj.control.parallel.Promise
-
Provides a promise to call the given Callable in the future.
- promise(F<A, B>) - Method in class fj.control.parallel.ParModule
-
Promotes the given function to a concurrent function that returns a Promise.
- promise(F2<A, B, C>) - Method in class fj.control.parallel.ParModule
-
Promotes the given function to a concurrent function that returns a Promise.
- promise(P1<A>) - Method in class fj.control.parallel.ParModule
-
Evaluates the given product concurrently and returns a Promise of the result.
- Promise<A> - Class in fj.control.parallel
-
Represents a non-blocking future value.
- Promise(Strategy<Unit>, Actor<P2<Either<P1<A>, Actor<A>>, Promise<A>>>) - Constructor for class fj.control.parallel.Promise
- promiseK(Strategy<Unit>) - Method in interface fj.F
-
Promotes this function to a concurrent function that returns a Promise of a value.
- promiseM() - Method in interface fj.F2
-
Promotes this function to a function on Promises.
- promisePure() - Method in class fj.control.parallel.ParModule
-
Returns a function that promotes a given function to a concurrent function that returns a Promise.
- pSetter - Variable in class fj.data.optic.Setter
- pSetter(F<F<A, B>, F<S, T>>) - Static method in class fj.data.optic.PSetter
- PSetter<S,T,A,B> - Class in fj.data.optic
-
A
PSetter
is a generalisation of Functor map:map: (A => B) => F[A] => F[B]
modify: (A => B) => S => T
- PSetter() - Constructor for class fj.data.optic.PSetter
- pSome() - Static method in class fj.data.Option.Optic
-
Polymorphic Some prism
- pTraversal - Variable in class fj.data.optic.Traversal
- pTraversal() - Static method in class fj.data.List.Optic
-
Polymorphic traversal
- pTraversal(F<S, A>, F<S, A>, F<S, A>, F<S, A>, F<S, A>, F<S, A>, F7<B, B, B, B, B, B, S, T>) - Static method in class fj.data.optic.PTraversal
- pTraversal(F<S, A>, F<S, A>, F<S, A>, F<S, A>, F<S, A>, F6<B, B, B, B, B, S, T>) - Static method in class fj.data.optic.PTraversal
- pTraversal(F<S, A>, F<S, A>, F<S, A>, F<S, A>, F5<B, B, B, B, S, T>) - Static method in class fj.data.optic.PTraversal
- pTraversal(F<S, A>, F<S, A>, F<S, A>, F4<B, B, B, S, T>) - Static method in class fj.data.optic.PTraversal
- pTraversal(F<S, A>, F<S, A>, F3<B, B, S, T>) - Static method in class fj.data.optic.PTraversal
- PTraversal<S,T,A,B> - Class in fj.data.optic
-
A
PTraversal
can be seen as aPOptional
generalised to 0 to n targets where n can be infinite. - PTraversal() - Constructor for class fj.data.optic.PTraversal
- pure() - Static method in class fj.control.Trampoline
- pure(A) - Static method in class fj.control.Trampoline
-
Constructs a pure computation that results in the given value.
- Pure(A) - Constructor for class fj.control.Trampoline.Pure
- PureTrampolineEval(Eval<A>) - Constructor for class fj.data.Eval.PureTrampolineEval
- put(S) - Static method in class fj.data.State
Q
- qs(Ord<A>, Strategy<Unit>) - Method in class fj.data.Stream
- qs_(Ord<A>, Strategy<Unit>) - Static method in class fj.data.Stream
- queueActor(Strategy<Unit>, Effect1<T>) - Static method in class fj.control.parallel.Actor
-
An Actor equipped with a queue and which is guaranteed to process one message at a time.
R
- r - Variable in class fj.data.IOFunctions.CharChunkReader
- r - Variable in class fj.data.IOFunctions.CharChunkReader2
- r - Variable in class fj.data.IOFunctions.LineReader
- r() - Method in class fj.data.Set.Empty
- r() - Method in class fj.data.Set
- r() - Method in class fj.data.Set.Tree
- R - fj.data.Set.Color
- range(int) - Static method in class fj.data.Stream
-
Returns an infinite stream of integers from the given
from
value (inclusive). - range(int, int) - Static method in class fj.data.Array
-
Returns an array of integers from the given
from
value (inclusive) to the givento
value (exclusive). - range(int, int) - Method in class fj.data.hamt.BitSet
-
Returns the bit set from indices in the range from low (inclusive) to high(exclusive) from the least significant bit (on the right), e.g.
- range(int, int) - Static method in class fj.data.List
-
Returns a list of integers from the given
from
value (inclusive) to the givento
value (exclusive). - range(int, int) - Method in class fj.Rng
- range(int, long) - Static method in class fj.data.Stream
-
Returns a stream of integers from the given
from
value (inclusive) to the givento
value (exclusive). - range(Enumerator<A>, A, A) - Static method in class fj.data.Stream
-
Returns a stream using the given enumerator from the given value to the other given value stepping at increments of
1
. - range(Enumerator<A>, A, A, long) - Static method in class fj.data.Stream
-
Returns a stream using the given enumerator from the given value to the other given value stepping at the given increment.
- re() - Method in class fj.data.optic.PPrism
- reader(Connector) - Static method in class fj.control.db.DbState
-
Returns a new reader that reads the database via the given Connector.
- reader(String) - Static method in class fj.control.db.DbState
-
Creates a database state reader given a connection URL.
- Reader<A,B> - Class in fj.data
-
The Reader monad (also called the function monad, so equivalent to the idea of F).
- Reader(F<A, B>) - Constructor for class fj.data.Reader
- readerState() - Static method in class fj.data.IOFunctions
- reduce(Either<A, A>) - Static method in class fj.data.Either
-
Takes an
Either
to its contained value within left or right. - reduceLeft(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Deep
- reduceLeft(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Digit
-
Folds this digit to the right using the given function.
- reduceLeft(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Empty
- reduceLeft(F<A, F<A, A>>) - Method in class fj.data.fingertrees.FingerTree
-
Folds the tree to the left with the given function.
- reduceLeft(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Single
- reduceRight(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Deep
- reduceRight(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Digit
-
Folds this digit to the right using the given function.
- reduceRight(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Empty
- reduceRight(F<A, F<A, A>>) - Method in class fj.data.fingertrees.FingerTree
-
Folds the tree to the right with the given function.
- reduceRight(F<A, F<A, A>>) - Method in class fj.data.fingertrees.Single
- ReferenceMemo(F0<A>) - Constructor for class fj.P1.ReferenceMemo
- remainder - Static variable in class fj.function.BigIntegers
-
Remainder.
- remainder - Static variable in class fj.function.Doubles
-
Remainder.
- remainder - Static variable in class fj.function.Integers
-
Remainder.
- remainder - Static variable in class fj.function.Longs
-
Remainder.
- removeAll(F<A, Boolean>) - Method in class fj.data.List
-
Filters elements from this list by returning only elements which produce
false
when the given function is applied to them. - removeAll(F<A, Boolean>) - Method in class fj.data.Stream
-
Filters elements from this stream by returning only elements which produce
false
when the given function is applied to them. - repeat() - Method in class fj.parser.Parser
-
Returns a parser that repeats application of this parser zero or many times.
- repeat(A) - Static method in class fj.data.Stream
-
Returns an infinite-length stream of the given element.
- repeat1() - Method in class fj.parser.Parser
-
Returns a parser that repeats application of this parser one or many times.
- replace(A) - Method in class fj.data.Zipper
-
Replaces the element in focus with the given element.
- replace(F<A, Boolean>, A) - Method in class fj.data.Stream
-
Returns a new stream resulting from replacing all elements that match the given predicate with the given element.
- replicate(int, A) - Static method in class fj.data.List
-
Returns a list of the given value replicated the given number of times.
- replicateM(IO<A>, int) - Static method in class fj.data.IOFunctions
- rest() - Method in class fj.parser.Result
-
The remainder of the parse input.
- result() - Static method in class fj.parser.Result
-
First-class construction of a result.
- result(I, A) - Static method in class fj.parser.Result
-
Construct a result with the given remainder of the parse input and parse value.
- Result<I,A> - Class in fj.parser
-
A parse result made up of a value (A) and the remainder of the parse input (I).
- Result(I, A) - Constructor for class fj.parser.Result
- resultEqual(Equal<A>, Equal<I>) - Static method in class fj.Equal
- resultHash(Hash<A>, Hash<I>) - Static method in class fj.Hash
-
A hash instance for the
Result
type. - resultShow(Show<A>, Show<I>) - Static method in class fj.Show
-
A show instance for the
Result
type. - resume() - Method in class fj.control.Trampoline.Codense
- resume() - Method in class fj.control.Trampoline.Pure
- resume() - Method in class fj.control.Trampoline
-
Runs a single step of this computation.
- resume() - Method in class fj.control.Trampoline.Suspend
- resume_() - Static method in class fj.control.Trampoline
- reverse() - Method in class fj.data.Array.ImmutableProjection
-
Reverse this array in constant stack space.
- reverse() - Method in class fj.data.Array
-
Reverse this array in constant stack space.
- reverse() - Method in class fj.data.LazyString
-
Returns the reverse of this string.
- reverse() - Method in class fj.data.List
-
Reverse this list in constant stack space.
- reverse() - Method in class fj.data.NonEmptyList
-
Reverse this non empty list in constant stack space.
- reverse() - Method in class fj.data.optic.Iso
- reverse() - Method in class fj.data.optic.PIso
-
reverse a
PIso
: the source becomes the target and the target becomes the source - reverse() - Method in class fj.data.Stream
-
Reverse this stream in constant stack space.
- reverse() - Method in class fj.Ord
- reverse() - Method in enum fj.Ordering
- reverseBytes - Static variable in class fj.function.Characters
- reverseGet(A) - Method in class fj.data.optic.Iso
- reverseGet(A) - Method in class fj.data.optic.Prism
- reverseGet(B) - Method in class fj.data.optic.PIso
-
get the modified source of a
PIso
- reverseGet(B) - Method in class fj.data.optic.PPrism
-
get the modified source of a
PPrism
- right - Variable in class fj.data.Zipper
- right() - Method in class fj.data.Either
-
Projects this either as a right.
- right() - Method in class fj.data.Either3
- right() - Method in class fj.data.TreeZipper
-
Navigates to the right sibling of the current location.
- right(B) - Static method in class fj.data.Either
-
Construct a right value of either.
- right(C) - Static method in class fj.data.Either3
- Right(B) - Constructor for class fj.data.Either.Right
- Right(C) - Constructor for class fj.data.Either3.Right
- right_() - Static method in class fj.data.Either
-
A function that constructs a right value of either.
- right_() - Static method in class fj.data.TreeZipper
-
A first-class version of the right() function.
- rightMap(F<B, X>) - Method in class fj.data.Either
-
Map the given function across this either's right.
- rightMap(F<C, X>) - Method in class fj.data.Either3
- rightMap_() - Static method in class fj.data.Either
-
Return a function that maps a given function across this either's right projection.
- rightMap_() - Method in class fj.data.Either3
- rightOption() - Method in class fj.data.Either3
- RightProjection(Either<A, B>) - Constructor for class fj.data.Either.RightProjection
- RightProjection(Either3<A, B, C>) - Constructor for class fj.data.Either3.RightProjection
- rights - Variable in class fj.data.TreeZipper
- rights() - Method in class fj.data.TreeZipper
-
Returns the right siblings of the currently focused node.
- rights() - Method in class fj.data.Zipper
-
Returns a Stream of the elements to the right of focus.
- rights(List<Either<A, B>>) - Static method in class fj.data.Either
-
Returns all the right values in the given list.
- Rng - Class in fj
- Rng() - Constructor for class fj.Rng
- rollback - Static variable in class fj.control.db.DbState
- root - Variable in class fj.data.Tree
- root() - Method in class fj.data.Tree
-
Returns the root element of the tree.
- root() - Method in class fj.data.TreeZipper
-
Navigates to the top-most parent of the current location.
- root_() - Static method in class fj.data.Tree
-
Provides a transformation from a tree to its root.
- root_() - Static method in class fj.data.TreeZipper
-
A first-class version of the root function.
- run() - Method in class fj.control.Trampoline
-
Runs this computation all the way to the end, in constant stack.
- run() - Method in class fj.data.DList
-
Concatenates all the internal Lists together that are held in the DList's lambda's state to produce a List.
- run() - Method in interface fj.data.IO
- run() - Method in class fj.data.Iteratee.IterV
- run() - Method in interface fj.data.SafeIO
- run() - Method in class fj.data.Writer
- run(DB<A>) - Method in class fj.control.db.DbState
-
Runs the given database action as a single transaction.
- run(Connection) - Method in class fj.control.db.DB
-
Executes the database action, given a database connection.
- run(S) - Method in class fj.data.State
- runF - Variable in class fj.data.State
- runSafe(IO<A>) - Static method in class fj.data.IOFunctions
-
Run io, rethrowing any IOException wrapped in a RuntimeException
S
- s - Variable in class fj.control.parallel.Actor
- s - Variable in class fj.control.parallel.Promise
- s - Variable in class fj.data.LazyString
- safe() - Method in interface fj.data.IO
- SafeIO<A> - Interface in fj.data
- satisfy(E, F<I, E>, F<I, Boolean>) - Static method in class fj.parser.Parser.StreamParser
-
Returns a parser that produces an element from the stream that satisfies the given predicate, or fails.
- satisfy(F0<E>, F<I, E>, F<I, Boolean>) - Static method in class fj.parser.Parser.StreamParser
-
Returns a parser that produces an element from the stream that satisfies the given predicate, or fails.
- scanLeft(F<B, F<A, B>>, B) - Method in class fj.data.Array
-
Performs a fold left accummulating and returns an array of the intermediate results.
- scanLeft(F2<B, A, B>, B) - Method in class fj.data.Array
-
Performs a left-fold accummulating and returns an array of the intermediate results.
- scanLeft1(F<A, F<A, A>>) - Method in class fj.data.Array
-
Performs a left-fold accummulating using first array element as a starting value and returns an array of the intermediate results.
- scanLeft1(F2<A, A, A>) - Method in class fj.data.Array
-
Performs a left-fold accummulating using first array element as a starting value and returns an array of the intermediate results.
- scanRight(F<A, F<B, B>>, B) - Method in class fj.data.Array
-
Performs a right-fold accummulating and returns an array of the intermediate results.
- scanRight(F2<A, B, B>, B) - Method in class fj.data.Array
-
Performs a right-fold accummulating and returns an array of the intermediate results.
- scanRight1(F<A, F<A, A>>) - Method in class fj.data.Array
-
Performs a right-fold accummulating using last array element as a starting value and returns an array of the intermediate results.
- scanRight1(F2<A, A, A>) - Method in class fj.data.Array
-
Performs a right-fold accummulating using last array element as a starting value and returns an array of the intermediate results.
- second() - Method in class fj.data.optic.Getter
- second() - Method in class fj.data.optic.Iso
- second() - Method in class fj.data.optic.Optional
- second() - Method in class fj.data.optic.PIso
- second() - Method in class fj.data.optic.POptional
- seed - Variable in class fj.LcgRng
- semigroup() - Method in class fj.Monoid
-
Returns a semigroup projection of this monoid.
- semigroup(F<A, F<A, A>>) - Static method in class fj.Semigroup
-
Constructs a semigroup from the given function.
- semigroup(F2<A, A, A>) - Static method in class fj.Semigroup
-
Constructs a semigroup from the given function.
- Semigroup<A> - Class in fj
-
Implementations must satisfy the law of associativity: Associativity; forall x.
- Semigroup(Semigroup.Definition<A>) - Constructor for class fj.Semigroup
- Semigroup.AltDefinition<A> - Interface in fj
-
Primitives functions of Semigroup: alternative minimal definition and overridable methods.
- Semigroup.Definition<A> - Interface in fj
-
Primitives functions of Semigroup: minimal definition and overridable methods.
- semigroupDef(Semigroup.AltDefinition<A>) - Static method in class fj.Semigroup
-
Constructs a semigroup from the given definition.
- semigroupDef(Semigroup.Definition<A>) - Static method in class fj.Semigroup
-
Constructs a semigroup from the given definition.
- seq - Variable in class fj.data.hamt.HashArrayMappedTrie
- seq(A...) - Static method in class fj.data.Seq
-
Constructs a sequence from the given elements.
- Seq<A> - Class in fj.data
-
Provides an immutable finite sequence, implemented as a finger tree.
- Seq(FingerTree<Integer, A>) - Constructor for class fj.data.Seq
- seqEqual(Equal<A>) - Static method in class fj.Equal
- seqHash(Hash<A>) - Static method in class fj.Hash
- seqOrd(Ord<A>) - Static method in class fj.Ord
-
Return a seq ord using the given value ord.
- seqShow(Show<A>) - Static method in class fj.Show
- seqStrategy() - Static method in class fj.control.parallel.Strategy
-
Provides a strategy that performs sequential (non-concurrent) evaluation of its argument.
- sequence(Strategy<Unit>) - Static method in class fj.control.parallel.Promise
-
First-class version of the sequence function through a List.
- sequence(Strategy<Unit>, List<Promise<A>>) - Static method in class fj.control.parallel.Promise
-
Turns a List of promises into a single promise of a List.
- sequence(Strategy<Unit>, Stream<Promise<A>>) - Static method in class fj.control.parallel.Promise
-
Turns a Stream of promises into a single promise of a Stream.
- sequence(Strategy<Unit>, P1<Promise<A>>) - Static method in class fj.control.parallel.Promise
-
Transforms a product of a promise to a promise of a product.
- sequence(Array<B>) - Method in class fj.data.Array.ImmutableProjection
-
Performs a bind across each array element, but ignores the element value each time.
- sequence(Array<B>) - Method in class fj.data.Array
-
Performs a bind across each array element, but ignores the element value each time.
- sequence(Array<P1<A>>) - Static method in class fj.P1
-
Turns an array of P1s into a single P1 of an array.
- sequence(Either<A, X>) - Method in class fj.data.Either.RightProjection
-
Anonymous bind through this projection.
- sequence(Either<X, B>) - Method in class fj.data.Either.LeftProjection
-
Anonymous bind through this projection.
- sequence(Either3<A, B, X>) - Method in class fj.data.Either3.RightProjection
- sequence(Either3<A, X, C>) - Method in class fj.data.Either3.MiddleProjection
- sequence(Either3<X, B, C>) - Method in class fj.data.Either3.LeftProjection
- sequence(IO<Stream<A>>) - Static method in class fj.data.Stream
-
Sequence through the Stream monad.
- sequence(List<B>) - Method in class fj.data.List
-
Performs a bind across each list element, but ignores the element value each time.
- sequence(List<Promise<A>>) - Method in class fj.control.parallel.ParModule
-
List iteration inside a Promise.
- sequence(List<IO<A>>) - Static method in class fj.data.IOFunctions
-
Evaluate each action in the sequence from left to right, and collect the results.
- sequence(List<Option<A>>) - Static method in class fj.data.Option
-
Sequence a list through the option monad.
- sequence(List<State<S, A>>) - Static method in class fj.data.State
-
Evaluate each action in the sequence from left to right, and collect the results.
- sequence(List<P1<A>>) - Static method in class fj.P1
-
Turns a List of P1s into a single P1 of a List.
- sequence(List<Parser<I, A, E>>) - Static method in class fj.parser.Parser
-
Sequence the list of parsers through
Parser.bind(fj.F<A, fj.parser.Parser<I, B, E>>)
. - sequence(List<Callable<A>>) - Static method in class fj.control.parallel.Callables
-
Turns a List of Callables into a single Callable of a List.
- sequence(Option<B>) - Method in class fj.data.Option
-
Performs a bind across the optional value, but ignores the element value in the function.
- sequence(Option<Stream<A>>) - Static method in class fj.data.Stream
-
Sequence through the Stream monad.
- sequence(Option<P1<A>>) - Static method in class fj.P1
-
Turns an optional P1 into a lazy option.
- sequence(Stream<B>) - Method in class fj.data.Stream
-
Performs a bind across each stream element, but ignores the element value each time.
- sequence(Stream<Promise<A>>) - Method in class fj.control.parallel.ParModule
-
Stream iteration inside a Promise.
- sequence(Stream<IO<A>>) - Static method in class fj.data.IOFunctions
- sequence(Stream<P1<A>>) - Static method in class fj.P1
-
Turns a stream of P1s into a single P1 of a stream.
- sequence(Validation<A, T>) - Method in class fj.data.Validation.FailProjection
-
Performs a bind across the validation, but ignores the element value in the function.
- sequence(Validation<E, A>) - Method in class fj.data.Validation
-
Anonymous bind through this validation.
- sequence(Validation<E, Option<A>>) - Static method in class fj.data.Option
-
Sequence a validation through the option monad.
- sequence(F0<Stream<A>>) - Static method in class fj.data.Stream
-
Sequence through the Stream monad.
- sequence(P1<Promise<A>>) - Method in class fj.control.parallel.ParModule
-
Traverses a product-1 inside a promise.
- sequence(Parser<I, B, E>) - Method in class fj.parser.Parser
-
Binds anonymously, ignoring the result value.
- sequence(Semigroup<E>, List<Validation<E, A>>) - Static method in class fj.data.Validation
-
If list contains a failure, returns a failure of the reduction of all the failures using the semigroup, otherwise returns the successful list.
- sequence(Iterable<T>) - Static method in class fj.data.IterableW
-
Performs a bind across each element of all iterables of an iterable, collecting the values in an iterable.
- sequence_() - Static method in class fj.control.parallel.Callables
-
A first-class version of the sequence method.
- sequence_(List<F<B, A>>) - Static method in class fj.data.List
-
Turn a list of functions into a function returning a list.
- sequence_(Stream<F<B, A>>) - Static method in class fj.data.Stream
-
Turn a stream of functions into a function returning a stream.
- sequenceEither(List<Either<L, B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output on the right side of an either.
- sequenceEither(Option<Either<L, B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output on the right side of an either.
- sequenceEither(Seq<Either<L, B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output on the right side of an either.
- sequenceEither(Stream<Either<L, B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output on the right side of an either.
- sequenceEitherLeft(List<Either<B, R>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output on the left side of an either.
- sequenceEitherLeft(Option<Either<B, R>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output on the left side of an either.
- sequenceEitherLeft(Seq<Either<B, R>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output on the left side of an either.
- sequenceEitherLeft(Stream<Either<B, R>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output on the left side of an either.
- sequenceEitherLeft(Validation<E, Either<C, R>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output on the left side of an either.
- sequenceEitherRight(List<Either<L, B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output on the right side of an either.
- sequenceEitherRight(Option<Either<L, B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output on the right side of an either.
- sequenceEitherRight(Seq<Either<L, B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output on the right side of an either.
- sequenceEitherRight(Stream<Either<L, B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output on the right side of an either.
- sequenceEitherRight(Validation<E, Either<L, C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output on the right side of an either.
- sequenceF(List<F<C, B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as a function.
- sequenceF(Option<F<C, B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as a function.
- sequenceF(Seq<F<C, B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a function.
- sequenceF(Stream<F<C, B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a function.
- sequenceF(Validation<E, F<C, B>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a function.
- sequenceIO(List<IO<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as an IO.
- sequenceIO(Option<IO<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as an IO.
- sequenceIO(Seq<IO<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as an IO.
- sequenceIO(Stream<IO<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as an IO.
- sequenceIO(Validation<E, IO<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as an IO.
- sequenceLeft(List<Either<A, X>>) - Static method in class fj.data.Either
-
Sequences through the left side of the either monad with a list of values.
- sequenceList() - Method in class fj.control.parallel.ParModule
-
A first-class function that traverses a list inside a promise.
- sequenceList() - Static method in class fj.P1
-
A first-class version of the sequence method for lists of P1s.
- sequenceList(List<List<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as an list.
- sequenceList(Option<List<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as an list.
- sequenceList(Seq<List<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a list.
- sequenceList(Stream<List<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a list.
- sequenceList(Validation<E, List<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a list.
- sequenceNonCumulative(List<Validation<E, A>>) - Static method in class fj.data.Validation
-
If the list contains a failure, returns a Validation of the list of fails in the list, otherwise returns a successful Validation with the list of successful values.
- sequenceOption(List<Option<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as an list.
- sequenceOption(Option<Option<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as an option.
- sequenceOption(Seq<Option<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as an seq.
- sequenceOption(Stream<Option<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as an stream.
- sequenceOption(Validation<E, Option<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as an option.
- sequenceP1(List<P1<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as a P1.
- sequenceP1(Option<P1<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as a P1.
- sequenceP1(Seq<P1<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a P1.
- sequenceP1(Stream<P1<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a P1.
- sequenceP1(Validation<E, P1<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a P1.
- sequenceRight(List<Either<X, B>>) - Static method in class fj.data.Either
-
Sequences through the right side of the either monad with a list of values.
- sequenceS(Strategy<Unit>) - Static method in class fj.control.parallel.Promise
-
First-class version of the sequence function through a Stream.
- sequenceSeq(List<Seq<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as a seq.
- sequenceSeq(Option<Seq<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as a seq.
- sequenceSeq(Seq<Seq<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a seq.
- sequenceSeq(Stream<Seq<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a seq.
- sequenceSeq(Validation<E, Seq<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a seq.
- sequenceSet(Ord<B>, List<Set<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as a set; use the given ord to order the set.
- sequenceSet(Ord<B>, Option<Set<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as a set; use the given ord to order the set.
- sequenceSet(Ord<B>, Seq<Set<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a set; use the given ord to order the set.
- sequenceSet(Ord<B>, Stream<Set<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a set; use the given ord to order the set.
- sequenceSet(Ord<E>, Ord<C>, Validation<E, Set<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a set.
- sequenceStream() - Method in class fj.control.parallel.ParModule
-
A first-class function that traverses a stream inside a promise.
- sequenceStream(List<Stream<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as a stream.
- sequenceStream(Option<Stream<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as a stream.
- sequenceStream(Seq<Stream<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a stream.
- sequenceStream(Stream<Stream<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a stream.
- sequenceStream(Validation<E, Stream<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a stream.
- sequenceTrampoline(List<Trampoline<B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as a trampoline.
- sequenceTrampoline(Option<Trampoline<B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as a trampoline.
- sequenceTrampoline(Seq<Trampoline<B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a trampoline.
- sequenceTrampoline(Stream<Trampoline<B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a trampoline.
- sequenceTrampoline(Validation<E, Trampoline<C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a trampoline.
- sequenceValidation(Option<Validation<E, B>>) - Static method in class fj.data.Option
-
Sequence the given option and collect the output as a validation.
- sequenceValidation(Seq<Validation<E, B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a validation.
- sequenceValidation(Stream<Validation<E, B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a validation.
- sequenceValidation(Validation<E, Validation<E1, C>>) - Static method in class fj.data.Validation
-
Sequence the given validation and collect the output as a validation.
- sequenceValidation(Semigroup<E>, List<Validation<E, B>>) - Static method in class fj.data.List
-
Sequence the given list and collect the output as a validation; use the given semigroup to reduce the errors.
- sequenceValidation(Semigroup<E>, Seq<Validation<E, B>>) - Static method in class fj.data.Seq
-
Sequence the given seq and collect the output as a validation; use the given semigroup to reduce the errors.
- sequenceValidation(Semigroup<E>, Stream<Validation<E, B>>) - Static method in class fj.data.Stream
-
Sequence the given stream and collect the output as a validation; use the given semigroup to reduce the errors.
- sequenceW(List<F<P2<A, B>, C>>) - Method in class fj.P2
-
Applies a list of comonadic functions to this product, returning a list of values.
- sequenceW(Stream<F<Promise<A>, B>>) - Method in class fj.control.parallel.Promise
-
Applies a stream of comonadic functions to this promise, returning a stream of values.
- sequenceW(Stream<F<Stream<A>, B>>) - Method in class fj.data.Stream
-
Applies a stream of comonadic functions to this stream, returning a stream of values.
- sequenceW(Stream<F<P2<A, B>, C>>) - Method in class fj.P2
-
Applies a stream of comonadic functions to this product, returning a stream of values.
- sequenceWhile(Stream<IO<A>>, F<A, Boolean>) - Static method in class fj.data.IOFunctions
- sequenceWhileEager(Stream<IO<A>>, F<A, Boolean>) - Static method in class fj.data.IOFunctions
- serialVersionUID - Static variable in class fj.data.Natural
- set(int) - Method in class fj.data.hamt.BitSet
- set(int, boolean) - Method in class fj.data.hamt.BitSet
- set(int, A) - Method in class fj.data.Array
-
Sets the element at the given index to the given value.
- set(A) - Method in class fj.data.HashSet
-
Insert the given element into this hash set.
- set(A) - Method in class fj.data.optic.Lens
- set(A) - Method in class fj.data.optic.Optional
- set(A) - Method in class fj.data.optic.Setter
- set(B) - Method in class fj.data.optic.PIso
-
set polymorphically the target of a
PIso
with a value - set(B) - Method in class fj.data.optic.PLens
-
set polymorphically the target of a
PLens
using a function - set(B) - Method in class fj.data.optic.POptional
-
get the modified source of a
POptional
- set(B) - Method in class fj.data.optic.PPrism
-
set polymorphically the target of a
PPrism
with a value - set(B) - Method in class fj.data.optic.PSetter
-
set polymorphically the target of a
PSetter
with a value - set(B) - Method in class fj.data.optic.PTraversal
-
set polymorphically the target of a
PTraversal
with a value - set(List<P2<K, V>>) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Adds the product of key-value (k, v) pairs to the trie.
- set(Ord<A>, A...) - Static method in class fj.data.Set
-
Constructs a set from the given elements.
- set(K, V) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Adds the key-value pair (k, v) to the trie.
- set(K, V) - Method in class fj.data.HashMap
-
Inserts the given key and value association into the hash map.
- set(K, V) - Method in class fj.data.TreeMap
-
Inserts the given key and value association into the tree map.
- set(K, V, int, int) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Sets the key-value pair (k, v) for the bit range lowIndex (inclusive) to highIndex (exclusive).
- Set<A> - Class in fj.data
-
Provides an in-memory, immutable set, implemented as a red/black tree.
- Set(Ord<A>) - Constructor for class fj.data.Set
- Set.Color - Enum in fj.data
- Set.Empty<A> - Class in fj.data
- Set.Tree<A> - Class in fj.data
- setEqual(Equal<A>) - Static method in class fj.Equal
-
Equal instance for sets.
- setHash(Hash<A>) - Static method in class fj.Hash
- setIntersectionMonoid(Bounded<A>, Enumerator<A>) - Static method in class fj.Monoid
-
A intersection monoid for sets.
- setIntersectionSemigroup() - Static method in class fj.Semigroup
-
A intersection semigroup for sets.
- setK(Ord<B>) - Method in interface fj.F
-
Promotes this function to return its value in a Set.
- setLabel(A) - Method in class fj.data.TreeZipper
-
Replaces the label of the current node with the given value.
- setM(Ord<C>) - Method in interface fj.F2
-
Promotes this function to a function on Sets.
- setMax(Option<A>) - Method in class fj.data.Enumerator
-
Create a new enumerator with the given maximum value.
- setMin(Option<A>) - Method in class fj.data.Enumerator
-
Create a new enumerator with the given minimum value.
- setMonoid(Ord<A>) - Static method in class fj.Monoid
-
A union monoid for sets.
- setOption(B) - Method in class fj.data.optic.POptional
-
set polymorphically the target of a
POptional
with a value. - setOption(B) - Method in class fj.data.optic.PPrism
-
set polymorphically the target of a
PPrism
with a value. - setOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
Set
type. - setSemigroup() - Static method in class fj.Semigroup
-
A union semigroup for sets.
- setShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Set
type. - setter(F<F<A, A>, F<S, S>>) - Static method in class fj.data.optic.Setter
-
alias for
PSetter
constructor with a monomorphic modify function - Setter<S,A> - Class in fj.data.optic
-
PSetter
with a monomorphic modify function - Setter(PSetter<S, S, A, A>) - Constructor for class fj.data.optic.Setter
- setTree(Tree<A>) - Method in class fj.data.TreeZipper
-
Replaces the current node with the given tree.
- setTreeMap(Ord<K>, Set<P2<K, Option<V>>>) - Static method in class fj.data.TreeMap
-
Constructs a TreeMap from the given set.
- shift(String, String, Stream<String>) - Static method in class fj.data.Tree
- shiftLeft(int) - Method in class fj.data.hamt.BitSet
- shiftRight(int) - Method in class fj.data.hamt.BitSet
- Short_Boolean - Static variable in class fj.Primitive
-
A function that converts shorts to booleans.
- Short_Byte - Static variable in class fj.Primitive
-
A function that converts shorts to bytes.
- Short_Character - Static variable in class fj.Primitive
-
A function that converts shorts to characters.
- Short_Double - Static variable in class fj.Primitive
-
A function that converts shorts to doubles.
- Short_Float - Static variable in class fj.Primitive
-
A function that converts shorts to floats.
- Short_Integer - Static variable in class fj.Primitive
-
A function that converts shorts to integers.
- Short_Long - Static variable in class fj.Primitive
-
A function that converts shorts to longs.
- shortEnumerator - Static variable in class fj.data.Enumerator
-
An enumerator for
short
. - shortEqual - Static variable in class fj.Equal
-
An equal instance for the
short
type. - shortHash - Static variable in class fj.Hash
-
A hash instance for the
short
type. - shortOrd - Static variable in class fj.Ord
-
An order instance for the
short
type. - shortShow - Static variable in class fj.Show
-
A show instance for the
short
type. - show() - Method in class fj.data.hlist.HPre.HNat
- show() - Method in class fj.data.hlist.HPre.HSucc
- show() - Method in class fj.data.hlist.HPre.HZero
- show(A) - Method in class fj.Show
-
Returns the display rendering of the given argument.
- show(F<A, Stream<Character>>) - Static method in class fj.Show
-
Returns a show instance using the given function.
- show(Show<A>) - Static method in class fj.data.TreeZipper
-
A Show instance for tree zippers.
- show(Show<A>) - Static method in class fj.data.Zipper
-
A Show instance for Zippers.
- Show<A> - Class in fj
-
Renders an object for display.
- Show(F<A, Stream<Character>>) - Constructor for class fj.Show
- show_() - Method in class fj.Show
-
Returns the transformation equivalent to this show.
- show2D(Show<A>) - Static method in class fj.data.Tree
-
Provides a show instance that draws a 2-dimensional representation of a tree.
- showl(A) - Method in class fj.Show
-
Returns the display rendering of the given argument.
- showS(A) - Method in class fj.Show
-
Returns the display rendering of the given argument as a
String
. - showS(F<A, String>) - Static method in class fj.Show
-
Returns a show instance using the given function.
- showS_() - Method in class fj.Show
-
Returns the transformation equivalent to this show.
- simpleThreadStrategy() - Static method in class fj.control.parallel.Strategy
-
Provides a simple parallelization strategy that creates, and discards, a new thread for every evaluation.
- single() - Static method in class fj.data.Stream
-
Returns a function that yields a stream containing its argument.
- single(A) - Static method in class fj.data.Array
-
Constructs a singleton array.
- single(A) - Static method in class fj.data.DList
-
Produces a DList with one element.
- single(A) - Method in class fj.data.fingertrees.MakeTree
-
Constructs a singleton tree.
- single(A) - Static method in class fj.data.List
-
Returns a list of one element containing the given value.
- single(A) - Static method in class fj.data.Seq
-
A singleton sequence.
- single(A) - Static method in class fj.data.Stream
-
Returns a stream of one element containing the given value.
- single(A) - Static method in class fj.data.Zipper
-
Creates a new zipper with a single element.
- single(E) - Static method in class fj.data.hlist.HList
-
Returns a heterogeneous list consisting of a single element.
- single(Ord<A>, A) - Static method in class fj.data.Set
-
Returns a set with a single element.
- Single<V,A> - Class in fj.data.fingertrees
-
A tree with a single element.
- Single(Measured<V, A>, A) - Constructor for class fj.data.fingertrees.Single
- size() - Method in class fj.data.HashMap
-
Returns the number of entries in this hash map.
- size() - Method in class fj.data.HashSet
-
Returns the number of entries in this hash set.
- size() - Method in class fj.data.Set
-
Returns the size of this set.
- size() - Method in class fj.data.TreeMap
-
Returns the number of entries in this tree map.
- SIZE - Static variable in class fj.data.hamt.HashArrayMappedTrie
- snoc(A) - Method in class fj.data.DList
-
Appends a single element on the end of the DList to produce a new DList.
- snoc(A) - Method in class fj.data.fingertrees.Deep
- snoc(A) - Method in class fj.data.fingertrees.Empty
- snoc(A) - Method in class fj.data.fingertrees.FingerTree
-
Adds the given element to this tree as the last element.
- snoc(A) - Method in class fj.data.fingertrees.Single
- snoc(A) - Method in class fj.data.List.Buffer
-
Appends (snoc) the given element to this buffer to produce a new buffer.
- snoc(A) - Method in class fj.data.List
-
Appends (snoc) the given element to this list to produce a new list.
- snoc(A) - Method in class fj.data.NonEmptyList
-
Appends (snoc) the given element to this non empty list to produce a new non empty list.
- snoc(A) - Method in class fj.data.Seq
-
Inserts the given element at the end of this sequence.
- snoc(A) - Method in class fj.data.Stream
-
Append the given element to this stream to product a new stream.
- snoc(F0<A>) - Method in class fj.data.Stream
-
Append the given element to this stream to produce a new stream.
- softMemo() - Method in class fj.P1.Memo
- softMemo() - Method in class fj.P1
-
Like
memo
, but the memoized value is wrapped into aSoftReference
- softMemo() - Method in class fj.P1.SoftReferenceMemo
- softMemo(F0<A>) - Static method in class fj.P
-
Convert a F0 into a P1, using soft call-by-need semantic: function f is evaluated at first call to
P1._1()
and at each subsequent call if and only if the reference have been garbage collected due of shortage of memory (ie. - SoftReferenceMemo(F0<A>) - Constructor for class fj.P1.SoftReferenceMemo
- some() - Method in class fj.data.Option.None
- some() - Static method in class fj.data.Option.Optic
-
Monomorphic Some prism
- some() - Method in class fj.data.Option
-
Returns the value from this optional value, or fails if there is no value.
- some() - Method in class fj.data.Option.Some
- some(T) - Static method in class fj.data.Option
-
Constructs an optional value that has a value of the given argument.
- Some(A) - Constructor for class fj.data.Option.Some
- some_() - Static method in class fj.data.Option
- somes(List<Option<A>>) - Static method in class fj.data.Option
-
Returns all the values in the given list.
- somes(Stream<Option<A>>) - Static method in class fj.data.Option
-
Returns all the values in the given stream.
- sort(Ord<A>) - Method in class fj.data.List
-
Sorts this list using the given order over elements using a merge sort algorithm.
- sort(Ord<A>) - Method in class fj.data.NonEmptyList
-
Sorts this non empty list using the given order over elements using a merge sort algorithm.
- sort(Ord<A>) - Method in class fj.data.Stream
-
Sort this stream according to the given ordering.
- sort(Ord<A>, Strategy<Unit>) - Method in class fj.data.Stream
-
Sort this stream according to the given ordering, using a parallel Quick Sort algorithm that uses the given parallelisation strategy.
- space(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a space character.
- space(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a space character.
- span(F<A, Boolean>) - Method in class fj.data.List
-
Returns a tuple where the first element is the longest prefix of this list that satisfies the given predicate and the second element is the remainder of the list.
- span(F<A, Boolean>) - Method in class fj.data.Stream
-
Returns a tuple where the first element is the longest prefix of this stream that satisfies the given predicate and the second element is the remainder of the stream.
- split(char) - Method in class fj.data.LazyString
-
Splits this lazy string by the given delimiter character.
- split(int) - Method in class fj.data.Seq
-
Splits this sequence into a pair of sequences at the given position.
- split(A) - Method in class fj.data.Set
-
Splits this set at the given element.
- split(F<A, C>, F<B, D>) - Method in class fj.P2
-
Split this product between two argument functions and combine their output.
- split(F<A, Boolean>) - Method in class fj.data.Stream
-
Returns a tuple where the first element is the longest prefix of this stream that does not satisfy the given predicate and the second element is the remainder of the stream.
- split(F<Character, Boolean>) - Method in class fj.data.LazyString
-
Splits this lazy string by characters matching the given predicate.
- split(F<V, Boolean>) - Method in class fj.data.fingertrees.FingerTree
-
Splits this tree into a pair of subtrees at the point where the given predicate, based on the measure, changes from
false
totrue
. - split(Ord<V>, K) - Method in class fj.data.TreeMap
-
Splits this TreeMap at the given key.
- split_(F<A, C>, F<B, D>) - Static method in class fj.P2
-
A first-class version of the split function.
- split1(F<V, Boolean>) - Method in class fj.data.fingertrees.FingerTree
-
Like
split
, but returns the element wherepred
first holds separately. - split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Deep
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Digit
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Empty
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.FingerTree
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Four
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Node
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Node2
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Node3
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.One
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Single
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Three
- split1(F<V, Boolean>, V) - Method in class fj.data.fingertrees.Two
- splitAt(int) - Method in class fj.data.List
-
Splits this list into two lists at the given index.
- splitChildren(Stream<A>, Stream<A>, int) - Static method in class fj.data.TreeZipper
- splitLookup(K) - Method in class fj.data.TreeMap
-
Splits this TreeMap at the given key.
- Stack_List() - Static method in class fj.data.Java
-
A function that converts stacks to lists.
- start - Variable in class fj.data.Eval.PureTrampolineEval
- start - Variable in class fj.data.List.Buffer
- startsWith() - Static method in class fj.data.LazyString
-
First-class prefix check.
- startsWith(LazyString) - Method in class fj.data.LazyString
-
Returns true if the given lazy string is a prefix of this lazy string.
- State<S,A> - Class in fj.data
- State(F<S, Trampoline<P2<S, A>>>) - Constructor for class fj.data.State
- stdinBufferedReader - Static variable in class fj.data.IOFunctions
- stdinReadLine() - Static method in class fj.data.IOFunctions
- stdoutPrint(String) - Static method in class fj.data.IOFunctions
- stdoutPrintln(String) - Static method in class fj.data.IOFunctions
- str(String) - Static method in class fj.data.LazyString
-
Constructs a lazy string from a String.
- strategy - Variable in class fj.control.parallel.ParModule
- strategy(F<P1<A>, P1<A>>) - Static method in class fj.control.parallel.Strategy
-
Constructs a strategy from the given evaluation function.
- Strategy<A> - Class in fj.control.parallel
-
Functional-style parallel evaluation strategies.
- Strategy(F<P1<A>, P1<A>>) - Constructor for class fj.control.parallel.Strategy
- stream(A...) - Static method in class fj.data.Stream
-
Constructs a stream with the given elements.
- Stream<A> - Class in fj.data
-
A lazy (not yet evaluated), immutable, singly linked list.
- Stream() - Constructor for class fj.data.Stream
- Stream_Array() - Static method in class fj.data.Conversions
-
A function that converts streams to arrays.
- Stream_ArrayBlockingQueue(boolean) - Static method in class fj.data.Java
-
A function that converts streams to array blocking queues.
- Stream_ArrayList() - Static method in class fj.data.Java
-
A function that converts streams to array lists.
- Stream_BitSet - Static variable in class fj.data.Java
-
A function that converts streams to bit sets.
- Stream_ConcurrentLinkedQueue() - Static method in class fj.data.Java
-
A function that converts streams to concurrent linked queues.
- Stream_CopyOnWriteArrayList() - Static method in class fj.data.Java
-
A function that converts streams to copy on write array lists.
- Stream_CopyOnWriteArraySet() - Static method in class fj.data.Java
-
A function that converts streams to copy on write array sets.
- Stream_DelayQueue() - Static method in class fj.data.Java
-
A function that converts streams to delay queues.
- Stream_Either() - Static method in class fj.data.Conversions
-
A function that converts streams to eithers.
- Stream_EnumSet() - Static method in class fj.data.Java
-
A function that converts streams to enum sets.
- Stream_HashSet() - Static method in class fj.data.Java
-
A function that converts streams to hash sets.
- Stream_Iterable() - Static method in class fj.data.Java
-
A function that converts streams to iterable.
- Stream_JavaStream() - Static method in class fj.data.Java8
- Stream_JavaStream(Stream<A>) - Static method in class fj.data.Java8
- Stream_LinkedBlockingQueue() - Static method in class fj.data.Java
-
A function that converts streams to linked blocking queues.
- Stream_LinkedHashSet() - Static method in class fj.data.Java
-
A function that converts streams to linked hash sets.
- Stream_LinkedList() - Static method in class fj.data.Java
-
A function that converts streams to linked lists.
- Stream_List() - Static method in class fj.data.Conversions
-
A function that converts streams to lists.
- Stream_Option() - Static method in class fj.data.Conversions
-
A function that converts streams to options.
- Stream_PriorityBlockingQueue() - Static method in class fj.data.Java
-
A function that converts streams to priority blocking queues.
- Stream_PriorityQueue() - Static method in class fj.data.Java
-
A function that converts streams to priority queues.
- Stream_Stack() - Static method in class fj.data.Java
-
A function that converts streams to stacks.
- Stream_String - Static variable in class fj.data.Conversions
-
A function that converts streams to strings.
- Stream_StringBuffer - Static variable in class fj.data.Conversions
-
A function that converts streams to string buffers.
- Stream_StringBuilder - Static variable in class fj.data.Conversions
-
A function that converts streams to string builders.
- Stream_SynchronousQueue(boolean) - Static method in class fj.data.Java
-
A function that converts streams to synchronous queues.
- Stream_TreeSet() - Static method in class fj.data.Java
-
A function that converts streams to tree sets.
- Stream_Vector() - Static method in class fj.data.Java
-
A function that converts streams to vectors.
- Stream.Cons<A> - Class in fj.data
- Stream.Nil<A> - Class in fj.data
- streamBitSet(Stream<Boolean>) - Static method in class fj.data.hamt.BitSet
- streamEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
Stream
type. - streamHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
Stream
type. - streamK() - Method in interface fj.F
-
Promotes this function so that it returns its result in a Stream.
- streamM() - Method in interface fj.F2
-
Promotes this function to a function on Streams.
- streamMonoid() - Static method in class fj.Monoid
-
A monoid for streams.
- streamOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
Stream
type. - StreamParser() - Constructor for class fj.parser.Parser.StreamParser
- streamSemigroup() - Static method in class fj.Semigroup
-
A semigroup for streams.
- streamShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Stream
type. - streamShow(Show<A>, String, String, String) - Static method in class fj.Show
-
A show instance for the
Stream
type. - streamShow_(Show<A>, String, String, String) - Static method in class fj.Show
-
Returns the transformation equivalent for the stream show.
- string(E, F<Character, E>, String) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given string or fails otherwise.
- string(F0<E>, F<Character, E>, String) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces the given string or fails otherwise.
- String_Array - Static variable in class fj.data.Conversions
-
A function that converts strings to arrays.
- String_ArrayBlockingQueue(boolean) - Static method in class fj.data.Java
-
A function that converts strings to array blocking queues.
- String_ArrayList - Static variable in class fj.data.Java
-
A function that converts strings to array lists.
- String_ConcurrentLinkedQueue - Static variable in class fj.data.Java
-
A function that converts strings to concurrent linked queues.
- String_CopyOnWriteArrayList - Static variable in class fj.data.Java
-
A function that converts strings to copy on write array lists.
- String_CopyOnWriteArraySet - Static variable in class fj.data.Java
-
A function that converts strings to copy on write array sets.
- String_Either() - Static method in class fj.data.Conversions
-
A function that converts string to eithers.
- String_HashSet - Static variable in class fj.data.Java
-
A function that converts strings to hash sets.
- String_LinkedBlockingQueue - Static variable in class fj.data.Java
-
A function that converts strings to linked blocking queues.
- String_LinkedHashSet - Static variable in class fj.data.Java
-
A function that converts strings to linked hash sets.
- String_LinkedList - Static variable in class fj.data.Java
-
A function that converts strings to linked lists.
- String_List - Static variable in class fj.data.Conversions
-
A function that converts strings to lists.
- String_Option - Static variable in class fj.data.Conversions
-
A function that converts strings to options.
- String_PriorityBlockingQueue - Static variable in class fj.data.Java
-
A function that converts strings to priority blocking queues.
- String_PriorityQueue - Static variable in class fj.data.Java
-
A function that converts strings to priority queues.
- String_Stack - Static variable in class fj.data.Java
-
A function that converts strings to stacks.
- String_Stream - Static variable in class fj.data.Conversions
-
A function that converts strings to streams.
- String_StringBuffer - Static variable in class fj.data.Conversions
-
A function that converts strings to string buffers.
- String_StringBuilder - Static variable in class fj.data.Conversions
-
A function that converts strings to string builders.
- String_SynchronousQueue(boolean) - Static method in class fj.data.Java
-
A function that converts strings to synchronous queues.
- String_TreeSet - Static variable in class fj.data.Java
-
A function that converts strings to tree sets.
- String_Vector - Static variable in class fj.data.Java
-
A function that converts strings to vectors.
- stringBitSet(String) - Static method in class fj.data.hamt.BitSet
- StringBuffer_Array - Static variable in class fj.data.Conversions
-
A function that converts string buffers to arrays.
- StringBuffer_ArrayBlockingQueue(boolean) - Static method in class fj.data.Java
-
A function that converts string buffers to array blocking queues.
- StringBuffer_ArrayList - Static variable in class fj.data.Java
-
A function that converts string buffers to array lists.
- StringBuffer_ConcurrentLinkedQueue - Static variable in class fj.data.Java
-
A function that converts string buffers to concurrent linked queues.
- StringBuffer_CopyOnWriteArrayList - Static variable in class fj.data.Java
-
A function that converts string buffers to copy on write array lists.
- StringBuffer_CopyOnWriteArraySet - Static variable in class fj.data.Java
-
A function that converts string buffers to copy on write array sets.
- StringBuffer_Either() - Static method in class fj.data.Conversions
-
A function that converts string buffers to eithers.
- StringBuffer_HashSet - Static variable in class fj.data.Java
-
A function that converts string buffers to hash sets.
- StringBuffer_LinkedBlockingQueue - Static variable in class fj.data.Java
-
A function that converts string buffers to linked blocking queues.
- StringBuffer_LinkedHashSet - Static variable in class fj.data.Java
-
A function that converts string buffers to linked hash sets.
- StringBuffer_LinkedList - Static variable in class fj.data.Java
-
A function that converts string buffers to linked lists.
- StringBuffer_List - Static variable in class fj.data.Conversions
-
A function that converts string buffers to lists.
- StringBuffer_Option - Static variable in class fj.data.Conversions
-
A function that converts string buffers to options.
- StringBuffer_PriorityBlockingQueue - Static variable in class fj.data.Java
-
A function that converts string buffers to priority blocking queues.
- StringBuffer_PriorityQueue - Static variable in class fj.data.Java
-
A function that converts string buffers to priority queues.
- StringBuffer_Stack - Static variable in class fj.data.Java
-
A function that converts string buffers to stacks.
- StringBuffer_Stream - Static variable in class fj.data.Conversions
-
A function that converts string buffers to streams.
- StringBuffer_String - Static variable in class fj.data.Conversions
-
A function that converts string buffers to strings.
- StringBuffer_StringBuilder - Static variable in class fj.data.Conversions
-
A function that converts string buffers to string builders.
- StringBuffer_SynchronousQueue(boolean) - Static method in class fj.data.Java
-
A function that converts string buffers to synchronous queues.
- StringBuffer_TreeSet - Static variable in class fj.data.Java
-
A function that converts string buffers to tree sets.
- StringBuffer_Vector - Static variable in class fj.data.Java
-
A function that converts string buffers to vectors.
- stringBufferEqual - Static variable in class fj.Equal
-
An equal instance for the
StringBuffer
type. - stringBufferHash - Static variable in class fj.Hash
-
A hash instance for the
StringBuffer
type. - stringBufferMonoid - Static variable in class fj.Monoid
-
A monoid that appends string buffers.
- stringBufferOrd - Static variable in class fj.Ord
-
An order instance for the
StringBuffer
type. - stringBufferSemigroup - Static variable in class fj.Semigroup
-
A semigroup that appends string buffers.
- stringBufferShow - Static variable in class fj.Show
-
A show instance for the
StringBuffer
type. - StringBuilder_Array - Static variable in class fj.data.Conversions
-
A function that converts string builders to arrays.
- StringBuilder_ArrayBlockingQueue(boolean) - Static method in class fj.data.Java
-
A function that converts string builders to array blocking queues.
- StringBuilder_ArrayList - Static variable in class fj.data.Java
-
A function that converts string builders to array lists.
- StringBuilder_ConcurrentLinkedQueue - Static variable in class fj.data.Java
-
A function that converts string builders to concurrent linked queues.
- StringBuilder_CopyOnWriteArrayList - Static variable in class fj.data.Java
-
A function that converts string builders to copy on write array lists.
- StringBuilder_CopyOnWriteArraySet - Static variable in class fj.data.Java
-
A function that converts string builders to copy on write array sets.
- StringBuilder_Either() - Static method in class fj.data.Conversions
-
A function that converts string builders to eithers.
- StringBuilder_HashSet - Static variable in class fj.data.Java
-
A function that converts string builders to hash sets.
- StringBuilder_LinkedBlockingQueue - Static variable in class fj.data.Java
-
A function that converts string builders to linked blocking queues.
- StringBuilder_LinkedHashSet - Static variable in class fj.data.Java
-
A function that converts string builders to linked hash sets.
- StringBuilder_LinkedList - Static variable in class fj.data.Java
-
A function that converts string builders to linked lists.
- StringBuilder_List - Static variable in class fj.data.Conversions
-
A function that converts string builders to lists.
- StringBuilder_Option - Static variable in class fj.data.Conversions
-
A function that converts string builders to options.
- StringBuilder_PriorityBlockingQueue - Static variable in class fj.data.Java
-
A function that converts string builders to priority blocking queues.
- StringBuilder_PriorityQueue - Static variable in class fj.data.Java
-
A function that converts string builders to priority queues.
- StringBuilder_Stack - Static variable in class fj.data.Java
-
A function that converts string builders to stacks.
- StringBuilder_Stream - Static variable in class fj.data.Conversions
-
A function that converts string builders to streams.
- StringBuilder_String - Static variable in class fj.data.Conversions
-
A function that converts string builders to strings.
- StringBuilder_StringBuffer - Static variable in class fj.data.Conversions
-
A function that converts string builders to string buffers.
- StringBuilder_SynchronousQueue(boolean) - Static method in class fj.data.Java
-
A function that converts string builders to synchronous queues.
- StringBuilder_TreeSet - Static variable in class fj.data.Java
-
A function that converts string builders to tree sets.
- StringBuilder_Vector - Static variable in class fj.data.Java
-
A function that converts string builders to vectors.
- stringBuilderEqual - Static variable in class fj.Equal
-
An equal instance for the
StringBuilder
type. - stringBuilderHash - Static variable in class fj.Hash
-
A hash instance for the
StringBuilder
type. - stringBuilderMonoid - Static variable in class fj.Monoid
-
A monoid that appends string builders.
- stringBuilderOrd - Static variable in class fj.Ord
-
An order instance for the
StringBuffer
type. - stringBuilderSemigroup - Static variable in class fj.Semigroup
-
A semigroup that appends string builders.
- stringBuilderShow - Static variable in class fj.Show
-
A show instance for the
StringBuilder
type. - stringEqual - Static variable in class fj.Equal
-
An equal instance for the
String
type. - stringHash - Static variable in class fj.Hash
-
A hash instance for the
String
type. - stringLogger() - Static method in class fj.data.Writer
- stringMonoid - Static variable in class fj.Monoid
-
A monoid that appends strings.
- stringOrd - Static variable in class fj.Ord
-
An order instance for the
String
type. - Strings - Class in fj.function
-
Curried string functions.
- Strings() - Constructor for class fj.function.Strings
- stringSemigroup - Static variable in class fj.Semigroup
-
A semigroup that appends strings.
- stringShow - Static variable in class fj.Show
-
A show instance for the
String
type. - sub - Variable in class fj.control.Trampoline.Codense
- subForest - Variable in class fj.data.Tree
- subForest() - Method in class fj.data.Tree
-
Returns a stream of the tree's subtrees.
- subForest_() - Static method in class fj.data.Tree
-
Provides a transformation from a tree to its subforest.
- sublists() - Method in class fj.data.NonEmptyList
-
Returns a NonEmptyList of the sublists of this list.
- subSequence(int, int) - Method in class fj.data.LazyString
-
Gets the specified subsequence of this lazy string.
- subsetOf(Set<A>) - Method in class fj.data.Set
-
Returns true if this set is a subset of the given set.
- substreams() - Method in class fj.data.Stream
-
Returns a stream of all infixes of this stream.
- subtract - Static variable in class fj.data.Natural
-
A function that subtracts its first argument from its second.
- subtract - Static variable in class fj.function.BigIntegers
-
Curried Integer subtraction.
- subtract - Static variable in class fj.function.Doubles
-
Curried Double subtraction.
- subtract - Static variable in class fj.function.Integers
-
Curried Integer subtraction.
- subtract - Static variable in class fj.function.Longs
-
Curried Long subtraction.
- subtract(Natural) - Method in class fj.data.Natural
-
Subtract a natural number from another.
- succ() - Method in class fj.data.Natural
-
Return the successor of this natural number
- succ_() - Static method in class fj.data.Natural
-
First-class successor function.
- success() - Method in class fj.data.Validation
-
Returns the success value, or throws an error if there is no success value.
- success(T) - Static method in class fj.data.Validation
-
Returns a succeeding validation containing the given value.
- successE(F0<String>) - Method in class fj.data.Validation
-
Returns the success value or fails with the given error message.
- successE(String) - Method in class fj.data.Validation
-
Returns the success value or fails with the given error message.
- successes(List<Validation<E, A>>) - Static method in class fj.data.Validation
- successK() - Method in interface fj.F
-
Promotes this function so that it returns its result on the success side of an Validation.
- successor - Variable in class fj.data.Enumerator
- successor() - Method in class fj.data.Enumerator
-
Returns the potential successor of a value for this enumerator in curried form.
- successor(A) - Method in class fj.data.Enumerator
-
Returns the potential successor of a value for this enumerator.
- suffix - Variable in class fj.data.fingertrees.Deep
- suffix() - Method in class fj.data.fingertrees.Deep
-
Returns the last few elements of this tree.
- sum - Variable in class fj.data.hlist.HPre.HAdd
- sum() - Method in class fj.data.hlist.HPre.HAdd
- sum() - Method in class fj.Monoid
-
Returns a function that sums according to this monoid.
- sum() - Method in class fj.Semigroup
-
Returns a function that sums according to this semigroup.
- sum(A) - Method in class fj.Monoid
-
Returns a function that sums the given value according to this monoid.
- sum(A) - Method in class fj.Semigroup
-
Returns a function that sums the given value according to this semigroup.
- sum(A, A) - Method in class fj.Monoid
-
Sums the two given arguments.
- sum(A, A) - Method in class fj.Semigroup
-
Sums the two given arguments.
- sum(A, F0<Stream<A>>) - Method in interface fj.Monoid.Definition
- sum(A, F0<Stream<A>>) - Method in interface fj.Semigroup.Definition
- sum(List<Natural>) - Static method in class fj.data.Natural
-
Sums a list of natural numbers.
- sum(List<Double>) - Static method in class fj.function.Doubles
-
Sums a list of doubles.
- sum(List<Integer>) - Static method in class fj.function.Integers
-
Sums a list of integers.
- sum(List<Long>) - Static method in class fj.function.Longs
-
Sums a list of longs.
- sum(List<BigInteger>) - Static method in class fj.function.BigIntegers
-
Sums a list of big integers.
- sum(Fold<S1, A>) - Method in class fj.data.optic.Fold
-
join two
Fold
with the same target - sum(Getter<S1, A>) - Method in class fj.data.optic.Getter
-
join two
Getter
with the same target - sum(Lens<S1, A>) - Method in class fj.data.optic.Lens
-
join two
Lens
with the same target - sum(Optional<S1, A>) - Method in class fj.data.optic.Optional
-
join two
Optional
with the same target - sum(PLens<S1, T1, A, B>) - Method in class fj.data.optic.PLens
-
join two
PLens
with the same target - sum(POptional<S1, T1, A, B>) - Method in class fj.data.optic.POptional
-
join two
POptional
with the same target - sum(PSetter<S1, T1, A, B>) - Method in class fj.data.optic.PSetter
-
join two
PSetter
with the same target - sum(PTraversal<S1, T1, A, B>) - Method in class fj.data.optic.PTraversal
-
join two
PTraversal
with the same target - sum(Setter<S1, A>) - Method in class fj.data.optic.Setter
-
join two
Setter
with the same target - sum(Traversal<S1, A>) - Method in class fj.data.optic.Traversal
-
join two
Traversal
with the same target - sum(Stream<Natural>) - Static method in class fj.data.Natural
-
Sums a stream of natural numbers.
- sum(F0<Stream<A>>) - Method in interface fj.Monoid.Definition
- sum(V, V) - Method in class fj.data.fingertrees.Measured
-
Sums the given measurements with the monoid.
- sumLeft() - Method in class fj.Monoid
-
Returns a function that sums the given values with left-fold.
- sumLeft(List<A>) - Method in class fj.Monoid
-
Sums the given values with left-fold.
- sumLeft(Stream<A>) - Method in class fj.Monoid
-
Sums the given values with left-fold.
- sumLeftS() - Method in class fj.Monoid
-
Returns a function that sums the given values with left-fold.
- sumNel(NonEmptyList<A>) - Method in class fj.Semigroup
-
Sums the given values with left-fold.
- sumRight() - Method in class fj.Monoid
-
Returns a function that sums the given values with right-fold.
- sumRight(List<A>) - Method in class fj.Monoid
-
Sums the given values with right-fold.
- sumRight(Stream<A>) - Method in class fj.Monoid
-
Sums the given values with right-fold.
- sumStream(A, F0<Stream<A>>) - Method in class fj.Semigroup
-
Sums the given values with left-fold, shortcutting the computation as early as possible.
- superclassParameters() - Method in class fj.Class
-
Provides this class's superclass type parameter information as a Tree of the type expression.
- supplier - Variable in class fj.data.Eval.Always
- Supplier_P1() - Static method in class fj.data.Java8
- Supplier_P1(Supplier<A>) - Static method in class fj.data.Java8
- suspend(F0<Trampoline<A>>) - Static method in class fj.control.Trampoline
-
Suspends the given computation in a thunk.
- suspend(P1<Trampoline<A>>) - Static method in class fj.control.Trampoline
-
Suspends the given computation in a thunk.
- Suspend(P1<Trampoline<A>>) - Constructor for class fj.control.Trampoline.Suspend
- suspend_() - Static method in class fj.control.Trampoline
- suspended(F<S, Trampoline<P2<S, A>>>) - Static method in class fj.data.State
- suspension - Variable in class fj.control.Trampoline.Suspend
- swap() - Method in class fj.data.Either
-
If this is a left, then return the left value in right, or vice versa.
- swap() - Method in class fj.data.Either3
- swap() - Method in class fj.P2
-
Swaps the elements around in this product.
- swap_() - Static method in class fj.P2
-
Returns a curried form of
P2.swap()
. - swapLefts() - Method in class fj.data.Either3
- swapRights() - Method in class fj.data.Either3
- SynchronousQueue_List() - Static method in class fj.data.Java
-
A function that converts synchronous queues to lists.
T
- tail - Variable in class fj.data.List.Buffer
- tail - Variable in class fj.data.List.Cons
- tail - Variable in class fj.data.NonEmptyList
- tail - Variable in class fj.data.Stream.Cons
- tail - Variable in class fj.data.vector.V3
- tail - Variable in class fj.data.vector.V4
- tail - Variable in class fj.data.vector.V5
- tail - Variable in class fj.data.vector.V6
- tail - Variable in class fj.data.vector.V7
- tail - Variable in class fj.data.vector.V8
- tail() - Method in class fj.data.fingertrees.Deep
- tail() - Method in class fj.data.fingertrees.Digit
- tail() - Method in class fj.data.fingertrees.Empty
- tail() - Method in class fj.data.fingertrees.FingerTree
-
The tree without the first element.
- tail() - Method in class fj.data.fingertrees.Single
- tail() - Method in class fj.data.hlist.HList.HCons
- tail() - Method in class fj.data.LazyString
-
Returns all but the first character of this string.
- tail() - Method in class fj.data.List.Cons
- tail() - Method in class fj.data.List.Nil
- tail() - Static method in class fj.data.List.Optic
-
Optional targeted on Cons tail.
- tail() - Method in class fj.data.List
-
The list without the first element or fails for the empty list.
- tail() - Method in class fj.data.NonEmptyList
-
This list without the first element.
- tail() - Method in class fj.data.Seq
-
The sequence without the first element.
- tail() - Method in class fj.data.Stream.Cons
- tail() - Method in class fj.data.Stream.Nil
- tail() - Method in class fj.data.Stream
-
The stream without the first element or fails for the empty stream.
- tail() - Method in class fj.data.vector.V3
-
Returns all but the first element of this vector, as a vector-2.
- tail() - Method in class fj.data.vector.V4
-
Returns all but the first element of this vector, as a vector-3.
- tail() - Method in class fj.data.vector.V5
-
Returns all but the first element of this vector, as a vector-4.
- tail() - Method in class fj.data.vector.V6
-
Returns all but the first element of this vector, as a vector-5.
- tail() - Method in class fj.data.vector.V7
-
Returns all but the first element of this vector, as a vector-6.
- tail() - Method in class fj.data.vector.V8
-
Returns all but the first element of this vector, as a vector-7.
- tail(List<A>) - Method in class fj.data.List.Cons
- tail_() - Static method in class fj.data.List
-
First-class tail function.
- tailOption() - Method in class fj.data.List
-
Reutrns the tail of the list, if any.
- tails() - Method in class fj.data.List
-
Returns the list of final segments of this list, longest first.
- tails() - Method in class fj.data.NonEmptyList
-
Returns a NonEmptyList of the tails of this list.
- tails() - Method in class fj.data.Stream
-
Returns a stream of the suffixes of this stream.
- take() - Static method in class fj.data.List
-
Provides a first-class version of take.
- take(int) - Method in class fj.data.List
-
Takes the given number of elements from the head of this list if they are available.
- take(int) - Method in class fj.data.Seq
-
Takes the given number of elements from the head of this sequence if they are available.
- take(int) - Method in class fj.data.Stream
-
Returns the first
n
elements from the head of this stream. - takeLower(int) - Method in class fj.data.hamt.BitSet
- takeUpper(int) - Method in class fj.data.hamt.BitSet
- takeWhile(F<A, Boolean>) - Method in class fj.data.List
-
Returns the first elements of the head of this list that match the given predicate function.
- takeWhile(F<A, Boolean>) - Method in class fj.data.Stream
-
Returns the first elements of the head of this stream that match the given predicate function.
- tell(W) - Method in class fj.data.Writer
- terminal - Variable in class fj.control.db.DbState
- then(F<A, B>, Equal<B>) - Method in interface fj.Equal.Definition
-
Refine this equal definition, to tests equality of self and the mapped object in "and" manner.
- then(F<A, B>, Ord<B>) - Method in interface fj.Ord.Definition
-
Refine this ord definition: compares using self and if objects are equal compares using given
Ord
. - three(A, A, A) - Method in class fj.data.fingertrees.MakeTree
-
A digit of three elements.
- Three<V,A> - Class in fj.data.fingertrees
-
A three-element prefix or suffix of a finger tree.
- Three(Measured<V, A>, V3<A>) - Constructor for class fj.data.fingertrees.Three
- titleCase(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a title-case character.
- titleCase(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a title-case character.
- to(Actor<A>) - Method in class fj.control.parallel.Promise
-
Promises to send a value to the given actor in the future.
- toArray() - Static method in class fj.data.Collectors
- toArray() - Method in class fj.data.Either.LeftProjection
-
Returns a single element array if this projection has a value, otherwise an empty array.
- toArray() - Method in class fj.data.Either.RightProjection
-
Returns a single element array if this projection has a value, otherwise an empty array.
- toArray() - Method in class fj.data.Either3.LeftProjection
- toArray() - Method in class fj.data.Either3.MiddleProjection
- toArray() - Method in class fj.data.Either3.RightProjection
- toArray() - Method in class fj.data.HashMap
- toArray() - Method in class fj.data.List
-
Returns a array projection of this list.
- toArray() - Method in class fj.data.Option
-
Returns an array projection of this optional value.
- toArray() - Method in class fj.data.Stream
-
Returns a array projection of this stream.
- toArray() - Method in class fj.data.Validation.FailProjection
-
Returns a single element array if this is a failing value, otherwise an empty list.
- toArray() - Method in class fj.data.Validation
-
Returns a single element array if this is a success value, otherwise an empty list.
- toArray() - Method in class fj.data.vector.V2
-
Returns an array with the elements of this vector.
- toArray() - Method in class fj.data.vector.V3
-
Returns an array with the elements of this vector.
- toArray() - Method in class fj.data.vector.V4
-
Returns an array with the elements of this vector.
- toArray() - Method in class fj.data.vector.V5
-
Returns an array with the elements of this vector.
- toArray() - Method in class fj.data.vector.V6
-
Returns an array with the elements of this vector.
- toArray() - Method in class fj.data.vector.V7
-
Returns an array with the elements of this vector.
- toArray() - Method in class fj.data.vector.V8
-
Returns an array with the elements of this vector.
- toArray(Class<A[]>) - Method in class fj.data.List
-
Returns a array projection of this list.
- toArray(Class<A[]>) - Method in class fj.data.Option
-
Returns an array projection of this optional value.
- toArray(Class<A[]>) - Method in class fj.data.Stream
-
Returns a array projection of this stream.
- toArrayObject() - Method in class fj.data.List
- toBoolean(char) - Static method in class fj.data.hamt.BitSet
- toBoolean(int) - Static method in class fj.data.hamt.BitSet
- toChar - Static variable in enum fj.Digit
-
First-class conversion from a digit to a character.
- toChar() - Method in enum fj.Digit
-
Converts this digit to a character.
- toCollection() - Method in class fj.data.Array.ImmutableProjection
-
Projects an immutable collection of this array.
- toCollection() - Method in class fj.data.Array
-
Projects an immutable collection of this array.
- toCollection() - Method in class fj.data.Either.LeftProjection
-
Projects an immutable collection of this projection.
- toCollection() - Method in class fj.data.Either.RightProjection
-
Projects an immutable collection of this projection.
- toCollection() - Method in class fj.data.Either3.LeftProjection
- toCollection() - Method in class fj.data.Either3.MiddleProjection
- toCollection() - Method in class fj.data.Either3.RightProjection
- toCollection() - Method in class fj.data.HashMap
-
Projects an immutable collection of this hash map.
- toCollection() - Method in class fj.data.HashSet
-
Projects an immutable collection of this hash set.
- toCollection() - Method in class fj.data.List.Buffer
-
Projects an immutable collection of this buffer.
- toCollection() - Method in class fj.data.List
-
Projects an immutable collection of this list.
- toCollection() - Method in class fj.data.NonEmptyList
-
Projects an immutable collection of this non-empty list.
- toCollection() - Method in class fj.data.Option
-
Projects an immutable collection of this optional value.
- toCollection() - Method in class fj.data.Stream
-
Projects an immutable collection of this stream.
- toCollection() - Method in class fj.data.Tree
-
Projects an immutable collection of this tree.
- toComparator() - Method in class fj.Ord
- toDigit() - Method in class fj.data.fingertrees.Node
- toDigit() - Method in class fj.data.fingertrees.Node2
- toDigit() - Method in class fj.data.fingertrees.Node3
- toEffect0() - Method in interface fj.F0
- toEffect0() - Method in interface fj.function.Try0
- toEffect0() - Method in interface fj.function.TryEffect0
- toEither() - Static method in class fj.data.Option
-
A first-class version of the toEither method.
- toEither() - Method in class fj.data.Validation
-
Returns an either projection of this validation.
- toEither(F0<X>) - Method in class fj.data.Array.ImmutableProjection
-
Returns an either projection of this array; the given argument in
Left
if empty, or the first element inRight
. - toEither(F0<X>) - Method in class fj.data.Array
-
Returns an either projection of this array; the given argument in
Left
if empty, or the first element inRight
. - toEither(F0<X>) - Method in class fj.data.List
-
Returns an either projection of this list; the given argument in
Left
if empty, or the first element inRight
. - toEither(F0<X>) - Method in class fj.data.Option
-
Returns an either projection of this optional value; the given argument in
Left
if no value, or the value inRight
. - toEither(F0<X>) - Method in class fj.data.Stream
-
Returns an either projection of this stream; the given argument in
Left
if empty, or the first element inRight
. - toEither(X) - Method in class fj.data.Option
-
Returns an either projection of this optional value; the given argument in
Left
if no value, or the value inRight
. - toF() - Method in interface fj.function.Effect1
- toF0() - Method in interface fj.function.Effect0
- toF0() - Method in interface fj.function.Try0
- toF0() - Method in interface fj.function.TryEffect0
- toF2() - Method in interface fj.function.Effect2
- toForest() - Method in class fj.data.TreeZipper
-
Returns the forest containing this location.
- toFunction() - Method in class fj.data.Stream
-
Converts this stream to a function of natural numbers.
- toInt() - Method in enum fj.Ordering
- toInt(boolean) - Static method in class fj.data.hamt.BitSet
- toInteger() - Method in class fj.data.hlist.HPre.HNat
- toInteger() - Method in class fj.data.hlist.HPre.HSucc
- toInteger() - Method in class fj.data.hlist.HPre.HZero
- toJavaHashSet() - Method in class fj.data.Set
-
Returns a java.util.HashSet representation of this set.
- toJavaList() - Method in class fj.data.Array
-
Returns a java.util.ArrayList projection of this array.
- toJavaList() - Method in class fj.data.DList
-
Converts the DList to a standard java.util.List.
- toJavaList() - Method in class fj.data.HashSet
- toJavaList() - Method in class fj.data.List
- toJavaList() - Method in class fj.data.Seq
-
Converts the sequence to a java.util.List
- toJavaList() - Method in class fj.data.Set
-
Returns a java.util.List representation of this set.
- toJavaList() - Method in class fj.data.Stream
-
Returns a java.util.List projection of this stream.
- toJavaSet() - Method in class fj.data.HashSet
- toJavaSet() - Method in class fj.data.Set
-
Returns a java.util.Set representation of this set.
- toJavaTreeSet() - Method in class fj.data.Set
-
Returns a java.util.TreeSet representation of this set.
- toList() - Method in class fj.data.Array.ImmutableProjection
-
Returns a list projection of this array.
- toList() - Method in class fj.data.Array
-
Returns a list projection of this array.
- toList() - Static method in class fj.data.Collectors
- toList() - Method in class fj.data.Either.LeftProjection
-
Returns a single element list if this projection has a value, otherwise an empty list.
- toList() - Method in class fj.data.Either.RightProjection
-
Returns a single element list if this projection has a value, otherwise an empty list.
- toList() - Method in class fj.data.Either3.LeftProjection
- toList() - Method in class fj.data.Either3.MiddleProjection
- toList() - Method in class fj.data.Either3.RightProjection
- toList() - Method in class fj.data.hamt.BitSet
- toList() - Method in class fj.data.hamt.HashArrayMappedTrie
-
Returns a list of key-value pairs.
- toList() - Method in class fj.data.HashMap
- toList() - Method in class fj.data.HashSet
-
Returns a list projection of this hash set.
- toList() - Method in class fj.data.List.Buffer
-
Returns an immutable list projection of this buffer.
- toList() - Method in class fj.data.NonEmptyList
-
Returns a
List
projection of this list. - toList() - Method in class fj.data.Option
-
Returns a list projection of this optional value.
- toList() - Method in class fj.data.PriorityQueue
-
Returns a list of products with priority k and value a.
- toList() - Method in class fj.data.Seq
-
Converts this sequence to a List
- toList() - Method in class fj.data.Set
-
Returns a list representation of this set.
- toList() - Method in class fj.data.Stream
-
Returns a list projection of this stream.
- toList() - Method in class fj.data.TreeMap
- toList() - Method in class fj.data.Validation.FailProjection
-
Returns a single element list if this is a failing value, otherwise an empty list.
- toList() - Method in class fj.data.Validation
-
Returns a single element list if this is a success value, otherwise an empty list.
- toList(Ord<K>) - Method in class fj.data.hamt.HashArrayMappedTrie
-
Returns the list of key-value pairs, ordered by key.
- toList_() - Static method in class fj.data.NonEmptyList
-
Returns a function that takes a non-empty list to a list.
- toListReverse() - Method in class fj.data.Set
-
Returns a list representation of this set in reverse order.
- toListReverse() - Method in class fj.data.TreeMap
- toLong - Static variable in enum fj.Digit
-
First-class conversion from digit to a long.
- toLong() - Method in enum fj.Digit
-
Converts this digit to a long.
- toLowerCase - Static variable in class fj.function.Characters
- toMap() - Method in class fj.data.HashMap
- toMutableMap() - Method in class fj.data.TreeMap
-
A mutable map projection of this tree map.
- toNonEmptyList() - Method in class fj.data.vector.V2
-
Returns a nonempty list with the elements of this vector.
- toNonEmptyList() - Method in class fj.data.vector.V3
-
Returns a nonempty list with the elements of this vector.
- toNonEmptyList() - Method in class fj.data.vector.V4
-
Returns a nonempty list with the elements of this vector.
- toNonEmptyList() - Method in class fj.data.vector.V5
-
Returns a nonempty list with the elements of this vector.
- toNonEmptyList() - Method in class fj.data.vector.V6
-
Returns a nonempty list with the elements of this vector.
- toNonEmptyList() - Method in class fj.data.vector.V7
-
Returns a nonempty list with the elements of this vector.
- toNonEmptyList() - Method in class fj.data.vector.V8
-
Returns a nonempty list with the elements of this vector.
- toNull() - Method in class fj.data.Option
-
Returns the value from this optional value, or if there is no value, returns
null
. - toOption() - Method in class fj.data.Array.ImmutableProjection
-
Returns an option projection of this array;
None
if empty, or the first element inSome
. - toOption() - Method in class fj.data.Array
-
Returns an option projection of this array;
None
if empty, or the first element inSome
. - toOption() - Method in class fj.data.Either.LeftProjection
-
Returns this projection's value in
Some
if it exists, otherwiseNone
. - toOption() - Method in class fj.data.Either.RightProjection
-
Returns this projection's value in
Some
if it exists, otherwiseNone
. - toOption() - Method in class fj.data.Either3.LeftProjection
- toOption() - Method in class fj.data.Either3.MiddleProjection
- toOption() - Method in class fj.data.Either3.RightProjection
- toOption() - Method in class fj.data.HashMap
- toOption() - Method in class fj.data.Stream
-
Returns an option projection of this stream;
None
if empty, or the first element inSome
. - toOption() - Method in class fj.data.Validation.FailProjection
-
Returns the failing value in
Some
if there is one, otherwiseNone
. - toOption() - Method in class fj.data.Validation
-
Returns the success value in
Some
if there is one, otherwiseNone
. - top() - Method in class fj.data.PriorityQueue
-
If the tree is not empty, returns the node with highest priority otherwise returns nothing.
- toP1() - Method in interface fj.F0
- toP1() - Method in interface fj.function.Effect0
- toP1() - Method in interface fj.function.Try0
- toP1() - Method in interface fj.function.TryEffect0
- topDequeue() - Method in class fj.data.PriorityQueue
-
Returns a tuple of the node with the highest priority and the rest of the priority queue.
- topN() - Method in class fj.data.PriorityQueue
-
Returns all the elements of the queue with the highest (same) priority.
- toSafe(IO<A>) - Static method in class fj.data.IOFunctions
-
Convert io to a SafeIO, throwing any IOException wrapped inside a RuntimeException
- toSafeValidation(IO<A>) - Static method in class fj.data.IOFunctions
- toStandardList() - Method in class fj.data.IterableW
-
Returns a java.util.List implementation for this iterable.
- toStream - Static variable in class fj.data.LazyString
-
First-class conversion from lazy strings to streams.
- toStream() - Method in class fj.data.Array.ImmutableProjection
-
Returns a stream projection of this array.
- toStream() - Method in class fj.data.Array
-
Returns a stream projection of this array.
- toStream() - Static method in class fj.data.Collectors
- toStream() - Method in class fj.data.Either.LeftProjection
-
Returns a single element stream if this projection has a value, otherwise an empty stream.
- toStream() - Method in class fj.data.Either.RightProjection
-
Returns a single element stream if this projection has a value, otherwise an empty stream.
- toStream() - Method in class fj.data.Either3.LeftProjection
- toStream() - Method in class fj.data.Either3.MiddleProjection
- toStream() - Method in class fj.data.Either3.RightProjection
- toStream() - Method in class fj.data.fingertrees.Deep
- toStream() - Method in class fj.data.fingertrees.Digit
- toStream() - Method in class fj.data.fingertrees.Empty
- toStream() - Method in class fj.data.fingertrees.FingerTree
- toStream() - Method in class fj.data.fingertrees.Four
- toStream() - Method in class fj.data.fingertrees.Node
- toStream() - Method in class fj.data.fingertrees.Node2
- toStream() - Method in class fj.data.fingertrees.Node3
- toStream() - Method in class fj.data.fingertrees.One
- toStream() - Method in class fj.data.fingertrees.Single
- toStream() - Method in class fj.data.fingertrees.Three
- toStream() - Method in class fj.data.fingertrees.Two
- toStream() - Method in class fj.data.hamt.BitSet
-
Returns a stream of boolean where the head is the most significant bit (the bit with the largest value)
- toStream() - Method in class fj.data.hamt.HashArrayMappedTrie
-
Returns a stream of key-value pairs.
- toStream() - Method in class fj.data.hamt.Node
- toStream() - Method in class fj.data.HashMap
- toStream() - Method in class fj.data.LazyString
-
Gives a stream representation of this lazy string.
- toStream() - Method in class fj.data.List
-
Returns a stream projection of this list.
- toStream() - Method in class fj.data.Option
-
Returns a stream projection of this optional value.
- toStream() - Method in class fj.data.PriorityQueue
-
Returns a stream of products with priority k and value a.
- toStream() - Method in class fj.data.Seq
-
Converts this sequence to a Stream
- toStream() - Method in class fj.data.Set
-
Returns a stream representation of this set.
- toStream() - Method in class fj.data.TreeMap
- toStream() - Method in class fj.data.Validation.FailProjection
-
Returns a single element stream if this is a failing value, otherwise an empty list.
- toStream() - Method in class fj.data.Validation
-
Returns a single element stream if this is a success value, otherwise an empty list.
- toStream() - Method in class fj.data.vector.V2
-
Returns a stream of the elements of this vector.
- toStream() - Method in class fj.data.vector.V3
-
Returns a stream of the elements of this vector.
- toStream() - Method in class fj.data.vector.V4
-
Returns a stream of the elements of this vector.
- toStream() - Method in class fj.data.vector.V5
-
Returns a stream of the elements of this vector.
- toStream() - Method in class fj.data.vector.V6
-
Returns a stream of the elements of this vector.
- toStream() - Method in class fj.data.vector.V7
-
Returns a stream of the elements of this vector.
- toStream() - Method in class fj.data.vector.V8
-
Returns a stream of the elements of this vector.
- toStream() - Method in class fj.data.Zipper
-
Returns the Stream representation of this zipper.
- toStream(A) - Method in class fj.data.Enumerator
-
Returns a stream of the values from this enumerator, starting at the given value, counting up.
- toStream(Bounded<A>) - Method in class fj.data.Enumerator
-
Returns a stream of the values from this enumerator, starting at the min of given Bounded, ending at the max, counting up.
- toStream_() - Static method in class fj.data.vector.V2
-
Returns a function that transforms a vector-2 to a stream of its elements.
- toStream_() - Static method in class fj.data.vector.V3
-
Returns a function that transforms a vector-3 to a stream of its elements.
- toStream_() - Static method in class fj.data.vector.V4
-
Returns a function that transforms a vector-4 to a stream of its elements.
- toStream_() - Static method in class fj.data.vector.V5
-
Returns a function that transforms a vector-5 to a stream of its elements.
- toStream_() - Static method in class fj.data.vector.V6
-
Returns a function that transforms a vector-6 to a stream of its elements.
- toStream_() - Static method in class fj.data.vector.V7
-
Returns a function that transforms a vector-7 to a stream of its elements.
- toStream_() - Static method in class fj.data.vector.V8
-
Returns a function that transforms a vector-8 to a stream of its elements.
- toStreamReverse() - Method in class fj.data.Set
-
Returns a stream representation of this set in reverse order.
- toStreamReverse() - Method in class fj.data.TreeMap
- toString - Static variable in class fj.data.LazyString
-
First-class conversion from lazy strings to String.
- toString - Static variable in class fj.function.Characters
- toString() - Method in class fj.data.Array
- toString() - Method in class fj.data.Either
- toString() - Method in class fj.data.fingertrees.Deep
- toString() - Method in class fj.data.fingertrees.Digit
- toString() - Method in class fj.data.fingertrees.Empty
- toString() - Method in class fj.data.fingertrees.Four
- toString() - Method in class fj.data.fingertrees.Node2
- toString() - Method in class fj.data.fingertrees.Node3
- toString() - Method in class fj.data.fingertrees.One
- toString() - Method in class fj.data.fingertrees.Single
- toString() - Method in class fj.data.fingertrees.Three
- toString() - Method in class fj.data.fingertrees.Two
- toString() - Method in class fj.data.hamt.BitSet
- toString() - Method in class fj.data.hamt.HashArrayMappedTrie
- toString() - Method in class fj.data.hamt.Node
- toString() - Method in class fj.data.LazyString
- toString() - Method in class fj.data.List
-
Obtain a string representation of this list using the toString implementations of the members.
- toString() - Method in class fj.data.Natural
- toString() - Method in class fj.data.NonEmptyList
- toString() - Method in class fj.data.Option
- toString() - Method in class fj.data.PriorityQueue
- toString() - Method in class fj.data.Seq
- toString() - Method in class fj.data.Set
- toString() - Method in class fj.data.Stream
- toString() - Method in class fj.data.Tree
- toString() - Method in class fj.data.TreeMap
- toString() - Method in class fj.data.Validation
- toString() - Method in class fj.P1
- toString() - Method in class fj.P2
- toString() - Method in class fj.P3
- toString() - Method in class fj.P4
- toString() - Method in class fj.P5
- toString() - Method in class fj.P6
- toString() - Method in class fj.P7
- toString() - Method in class fj.P8
- toString() - Method in class fj.parser.Result
- toString() - Method in class fj.Unit
- toStringEager() - Method in class fj.data.LazyString
-
Returns the String representation of this lazy string.
- toStringEager() - Method in class fj.data.Stream
- toStringLazy() - Method in class fj.data.LazyString
- toStringLazy() - Method in class fj.data.Stream
- toTitleCase - Static variable in class fj.function.Characters
- toTree() - Method in class fj.data.fingertrees.Digit
-
Returns the tree representation of this digit.
- toTree() - Method in class fj.data.TreeZipper
-
Returns the tree containing this location.
- toTry(IO<A>) - Static method in class fj.data.IOFunctions
- toTry0() - Method in interface fj.F0
- toTry0() - Method in interface fj.function.Effect0
- toTry0() - Method in interface fj.function.TryEffect0
- toTry1() - Method in interface fj.function.Effect1
- toTryEffect0() - Method in interface fj.F0
- toTryEffect0() - Method in interface fj.function.Effect0
- toTryEffect0() - Method in interface fj.function.Try0
- toTryEffect1() - Method in interface fj.function.Effect1
- toUpperCase - Static variable in class fj.function.Characters
- toValidation(X) - Method in class fj.data.Option
- toVector() - Method in class fj.data.fingertrees.Node2
- toVector() - Method in class fj.data.fingertrees.Node3
- toZipper() - Method in class fj.data.IterableW
- tr(Ord<A>, Set<A>, A, Set<A>, A, Set<A>, A, Set<A>) - Static method in class fj.data.Set
- trampoline() - Method in class fj.data.Eval.BindTrampolineEval
- trampoline() - Method in class fj.data.Eval.DeferEval
- trampoline() - Method in class fj.data.Eval.PureTrampolineEval
- trampoline() - Method in class fj.data.Eval.TrampolineEval
- Trampoline<A> - Class in fj.control
-
A Trampoline is a potentially branching computation that can be stepped through and executed in constant stack.
- Trampoline() - Constructor for class fj.control.Trampoline
- Trampoline.Codense<A> - Class in fj.control
- Trampoline.Normal<A> - Class in fj.control
- Trampoline.Pure<A> - Class in fj.control
- Trampoline.Suspend<A> - Class in fj.control
- TrampolineEval() - Constructor for class fj.data.Eval.TrampolineEval
- traversal() - Static method in class fj.data.List.Optic
-
Monomorphic traversal
- traversal(F<S, A>, F<S, A>, F<S, A>, F<S, A>, F<S, A>, F<S, A>, F7<A, A, A, A, A, A, S, S>) - Static method in class fj.data.optic.Traversal
- traversal(F<S, A>, F<S, A>, F<S, A>, F<S, A>, F<S, A>, F6<A, A, A, A, A, S, S>) - Static method in class fj.data.optic.Traversal
- traversal(F<S, A>, F<S, A>, F<S, A>, F<S, A>, F5<A, A, A, A, S, S>) - Static method in class fj.data.optic.Traversal
- traversal(F<S, A>, F<S, A>, F<S, A>, F4<A, A, A, S, S>) - Static method in class fj.data.optic.Traversal
- traversal(F<S, A>, F<S, A>, F3<A, A, S, S>) - Static method in class fj.data.optic.Traversal
- Traversal<S,A> - Class in fj.data.optic
- Traversal(PTraversal<S, S, A, A>) - Constructor for class fj.data.optic.Traversal
- traverse(List<A>, F<A, State<S, B>>) - Static method in class fj.data.State
-
Map each element of a structure to an action, evaluate these actions from left to right and collect the results.
- traverseEither(F<A, Either<E, B>>) - Method in class fj.data.List
-
Traverse through the List with given function.
- traverseEither(F<A, Either<L, B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output on the right side of an either.
- traverseEither(F<A, Either<L, B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output on the right side of an either.
- traverseEither(F<A, Either<L, B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output on the right side of an either.
- traverseEither(F<A, Either<X, B>>) - Method in class fj.P1
-
Traversable instance of P1 for Either
- traverseEither(F<B, Either<X, C>>) - Method in class fj.P2
- traverseEitherLeft(F<A, Either<B, R>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output on the left side of an either.
- traverseEitherLeft(F<A, Either<B, R>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output on the left side of an either.
- traverseEitherLeft(F<A, Either<B, R>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output on the left side of an either.
- traverseEitherLeft(F<A, Either<B, R>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output on the left side of an either.
- traverseEitherLeft(F<T, Either<C, R>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output on the left side of an either.
- traverseEitherRight(F<A, Either<L, B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output on the right side of an either.
- traverseEitherRight(F<A, Either<L, B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output on the right side of an either.
- traverseEitherRight(F<A, Either<L, B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output on the right side of an either.
- traverseEitherRight(F<A, Either<L, B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output on the right side of an either.
- traverseEitherRight(F<T, Either<L, C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output on the right side of an either.
- traverseF(F<A, F<C, B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a function.
- traverseF(F<A, F<C, B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as a function.
- traverseF(F<A, F<C, B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a function.
- traverseF(F<A, F<C, B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a function.
- traverseF(F<T, F<C, B>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a function.
- traverseIO(F<A, IO<B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as an IO.
- traverseIO(F<A, IO<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as an IO.
- traverseIO(F<A, IO<B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as an IO.
- traverseIO(F<A, IO<B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as an IO.
- traverseIO(F<A, IO<C>>) - Method in class fj.data.Either.LeftProjection
-
Anonymous bind through this projection.
- traverseIO(F<A, IO<X>>) - Method in class fj.data.Either3.LeftProjection
- traverseIO(F<B, IO<C>>) - Method in class fj.data.Either.RightProjection
-
Traverse with a function that has IO effect
- traverseIO(F<B, IO<C>>) - Method in class fj.P2
- traverseIO(F<B, IO<X>>) - Method in class fj.data.Either3.MiddleProjection
- traverseIO(F<C, IO<X>>) - Method in class fj.data.Either3.RightProjection
- traverseIO(F<T, IO<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as an IO.
- traverseIOLeft(F<A, IO<C>>) - Method in class fj.data.Either
-
Traversable instance of LeftProjection of Either for IO.
- traverseIORight(F<B, IO<C>>) - Method in class fj.data.Either
-
Traversable instance of RightProjection of Either for IO.
- traverseList(F<A, List<B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a list.
- traverseList(F<A, List<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as a list.
- traverseList(F<A, List<B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a list.
- traverseList(F<A, List<B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a list.
- traverseList(F<A, List<B>>) - Method in class fj.P1
-
Traversable instance of P1 for List
- traverseList(F<A, List<C>>) - Method in class fj.data.Either.LeftProjection
-
Traverse with function that produces List (non-determinism).
- traverseList(F<B, List<C>>) - Method in class fj.data.Either.RightProjection
-
Traverse with function that produces List (non-determinism).
- traverseList(F<B, List<C>>) - Method in class fj.P2
- traverseList(F<T, List<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a list.
- traverseList1(F<A, List<X>>) - Method in class fj.data.Either3.LeftProjection
- traverseList1(F<B, List<X>>) - Method in class fj.data.Either3.MiddleProjection
- traverseList1(F<C, List<X>>) - Method in class fj.data.Either3.RightProjection
- traverseListLeft(F<A, List<C>>) - Method in class fj.data.Either
-
Traversable instance of LeftProjection of Either for List.
- traverseListRight(F<B, List<C>>) - Method in class fj.data.Either
-
Traversable instance of RightProjection of Either for List.
- traverseOption(F<A, Option<B>>) - Method in class fj.data.List
-
Traverses through the List with the given function
- traverseOption(F<A, Option<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as an option.
- traverseOption(F<A, Option<B>>) - Method in class fj.data.Seq
-
Traverses through the Seq with the given function
- traverseOption(F<A, Option<B>>) - Method in class fj.data.Stream
-
Traverses through the Seq with the given function
- traverseOption(F<A, Option<B>>) - Method in class fj.P1
-
Traversable instance of P1 for Option
- traverseOption(F<A, Option<C>>) - Method in class fj.data.Either.LeftProjection
- traverseOption(F<A, Option<X>>) - Method in class fj.data.Either3.LeftProjection
- traverseOption(F<B, Option<C>>) - Method in class fj.data.Either.RightProjection
-
Traverse this right with the given function and collect the output as an option.
- traverseOption(F<B, Option<C>>) - Method in class fj.P2
- traverseOption(F<B, Option<X>>) - Method in class fj.data.Either3.MiddleProjection
- traverseOption(F<C, Option<X>>) - Method in class fj.data.Either3.RightProjection
- traverseOption(F<T, Option<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as an option.
- traverseOptionLeft(F<A, Option<C>>) - Method in class fj.data.Either
-
Traversable instance of LeftProjection of Either for Option.
- traverseOptionRight(F<B, Option<C>>) - Method in class fj.data.Either
-
Traversable instance of RightProjection of Either for Option.
- traverseP1(F<A, P1<B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a p1.
- traverseP1(F<A, P1<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as a P1.
- traverseP1(F<A, P1<B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a p1.
- traverseP1(F<A, P1<B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a p1.
- traverseP1(F<A, P1<C>>) - Method in class fj.data.Either.LeftProjection
-
Traverse this left with the given function and collect the output as a p1.
- traverseP1(F<A, P1<X>>) - Method in class fj.data.Either3.LeftProjection
- traverseP1(F<B, P1<C>>) - Method in class fj.data.Either.RightProjection
-
Traverse this right with the given function and collect the output as a p1.
- traverseP1(F<B, P1<X>>) - Method in class fj.data.Either3.MiddleProjection
- traverseP1(F<C, P1<X>>) - Method in class fj.data.Either3.RightProjection
- traverseP1(F<T, P1<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a P1.
- traversePromise(F<A, Promise<B>>) - Method in class fj.data.List
- traverseSeq(F<A, Seq<B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a seq.
- traverseSeq(F<A, Seq<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output a seq.
- traverseSeq(F<A, Seq<B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a seq.
- traverseSeq(F<A, Seq<B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a seq.
- traverseSeq(F<T, Seq<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a seq.
- traverseSet() - Method in class fj.data.Option
- traverseSet(Ord<B>, F<A, Set<B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a set; use the given ord to order the set.
- traverseSet(Ord<B>, F<A, Set<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as a set; use the given ord to order the set.
- traverseSet(Ord<B>, F<A, Set<B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a set; use the given ord to order the set.
- traverseSet(Ord<B>, F<A, Set<B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a set; use the given ord to order the set.
- traverseSet(Ord<E>, Ord<C>, F<T, Set<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a set; use the given success and failure value ords to order the set.
- traverseStream(F<A, Stream<B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a stream.
- traverseStream(F<A, Stream<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as a stream.
- traverseStream(F<A, Stream<B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a stream.
- traverseStream(F<A, Stream<B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a stream.
- traverseStream(F<A, Stream<B>>) - Method in class fj.P1
-
Traversable instance of P1 for Stream
- traverseStream(F<A, Stream<C>>) - Method in class fj.data.Either.LeftProjection
- traverseStream(F<A, Stream<X>>) - Method in class fj.data.Either3.LeftProjection
- traverseStream(F<B, Stream<C>>) - Method in class fj.data.Either.RightProjection
- traverseStream(F<B, Stream<C>>) - Method in class fj.P2
- traverseStream(F<B, Stream<X>>) - Method in class fj.data.Either3.MiddleProjection
- traverseStream(F<C, Stream<X>>) - Method in class fj.data.Either3.RightProjection
- traverseStream(F<T, Stream<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a stream.
- traverseStreamLeft(F<A, Stream<C>>) - Method in class fj.data.Either
-
Traversable instance of LeftProjection of Either for Stream.
- traverseStreamRight(F<B, Stream<C>>) - Method in class fj.data.Either
-
Traversable instance of RightProjection of Either for Stream.
- traverseTrampoline(F<A, Trampoline<B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a trampoline.
- traverseTrampoline(F<A, Trampoline<B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as a trampoline.
- traverseTrampoline(F<A, Trampoline<B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a trampoline.
- traverseTrampoline(F<A, Trampoline<B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a trampoline.
- traverseTrampoline(F<T, Trampoline<C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a trampoline.
- traverseV2(F<A, V2<B>>) - Method in class fj.data.List
- traverseValidation(F<A, Validation<E, B>>) - Method in class fj.data.Option
-
Traverse this option with the given function and collect the output as a validation.
- traverseValidation(F<A, Validation<E, B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a validation.
- traverseValidation(F<A, Validation<E, B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a validation.
- traverseValidation(F<A, Validation<E, B>>) - Method in class fj.P1
-
Traversable instance of P1 for Validation
- traverseValidation(F<T, Validation<E1, C>>) - Method in class fj.data.Validation
-
Traverse this validation with the given function and collect the output as a validation.
- traverseValidation(Semigroup<E>, F<A, Validation<E, B>>) - Method in class fj.data.List
-
Traverse this list with the given function and collect the output as a validation; use the given semigroup to reduce the errors.
- traverseValidation(Semigroup<E>, F<A, Validation<E, B>>) - Method in class fj.data.Seq
-
Traverse this seq with the given function and collect the output as a validation; use the given semigroup to reduce the errors.
- traverseValidation(Semigroup<E>, F<A, Validation<E, B>>) - Method in class fj.data.Stream
-
Traverse this stream with the given function and collect the output as a validation; use the given semigroup to reduce the errors.
- tree - Variable in class fj.data.TreeMap
- tree - Variable in class fj.data.TreeZipper
- Tree<A> - Class in fj.data
-
Provides a lazy, immutable, non-empty, multi-way tree (a rose tree).
- Tree(A, P1<Stream<Tree<A>>>) - Constructor for class fj.data.Tree
- Tree(Ord<A>, Set.Color, Set<A>, A, Set<A>) - Constructor for class fj.data.Set.Tree
- treeEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
Tree
type. - treeHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
Tree
type. - treeK() - Method in interface fj.F
-
Promotes this function to return its value in a Tree.
- treeM() - Method in interface fj.F2
-
Promotes this function to a function on Trees.
- treeMap(Ord<K>, P2<K, V>...) - Static method in class fj.data.TreeMap
-
Constructs a tree map from the given elements.
- TreeMap<K,V> - Class in fj.data
-
An immutable, in-memory map, backed by a red-black tree.
- TreeMap(Set<P2<K, Option<V>>>) - Constructor for class fj.data.TreeMap
- treeMapEqual(Equal<K>, Equal<V>) - Static method in class fj.Equal
- treeMapHash(Hash<K>, Hash<V>) - Static method in class fj.Hash
- treeMapShow(Show<K>, Show<V>) - Static method in class fj.Show
-
A show instance for the
TreeMap
type. - TreeSet_List() - Static method in class fj.data.Java
-
A function that converts tree sets to lists.
- treeShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Tree
type. - treeZipper() - Static method in class fj.data.TreeZipper
-
First-class constructor for tree zippers.
- treeZipper(Tree<A>, Stream<Tree<A>>, Stream<Tree<A>>, Stream<P3<Stream<Tree<A>>, A, Stream<Tree<A>>>>) - Static method in class fj.data.TreeZipper
-
Creates a new tree zipper given a currently selected tree, a forest on the left, a forest on the right, and a stream of parent contexts.
- TreeZipper<A> - Class in fj.data
-
Provides a zipper structure for rose trees, which is a Tree supplied with a location within that tree.
- TreeZipper(Tree<A>, Stream<Tree<A>>, Stream<Tree<A>>, Stream<P3<Stream<Tree<A>>, A, Stream<Tree<A>>>>) - Constructor for class fj.data.TreeZipper
- treeZipperEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
TreeZipper
type. - treeZipperHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
TreeZipper
type. - treeZipperK() - Method in interface fj.F
-
Promotes this function to return its value in a TreeZipper.
- TRUE_BIT - Static variable in class fj.data.hamt.BitSet
- Try - Class in fj
- Try() - Constructor for class fj.Try
- Try_F() - Static method in class fj.data.Conversions
- Try_F(Try1<A, B, Z>) - Static method in class fj.data.Conversions
- Try_IO() - Static method in class fj.data.Conversions
- Try_IO(Try0<A, Z>) - Static method in class fj.data.Conversions
- Try_SafeIO() - Static method in class fj.data.Conversions
- Try_SafeIO(Try0<A, Z>) - Static method in class fj.data.Conversions
- Try0<A,Z extends java.lang.Exception> - Interface in fj.function
-
A product of
A
which may throw anException
. - Try1<A,B,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function from
A
toB
that may throw anException
. - Try2<A,B,C,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function of arity-2 from
A
andB
toC
that may throw anException
. - Try3<A,B,C,D,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function of arity-3 from
A
,B
andC
toD
that may throw anException
. - Try4<A,B,C,D,E,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function of arity-4 from
A
,B
,C
andD
toE
that may throw anException
. - Try5<A,B,C,D,E,F,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function of arity-5 from
A
,B
,C
,D
andE
toF
that may throw anException
. - Try6<A,B,C,D,E,F,G,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function of arity-6 from
A
,B
,C
,D
,E
andF
toG
that may throw anException
. - Try7<A,B,C,D,E,F,G,H,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function of arity-7 from
A
,B
,C
,D
,E
,F
andG
toH
that may throw anException
. - Try8<A,B,C,D,E,F,G,H,I,Z extends java.lang.Exception> - Interface in fj.function
-
A transformation function of arity-8 from
A
,B
,C
,D
,E
,F
,G
andH
toI
that may throw anException
. - TryCatch0_Supplier() - Static method in class fj.data.Java8
- TryCatch0_Supplier(Try0<A, E>) - Static method in class fj.data.Java8
- TryCatch1_Function() - Static method in class fj.data.Java8
- TryCatch1_Function(Try1<A, B, E>) - Static method in class fj.data.Java8
- TryCatch2_BiFunction() - Static method in class fj.data.Java8
- TryCatch2_BiFunction(Try2<A, B, C, E>) - Static method in class fj.data.Java8
- TryEffect - Class in fj
- TryEffect() - Constructor for class fj.TryEffect
- TryEffect_P(TryEffect0<E>) - Static method in class fj.data.Conversions
- TryEffect0<Z extends java.lang.Exception> - Interface in fj.function
- TryEffect1<A,Z extends java.lang.Exception> - Interface in fj.function
- TryEffect2<A,B,Z extends java.lang.Exception> - Interface in fj.function
- TryEffect3<A,B,C,Z extends java.lang.Exception> - Interface in fj.function
- TryEffect4<A,B,C,D,Z extends java.lang.Exception> - Interface in fj.function
- TryEffect5<A,B,C,D,E,Z extends java.lang.Exception> - Interface in fj.function
- TryEffect6<A,B,C,D,E,F,Z extends java.lang.Exception> - Interface in fj.function
- TryEffect7<A,B,C,D,E,F,G,Z extends java.lang.Exception> - Interface in fj.function
- TryEffect8<A,B,C,D,E,F,G,H,Z extends java.lang.Exception> - Interface in fj.function
- tryNext() - Method in class fj.data.Zipper
-
Attempts to move the focus to the next element, or throws an error if there are no more elements.
- tryPrevious() - Method in class fj.data.Zipper
-
Attempts to move the focus to the previous element, or throws an error if there are no more elements.
- tryUpdate(A, F<A, A>) - Method in class fj.data.Set
- tuple() - Method in interface fj.F2
-
Uncurries this function to a function on tuples.
- tuple(F<A, F<B, C>>) - Static method in class fj.P2
-
Transforms a curried function of arity-2 to a function of a product-2
- tuple(F2<A, B, C>) - Static method in class fj.P2
-
Transforms an uncurried function of arity-2 to a function of a product-2
- two(A, A) - Method in class fj.data.fingertrees.MakeTree
-
A digit of two elements.
- Two<V,A> - Class in fj.data.fingertrees
-
A two-element prefix or suffix of a finger tree.
- Two(Measured<V, A>, V2<A>) - Constructor for class fj.data.fingertrees.Two
- typeParameterTree(Type) - Static method in class fj.Class
-
Provides type parameter information as a Tree of the type expression.
U
- u - Static variable in class fj.Unit
- uf(F<TreeZipper<A>, Option<TreeZipper<A>>>) - Method in class fj.data.TreeZipper
- uncons(B, F<A, F<P1<Stream<A>>, B>>) - Method in class fj.data.Stream
-
Performs a reduction on this stream using the given arguments.
- uncons(B, F2<A, FingerTree<V, A>, B>) - Method in class fj.data.fingertrees.FingerTree
-
Performs a reduction on this finger tree using the given arguments.
- uncons(F2<A, List<A>, B>, B) - Method in class fj.data.List
- uncurryF2() - Static method in class fj.Function
-
Uncurry a function of arity-2.
- uncurryF2(F<A, F<B, C>>) - Static method in class fj.Function
-
Uncurry a function of arity-2.
- uncurryF3() - Static method in class fj.Function
-
Uncurry a function of arity-3.
- uncurryF3(F<A, F<B, F<C, D>>>) - Static method in class fj.Function
-
Uncurry a function of arity-3.
- uncurryF4() - Static method in class fj.Function
-
Uncurry a function of arity-4.
- uncurryF4(F<A, F<B, F<C, F<D, E>>>>) - Static method in class fj.Function
-
Uncurry a function of arity-4.
- uncurryF5() - Static method in class fj.Function
-
Uncurry a function of arity-5.
- uncurryF5(F<A, F<B, F<C, F<D, F<E, F$>>>>>) - Static method in class fj.Function
-
Uncurry a function of arity-6.
- uncurryF6() - Static method in class fj.Function
-
Uncurry a function of arity-6.
- uncurryF6(F<A, F<B, F<C, F<D, F<E, F<F$, G>>>>>>) - Static method in class fj.Function
-
Uncurry a function of arity-6.
- uncurryF7() - Static method in class fj.Function
-
Uncurry a function of arity-7.
- uncurryF7(F<A, F<B, F<C, F<D, F<E, F<F$, F<G, H>>>>>>>) - Static method in class fj.Function
-
Uncurry a function of arity-7.
- uncurryF8() - Static method in class fj.Function
-
Uncurry a function of arity-8.
- uncurryF8(F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, I>>>>>>>>) - Static method in class fj.Function
-
Uncurry a function of arity-8.
- undefined() - Static method in class fj.Bottom
-
Returns an error to represent undefinedness in a computation.
- unfold(F<B, Option<P2<A, B>>>, B) - Static method in class fj.data.List
-
Unfolds across the given function starting at the given value to produce a list.
- unfold(F<B, Option<P2<A, B>>>, B) - Static method in class fj.data.Stream
-
Unfolds across the given function starting at the given value to produce a stream.
- unfoldTree(F<B, P2<A, P1<Stream<B>>>>) - Static method in class fj.data.Tree
-
Builds a tree from a seed value.
- unicodeIdentiferPart(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a unicode identifier part character.
- unicodeIdentiferPart(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a unicode identifier part character.
- unicodeIdentiferStart(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a unicode identifier start character.
- unicodeIdentiferStart(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a unicode identifier start character.
- union() - Static method in class fj.data.Set
-
A first class function for
Set.union(Set)
. - union(Set<A>) - Method in class fj.data.Set
-
Add all the elements of the given set to this set.
- union(TreeMap<K, V>) - Method in class fj.data.TreeMap
-
The expression
t1.union(t2)
takes the left-biased union oft1
andt2
. - union(Iterable<P2<K, V>>) - Method in class fj.data.TreeMap
-
The expression
t1.union(t2)
takes the left-biased union oft1
andt2
. - unit() - Static method in class fj.Unit
-
The only value of the unit type.
- unit(A) - Static method in class fj.control.db.DB
-
Constructs a database action that returns the given value completely intact.
- unit(A) - Static method in class fj.data.IOFunctions
- unit(A, Monoid<W>) - Static method in class fj.data.Writer
- unit(A, W, Monoid<W>) - Static method in class fj.data.Writer
- unit(B) - Static method in class fj.data.Writer
- unit(F<A, B>) - Static method in class fj.data.Reader
- unit(F<S, P2<S, A>>) - Static method in class fj.data.State
- Unit - Class in fj
-
The unit type which has only one value.
- Unit() - Constructor for class fj.Unit
- unitMonoid - Static variable in class fj.Monoid
-
A monoid for the Unit value.
- unitOrd - Static variable in class fj.Ord
-
An order instance for the
Unit
type. - units(F<S, S>) - Static method in class fj.data.State
- unitSemigroup - Static variable in class fj.Semigroup
-
A semigroup for the Unit value.
- unless(Boolean, IO<Unit>) - Static method in class fj.data.IOFunctions
- unlines() - Static method in class fj.function.Strings
- unlines(List<String>) - Static method in class fj.function.Strings
- unlines(Stream<LazyString>) - Static method in class fj.data.LazyString
-
Joins the given stream of lazy strings into one, separated by newlines.
- unlines_() - Static method in class fj.data.LazyString
- unlineShow(Show<A>) - Static method in class fj.Show
-
A show instance for streams that splits into lines.
- unqueue(B, F2<P2<K, A>, PriorityQueue<K, A>, B>) - Method in class fj.data.PriorityQueue
-
Performs a reduction on this priority queue using the given arguments.
- Unsafe() - Constructor for class fj.data.List.Unsafe
- untuple(F<P2<A, B>, C>) - Static method in class fj.P2
-
Transforms a function of a product-2 to an uncurried function or arity-2.
- unwords(Stream<LazyString>) - Static method in class fj.data.LazyString
-
Joins the given stream of lazy strings into one, separated by spaces.
- unzip(Array<P2<A, B>>) - Static method in class fj.data.Array
-
Transforms an array of pairs into an array of first components and an array of second components.
- unzip(List<P2<A, B>>) - Static method in class fj.data.List
-
Transforms a list of pairs into a list of first components and a list of second components.
- unzip(NonEmptyList<P2<A, B>>) - Static method in class fj.data.NonEmptyList
-
Transforms a non empty list of pairs into a non empty list of first components and a non empty list of second components.
- unzip(Stream<P2<A, B>>) - Static method in class fj.data.Stream
-
Transforms a stream of pairs into a stream of first components and a stream of second components.
- update(int, A) - Method in class fj.data.Seq
-
Replace the element at the given index with the supplied value.
- update(A, F<A, A>) - Method in class fj.data.Set
-
Updates, with the given function, the first element in the set that is equal to the given element, according to the order.
- update(K, F<V, V>) - Method in class fj.data.TreeMap
-
Modifies the value for the given key, if present, by applying the given function to it.
- update(K, F<V, V>, V) - Method in class fj.data.TreeMap
-
Modifies the value for the given key, if present, by applying the given function to it, or inserts the given value if the key is not present.
- upper(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a upper-case character.
- upper(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a upper-case character.
V
- v - Variable in class fj.control.parallel.Promise
- v - Variable in class fj.data.fingertrees.Deep
- v - Variable in class fj.data.fingertrees.Single
- v - Variable in class fj.data.hlist.HPre.HAnd
- v - Variable in class fj.data.hlist.HPre.HEq
- v - Variable in class fj.data.hlist.HPre.HOr
- v - Variable in class fj.data.Validation.FailProjection
- v - Variable in class fj.P1.ReferenceMemo
- v() - Method in class fj.data.hlist.HPre.HAnd
- v() - Method in class fj.data.hlist.HPre.HCond
- v() - Method in class fj.data.hlist.HPre.HEq
- v() - Method in class fj.data.hlist.HPre.HOr
- v(A, A) - Static method in class fj.data.vector.V
-
Puts elements in a vector-2.
- v(A, A, A) - Static method in class fj.data.vector.V
-
Puts elements in a vector-3.
- v(A, A, A, A) - Static method in class fj.data.vector.V
-
Puts elements in a vector-4.
- v(A, A, A, A, A) - Static method in class fj.data.vector.V
-
Puts elements in a vector-5.
- v(F0<A>, F0<A>) - Static method in class fj.data.vector.V
-
Puts elements in a vector-2.
- v(P1<A>, F0<A>, F0<A>) - Static method in class fj.data.vector.V
-
Puts elements in a vector-3.
- v(P1<A>, P1<A>, F0<A>, F0<A>) - Static method in class fj.data.vector.V
-
Puts elements in a vector-4.
- v(P1<A>, P1<A>, P1<A>, F0<A>, F0<A>) - Static method in class fj.data.vector.V
-
Puts elements in a vector-5.
- V - Class in fj.data.vector
-
Functions across vectors.
- V() - Constructor for class fj.data.vector.V
- v2() - Static method in class fj.data.vector.V
-
Returns a function that puts elements in a vector-2.
- V2<A> - Class in fj.data.vector
-
A vector-2.
- V2(P2<A, A>) - Constructor for class fj.data.vector.V2
- v2Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a vector-2.
- v2Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a vector-2.
- v2Show(Show<A>) - Static method in class fj.Show
-
A show instance for a vector-2.
- v3() - Static method in class fj.data.vector.V
-
Returns a function that puts elements in a vector-3.
- V3<A> - Class in fj.data.vector
-
A vector-3.
- V3(P1<A>, V2<A>) - Constructor for class fj.data.vector.V3
- v3Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a vector-3.
- v3Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a vector-3.
- v3Show(Show<A>) - Static method in class fj.Show
-
A show instance for a vector-3.
- v4() - Static method in class fj.data.vector.V
-
Returns a function that puts elements in a vector-4.
- V4<A> - Class in fj.data.vector
-
A vector-4.
- V4(P1<A>, V3<A>) - Constructor for class fj.data.vector.V4
- v4Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a vector-4.
- v4Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a vector-4.
- v4Show(Show<A>) - Static method in class fj.Show
-
A show instance for a vector-4.
- v5() - Static method in class fj.data.vector.V
-
Returns a function that puts elements in a vector-5.
- V5<A> - Class in fj.data.vector
-
A vector-5.
- V5(P1<A>, V4<A>) - Constructor for class fj.data.vector.V5
- v5Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a vector-5.
- v5Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a vector-5.
- v5Show(Show<A>) - Static method in class fj.Show
-
A show instance for a vector-5.
- V6<A> - Class in fj.data.vector
-
A vector-6.
- V6(P1<A>, V5<A>) - Constructor for class fj.data.vector.V6
- v6Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a vector-6.
- v6Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a vector-6.
- v6Show(Show<A>) - Static method in class fj.Show
-
A show instance for a vector-6.
- V7<A> - Class in fj.data.vector
-
A vector-7.
- V7(P1<A>, V6<A>) - Constructor for class fj.data.vector.V7
- v7Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a vector-7.
- v7Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a vector-7.
- v7Show(Show<A>) - Static method in class fj.Show
-
A show instance for a vector-7.
- V8<A> - Class in fj.data.vector
-
A vector-8.
- V8(P1<A>, V7<A>) - Constructor for class fj.data.vector.V8
- v8Equal(Equal<A>) - Static method in class fj.Equal
-
An equal instance for a vector-8.
- v8Hash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for a vector-8.
- v8Show(Show<A>) - Static method in class fj.Show
-
A show instance for a vector-8.
- val - Variable in class fj.data.Writer
- validation() - Method in class fj.data.Validation.FailProjection
-
Returns the underlying validation.
- validation() - Static method in class fj.data.Validation
-
Returns a function that constructs a validation with an either.
- validation(Either<E, T>) - Static method in class fj.data.Validation
-
Construct a validation using the given either value.
- validation(F<E, X>, F<T, X>) - Method in class fj.data.Validation
-
The catamorphism for validation.
- Validation<E,T> - Class in fj.data
-
Isomorphic to
Either
but has renamed functions and represents failure on the left and success on the right. - Validation(Either<E, T>) - Constructor for class fj.data.Validation
- Validation.FailProjection<E,T> - Class in fj.data
-
A failing projection of a validation.
- validationEqual(Equal<A>, Equal<B>) - Static method in class fj.Equal
-
An equal instance for the
Validation
type. - validationHash(Hash<A>, Hash<B>) - Static method in class fj.Hash
-
A hash instance for the
Validation
type. - validationOrd(Ord<A>, Ord<B>) - Static method in class fj.Ord
-
An order instance for the
Validation
type. - validationShow(Show<A>, Show<B>) - Static method in class fj.Show
-
A show instance for the
Validation
type. - value - Variable in class fj.control.Trampoline.Pure
- value - Variable in class fj.data.hamt.BitSet
- value - Variable in class fj.data.Natural
- value - Variable in class fj.P1.Memo
- value() - Method in class fj.data.Either.LeftProjection
-
The value of this projection or fails with a specialised error message.
- value() - Method in class fj.data.Either.RightProjection
-
The value of this projection or fails with a specialised error message.
- value() - Method in class fj.data.Eval.Always
- value() - Method in class fj.data.Eval.Later
- value() - Method in class fj.data.Eval.Now
- value() - Method in class fj.data.Eval.TrampolineEval
- value() - Method in class fj.data.Eval
-
Evaluates the computation and return its result.
- value() - Method in class fj.data.fingertrees.One
-
Returns the single element in this digit.
- value() - Method in class fj.data.fingertrees.Single
-
Returns the single element of this tree.
- value() - Method in class fj.data.Writer
- value() - Method in class fj.parser.Result
-
The parsed value.
- value(A) - Static method in class fj.parser.Parser
-
Constructs a parser that always returns the given value.
- valueE(F0<String>) - Method in class fj.data.Either.LeftProjection
-
Returns the value of this projection or fails with the given error message.
- valueE(F0<String>) - Method in class fj.data.Either.RightProjection
-
Returns the value of this projection or fails with the given error message.
- valueE(F0<String>) - Method in class fj.data.Option
-
Returns the value of this optional value or fails with the given message.
- valueE(String) - Method in class fj.data.Either.LeftProjection
-
Returns the value of this projection or fails with the given error message.
- valueE(String) - Method in class fj.data.Either.RightProjection
-
Returns the value of this projection or fails with the given error message.
- valueE(String) - Method in class fj.data.Option
-
Returns the value of this optional value or fails with the given message.
- valueOf(String) - Static method in enum fj.data.Set.Color
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fj.Digit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum fj.Ordering
-
Returns the enum constant of this type with the specified name.
- values() - Method in class fj.data.fingertrees.Four
-
Returns the elements of this digit as a vector.
- values() - Method in class fj.data.fingertrees.Three
-
Returns the elements of this digit as a vector.
- values() - Method in class fj.data.fingertrees.Two
-
Returns the elements of this digit as a vector.
- values() - Method in class fj.data.HashMap
-
Returns all values in this hash map.
- values() - Static method in enum fj.data.Set.Color
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class fj.data.TreeMap
-
Returns all values in this tree map.
- values() - Static method in enum fj.Digit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum fj.Ordering
-
Returns an array containing the constants of this enum type, in the order they are declared.
- vary() - Static method in class fj.Function
-
Simultaneously covaries and contravaries a function.
- vary(F<? super A, ? extends B>) - Static method in class fj.Function
-
Simultaneously covaries and contravaries a function.
- Vector_List() - Static method in class fj.data.Java
-
A function that converts vectors to lists.
- visitor(List<F<A, Option<B>>>, F0<B>, A) - Static method in class fj.function.Visitor
-
Returns the first value found in the list of visitors after application of the given value, otherwise returns the given default.
- Visitor - Class in fj.function
-
The essence of the visitor design pattern expressed polymorphically.
- Visitor() - Constructor for class fj.function.Visitor
- Void - Class in fj
-
A logically uninhabited data type.
- Void() - Constructor for class fj.Void
- voided(IO<A>) - Static method in class fj.data.IOFunctions
- vzip(V2<A>) - Method in class fj.data.vector.V2
-
Zips this vector with the given vector to produce a vector of vectors.
- vzip(V3<A>) - Method in class fj.data.vector.V3
-
Zips this vector with the given vector to produce a vector of vectors.
- vzip(V4<A>) - Method in class fj.data.vector.V4
-
Zips this vector with the given vector to produce a vector of vectors.
- vzip(V5<A>) - Method in class fj.data.vector.V5
-
Zips this vector with the given vector to produce a vector of vectors.
- vzip(V6<A>) - Method in class fj.data.vector.V6
-
Zips this vector with the given vector to produce a vector of vectors.
- vzip(V7<A>) - Method in class fj.data.vector.V7
-
Zips this vector with the given vector to produce a vector of vectors.
- vzip(V8<A>) - Method in class fj.data.vector.V8
-
Zips this vector with the given vector to produce a vector of vectors.
W
- waiting - Variable in class fj.control.parallel.Promise
- weakMemo() - Method in class fj.P1.Memo
- weakMemo() - Method in class fj.P1.SoftReferenceMemo
- weakMemo() - Method in class fj.P1
-
Like
memo
, but the memoized value is wrapped into aWeakReference
- weakMemo() - Method in class fj.P1.WeakReferenceMemo
- weakMemo(F0<A>) - Static method in class fj.P
-
Convert a F0 into a P1, using weak call-by-need semantic: function f is evaluated at first call to
P1._1()
and at each subsequent call if and only if the reference have been garbage collected. - WeakReferenceMemo(F0<A>) - Constructor for class fj.P1.WeakReferenceMemo
- when(Boolean, IO<Unit>) - Static method in class fj.data.IOFunctions
- whitespace(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a white-space character.
- whitespace(F0<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a white-space character.
- withs(F<S, S>) - Method in class fj.data.State
- words() - Method in class fj.data.LazyString
-
Splits this lazy string into words by spaces.
- wrap() - Static method in class fj.data.Array
-
First-class wrapper function for arrays.
- wrap() - Static method in class fj.data.IterableW
-
Provides a function that wraps the given iterable.
- wrap(Iterable<A>) - Static method in class fj.data.IterableW
-
Wraps the given iterable.
- writer(Connector) - Static method in class fj.control.db.DbState
-
Returns a new writer that writes the database via the given Connector.
- writer(String) - Static method in class fj.control.db.DbState
-
Creates a database state writer given a connection URL.
- Writer<W,A> - Class in fj.data
- Writer(A, W, Monoid<W>) - Constructor for class fj.data.Writer
- writerEqual(Equal<A>, Equal<B>) - Static method in class fj.Equal
X
- x - Variable in class fj.data.Set.Tree
- xmap(F<A, B>, F<B, A>) - Method in class fj.data.Enumerator
-
Invariant functor map over this enumerator.
- xmap(F<A, B>, F<B, A>) - Method in class fj.Monoid
-
Maps the given functions across this monoid as an invariant functor.
- xmap(F<A, B>, F<B, A>) - Method in class fj.Semigroup
-
Maps the given functions across this monoid as an invariant functor.
- xmap(F<P1<A>, P1<B>>, F<P1<B>, P1<A>>) - Method in class fj.control.parallel.Strategy
-
Maps the given bijective transformation across this strategy (Exponential Functor pattern).
- xmap(F<I, Z>, F<Z, I>) - Method in class fj.parser.Parser
-
Maps the parse input type through an invariant functor.
- xor - Static variable in class fj.function.Booleans
-
Curried form of logical xor (nonequivalence).
- xor(BitSet) - Method in class fj.data.hamt.BitSet
- xor(F<A, Boolean>, F<A, Boolean>) - Static method in class fj.function.Booleans
-
composes the given predicate using exclusive disjunction
Z
- z - Variable in class fj.data.hlist.HPre.HCond
- zapp(Stream<F<A, B>>) - Method in class fj.data.Stream
-
Zips this stream with the given stream of functions, applying each function in turn to the corresponding element in this stream to produce a new stream.
- zapp(Iterable<F<A, B>>) - Method in class fj.data.IterableW
-
Zips this iterable with the given iterable of functions, applying each function in turn to the corresponding element in this iterable to produce a new iterable.
- zero() - Method in class fj.data.fingertrees.Measured
-
Returns the identity measurement for the monoid.
- zero() - Method in class fj.Monoid
-
The zero value for this monoid.
- ZERO - Static variable in class fj.data.Natural
-
The natural number zero
- zip() - Static method in class fj.data.List
-
The first-class version of the zip function.
- zip(Array<B>) - Method in class fj.data.Array
-
Zips this array with the given array to produce an array of pairs.
- zip(List<B>) - Method in class fj.data.List
-
Zips this list with the given list to produce a list of pairs.
- zip(NonEmptyList<B>) - Method in class fj.data.NonEmptyList
-
Zips this non empty list with the given non empty list to produce a list of pairs.
- zip(Stream<B>) - Method in class fj.data.Stream
-
Zips this stream with the given stream to produce a stream of pairs.
- zip(V2<B>) - Method in class fj.data.vector.V2
-
Zips this vector with the given vector to produce a vector of pairs.
- zip(V3<B>) - Method in class fj.data.vector.V3
-
Zips this vector with the given vector to produce a vector of pairs.
- zip(V4<B>) - Method in class fj.data.vector.V4
-
Zips this vector with the given vector to produce a vector of pairs.
- zip(V5<B>) - Method in class fj.data.vector.V5
-
Zips this vector with the given vector to produce a vector of pairs.
- zip(V6<B>) - Method in class fj.data.vector.V6
-
Zips this vector with the given vector to produce a vector of pairs.
- zip(V7<B>) - Method in class fj.data.vector.V7
-
Zips this vector with the given vector to produce a vector of pairs.
- zip(V8<B>) - Method in class fj.data.vector.V8
-
Zips this vector with the given vector to produce a vector of pairs.
- zip(Iterable<B>) - Method in class fj.data.IterableW
-
Zips this iterable with the given iterable to produce a iterable of pairs.
- zipArrayM() - Method in interface fj.F2
-
Promotes this function to zip two arrays, applying the function lock-step over both Arrays.
- zipIndex() - Method in class fj.data.Array
-
Zips this array with the index of its element as a pair.
- zipIndex() - Method in class fj.data.IterableW
-
Zips this iterable with the index of its element as a pair.
- zipIndex() - Method in class fj.data.List
-
Zips this list with the index of its element as a pair.
- zipIndex() - Method in class fj.data.NonEmptyList
-
Zips this non empty list with the index of its element as a pair.
- zipIndex() - Method in class fj.data.Stream
-
Zips this stream with the index of its element as a pair.
- zipIterableM() - Method in interface fj.F2
-
Promotes this function to zip two iterables, applying the function lock-step over both iterables.
- zipListM() - Method in interface fj.F2
-
Promotes this function to zip two lists, applying the function lock-step over both lists.
- zipNelM() - Method in interface fj.F2
-
Promotes this function to zip two non-empty lists, applying the function lock-step over both lists.
- zipper() - Static method in class fj.data.Zipper
-
First-class constructor of zippers.
- zipper(Stream<A>, A, Stream<A>) - Static method in class fj.data.Zipper
-
Creates a new Zipper with the given streams before and after the focus, and the given focused item.
- zipper(P3<Stream<A>, A, Stream<A>>) - Static method in class fj.data.Zipper
-
Creates a new Zipper from the given triple.
- Zipper<A> - Class in fj.data
-
Provides a pointed stream, which is a non-empty zipper-like stream structure that tracks an index (focus) position in a stream.
- Zipper(Stream<A>, A, Stream<A>) - Constructor for class fj.data.Zipper
- zipperEqual(Equal<A>) - Static method in class fj.Equal
-
An equal instance for the
Zipper
type. - zipperHash(Hash<A>) - Static method in class fj.Hash
-
A hash instance for the
Zipper
type. - zipperK() - Method in interface fj.F
-
Promotes this function to return its value in a Zipper.
- zipSetM(Ord<C>) - Method in interface fj.F2
-
Promotes this function to zip two sets, applying the function lock-step over both sets.
- zipStreamM() - Method in interface fj.F2
-
Promotes this function to zip two streams, applying the function lock-step over both streams.
- zipTreeM() - Method in interface fj.F2
-
Promotes this function to zip two trees, applying the function lock-step over both trees.
- zipTreeZipperM() - Method in interface fj.F2
-
Promotes this function to zip two TreeZippers, applying the function lock-step over both zippers in all directions.
- zipWith() - Static method in class fj.data.List
-
Provides a first-class version of zipWith
- zipWith() - Static method in class fj.data.Stream
-
A first-class version of the zipWith function.
- zipWith(Trampoline<B>, F2<A, B, C>) - Method in class fj.control.Trampoline
-
Combines two trampolines so they run cooperatively.
- zipWith(Array<B>, F<A, F<B, C>>) - Method in class fj.data.Array
-
Zips this array with the given array using the given function to produce a new array.
- zipWith(Array<B>, F2<A, B, C>) - Method in class fj.data.Array
-
Zips this array with the given array using the given function to produce a new array.
- zipWith(List<B>, F<A, F<B, C>>) - Method in class fj.data.List
-
Zips this list with the given list using the given function to produce a new list.
- zipWith(List<B>, F<A, F<B, C>>) - Method in class fj.data.NonEmptyList
-
Zips this non empty list with the given non empty list using the given function to produce a new list.
- zipWith(List<B>, F2<A, B, C>) - Method in class fj.data.List
-
Zips this list with the given list using the given function to produce a new list.
- zipWith(List<B>, F2<A, B, C>) - Method in class fj.data.NonEmptyList
-
Zips this non empty list with the given non empty list using the given function to produce a new list.
- zipWith(Stream<B>, F<A, F<B, C>>) - Method in class fj.data.Stream
-
Zips this stream with the given stream using the given function to produce a new stream.
- zipWith(Stream<B>, F2<A, B, C>) - Method in class fj.data.Stream
-
Zips this stream with the given stream using the given function to produce a new stream.
- zipWith(Tree<B>, F<A, F<B, C>>) - Method in class fj.data.Tree
-
Zips this tree with another, using the given function.
- zipWith(Tree<B>, F2<A, B, C>) - Method in class fj.data.Tree
-
Zips this tree with another, using the given function.
- zipWith(TreeZipper<B>, F<A, F<B, C>>) - Method in class fj.data.TreeZipper
-
Zips this TreeZipper with another, applying the given function lock-step over both zippers in all directions.
- zipWith(TreeZipper<B>, F2<A, B, C>) - Method in class fj.data.TreeZipper
-
Zips this TreeZipper with another, applying the given function lock-step over both zippers in all directions.
- zipWith(Zipper<B>, F<A, F<B, C>>) - Method in class fj.data.Zipper
-
Zips this Zipper with another, applying the given function lock-step over both zippers in both directions.
- zipWith(Zipper<B>, F2<A, B, C>) - Method in class fj.data.Zipper
-
Zips this Zipper with another, applying the given function lock-step over both zippers in both directions.
- zipWith(F<A, F<B, C>>) - Method in class fj.data.Stream
-
Partially-applied version of zipWith.
- zipWith(F<A, F<B, C>>, V2<B>) - Method in class fj.data.vector.V2
-
Zips this vector with the given vector using the given function to produce a new vector.
- zipWith(F<A, F<B, C>>, V3<B>) - Method in class fj.data.vector.V3
-
Zips this vector with the given vector using the given function to produce a new vector.
- zipWith(F<A, F<B, C>>, V4<B>) - Method in class fj.data.vector.V4
-
Zips this vector with the given vector using the given function to produce a new vector.
- zipWith(F<A, F<B, C>>, V5<B>) - Method in class fj.data.vector.V5
-
Zips this vector with the given vector using the given function to produce a new vector.
- zipWith(F<A, F<B, C>>, V6<B>) - Method in class fj.data.vector.V6
-
Zips this vector with the given vector using the given function to produce a new vector.
- zipWith(F<A, F<B, C>>, V7<B>) - Method in class fj.data.vector.V7
-
Zips this vector with the given vector using the given function to produce a new vector.
- zipWith(F<A, F<B, C>>, V8<B>) - Method in class fj.data.vector.V8
-
Zips this vector with the given vector using the given function to produce a new vector.
- zipWith(Iterable<B>, F<A, F<B, C>>) - Method in class fj.data.IterableW
-
Zips this iterable with the given iterable using the given function to produce a new iterable.
- zipWith(Iterable<B>, F2<A, B, C>) - Method in class fj.data.IterableW
-
Zips this iterable with the given iterable using the given function to produce a new iterable.
- zipWithFocus() - Method in class fj.data.TreeZipper
-
Zips the nodes in this zipper with a boolean that indicates whether that node has focus.
- zipWithFocus() - Method in class fj.data.Zipper
-
Zips the elements of this zipper with a boolean that indicates whether that element has focus.
- zipZipperM() - Method in interface fj.F2
-
Promotes this function to zip two zippers, applying the function lock-step over both zippers in both directions.
_
- __(B) - Static method in class fj.data.$
-
Returns a function that given an argument, returns a function that ignores its argument.
- __1() - Static method in class fj.data.vector.V2
-
A first-class function to get the first element of a vector.
- __1() - Static method in class fj.data.vector.V3
-
A first-class function to get the first element of a vector.
- __1() - Static method in class fj.data.vector.V4
-
A first-class function to get the first element of a vector.
- __1() - Static method in class fj.data.vector.V5
-
A first-class function to get the first element of a vector.
- __1() - Static method in class fj.data.vector.V6
-
A first-class function to get the first element of a vector.
- __1() - Static method in class fj.data.vector.V7
-
A first-class function to get the first element of a vector.
- __1() - Static method in class fj.data.vector.V8
-
A first-class function to get the first element of a vector.
- __1() - Static method in class fj.P1
-
Returns a function that returns the first element of a product.
- __1() - Static method in class fj.P2
-
Returns a function that returns the first element of a product.
- __1() - Static method in class fj.P3
-
Returns a function that returns the first element of a product.
- __1() - Static method in class fj.P4
-
Returns a function that returns the first element of a product.
- __1() - Static method in class fj.P5
-
Returns a function that returns the first element of a product.
- __1() - Static method in class fj.P6
-
Returns a function that returns the first element of a product.
- __1() - Static method in class fj.P7
-
Returns a function that returns the first element of a product.
- __1() - Static method in class fj.P8
-
Returns a function that returns the first element of a product.
- __2() - Static method in class fj.data.vector.V2
-
A first-class function to get the second element of a vector.
- __2() - Static method in class fj.data.vector.V3
-
A first-class function to get the second element of a vector.
- __2() - Static method in class fj.data.vector.V4
-
A first-class function to get the second element of a vector.
- __2() - Static method in class fj.data.vector.V5
-
A first-class function to get the second element of a vector.
- __2() - Static method in class fj.data.vector.V6
-
A first-class function to get the second element of a vector.
- __2() - Static method in class fj.data.vector.V7
-
A first-class function to get the second element of a vector.
- __2() - Static method in class fj.data.vector.V8
-
A first-class function to get the second element of a vector.
- __2() - Static method in class fj.P2
-
Returns a function that returns the second element of a product.
- __2() - Static method in class fj.P3
-
Returns a function that returns the second element of a product.
- __2() - Static method in class fj.P4
-
Returns a function that returns the second element of a product.
- __2() - Static method in class fj.P5
-
Returns a function that returns the second element of a product.
- __2() - Static method in class fj.P6
-
Returns a function that returns the second element of a product.
- __2() - Static method in class fj.P7
-
Returns a function that returns the second element of a product.
- __2() - Static method in class fj.P8
-
Returns a function that returns the second element of a product.
- __3() - Static method in class fj.data.vector.V3
-
A first-class function to get the third element of a vector.
- __3() - Static method in class fj.data.vector.V4
-
A first-class function to get the third element of a vector.
- __3() - Static method in class fj.data.vector.V5
-
A first-class function to get the third element of a vector.
- __3() - Static method in class fj.data.vector.V6
-
A first-class function to get the third element of a vector.
- __3() - Static method in class fj.data.vector.V7
-
A first-class function to get the third element of a vector.
- __3() - Static method in class fj.data.vector.V8
-
A first-class function to get the third element of a vector.
- __3() - Static method in class fj.P3
-
Returns a function that returns the third element of a product.
- __3() - Static method in class fj.P4
-
Returns a function that returns the third element of a product.
- __3() - Static method in class fj.P5
-
Returns a function that returns the third element of a product.
- __3() - Static method in class fj.P6
-
Returns a function that returns the third element of a product.
- __3() - Static method in class fj.P7
-
Returns a function that returns the third element of a product.
- __3() - Static method in class fj.P8
-
Returns a function that returns the third element of a product.
- __4() - Static method in class fj.data.vector.V4
-
A first-class function to get the fourth element of a vector.
- __4() - Static method in class fj.data.vector.V5
-
A first-class function to get the fourth element of a vector.
- __4() - Static method in class fj.data.vector.V6
-
A first-class function to get the fourth element of a vector.
- __4() - Static method in class fj.data.vector.V7
-
A first-class function to get the fourth element of a vector.
- __4() - Static method in class fj.data.vector.V8
-
A first-class function to get the fourth element of a vector.
- __4() - Static method in class fj.P4
-
Returns a function that returns the fourth element of a product.
- __4() - Static method in class fj.P5
-
Returns a function that returns the fourth element of a product.
- __4() - Static method in class fj.P6
-
Returns a function that returns the fourth element of a product.
- __4() - Static method in class fj.P7
-
Returns a function that returns the fourth element of a product.
- __4() - Static method in class fj.P8
-
Returns a function that returns the fourth element of a product.
- __5() - Static method in class fj.data.vector.V5
-
A first-class function to get the fifth element of a vector.
- __5() - Static method in class fj.data.vector.V6
-
A first-class function to get the fifth element of a vector.
- __5() - Static method in class fj.data.vector.V7
-
A first-class function to get the fifth element of a vector.
- __5() - Static method in class fj.data.vector.V8
-
A first-class function to get the fifth element of a vector.
- __5() - Static method in class fj.P5
-
Returns a function that returns the fifth element of a product.
- __5() - Static method in class fj.P6
-
Returns a function that returns the fifth element of a product.
- __5() - Static method in class fj.P7
-
Returns a function that returns the fifth element of a product.
- __5() - Static method in class fj.P8
-
Returns a function that returns the fifth element of a product.
- __6() - Static method in class fj.data.vector.V6
-
A first-class function to get the sixth element of a vector.
- __6() - Static method in class fj.data.vector.V7
-
A first-class function to get the sixth element of a vector.
- __6() - Static method in class fj.data.vector.V8
-
A first-class function to get the sixth element of a vector.
- __6() - Static method in class fj.P6
-
Returns a function that returns the sixth element of a product.
- __6() - Static method in class fj.P7
-
Returns a function that returns the sixth element of a product.
- __6() - Static method in class fj.P8
-
Returns a function that returns the sixth element of a product.
- __7() - Static method in class fj.data.vector.V7
-
A first-class function to get the seventh element of a vector.
- __7() - Static method in class fj.data.vector.V8
-
A first-class function to get the seventh element of a vector.
- __7() - Static method in class fj.P7
-
Returns a function that returns the seventh element of a product.
- __7() - Static method in class fj.P8
-
Returns a function that returns the seventh element of a product.
- __8() - Static method in class fj.data.vector.V8
-
A first-class function to get the eighth element of a vector.
- __8() - Static method in class fj.P8
-
Returns a function that returns the eighth element of a product.
- _0 - fj.Digit
-
Zero.
- _1 - fj.Digit
-
One.
- _1() - Method in class fj.data.$
- _1() - Method in class fj.data.vector.V2
-
Returns the first element of this vector.
- _1() - Method in class fj.data.vector.V3
-
Returns the first element of this vector.
- _1() - Method in class fj.data.vector.V4
-
Returns the first element of this vector.
- _1() - Method in class fj.data.vector.V5
-
Returns the first element of this vector.
- _1() - Method in class fj.data.vector.V6
-
Returns the first element of this vector.
- _1() - Method in class fj.data.vector.V7
-
Returns the first element of this vector.
- _1() - Method in class fj.data.vector.V8
-
Returns the first element of this vector.
- _1() - Method in class fj.P1
-
Access the first element of the product.
- _1() - Method in class fj.P1.Memo
- _1() - Method in class fj.P1.ReferenceMemo
- _1() - Method in class fj.P2
-
Access the first element of the product.
- _1() - Static method in class fj.P2.Optic
-
Monomorphic lens targeted on _1.
- _1() - Method in class fj.P3
-
Access the first element of the product.
- _1() - Method in class fj.P4
-
Access the first element of the product.
- _1() - Method in class fj.P5
-
Access the first element of the product.
- _1() - Method in class fj.P6
-
Access the first element of the product.
- _1() - Method in class fj.P7
-
Access the first element of the product.
- _1() - Method in class fj.P8
-
Access the first element of the product.
- _1_() - Method in class fj.P2
-
Returns the 1-product projection over the first element.
- _1_() - Method in class fj.P3
-
Returns the 1-product projection over the first element.
- _1_() - Method in class fj.P4
-
Returns the 1-product projection over the first element.
- _1_() - Method in class fj.P5
-
Returns the 1-product projection over the first element.
- _1_() - Method in class fj.P6
-
Returns the 1-product projection over the first element.
- _1_() - Method in class fj.P7
-
Returns the 1-product projection over the first element.
- _1_() - Method in class fj.P8
-
Returns the 1-product projection over the first element.
- _1p() - Static method in class fj.P2.Optic
-
Polyomorphic lens targeted on _1.
- _2 - fj.Digit
-
Two.
- _2() - Method in class fj.data.vector.V2
-
Returns the second element of this vector.
- _2() - Method in class fj.data.vector.V3
-
Returns the second element of this vector.
- _2() - Method in class fj.data.vector.V4
-
Returns the second element of this vector.
- _2() - Method in class fj.data.vector.V5
-
Returns the second element of this vector.
- _2() - Method in class fj.data.vector.V6
-
Returns the second element of this vector.
- _2() - Method in class fj.data.vector.V7
-
Returns the second element of this vector.
- _2() - Method in class fj.data.vector.V8
-
Returns the second element of this vector.
- _2() - Method in class fj.P2
-
Access the second element of the product.
- _2() - Static method in class fj.P2.Optic
-
Monomorphic lens targeted on _1.
- _2() - Method in class fj.P3
-
Access the second element of the product.
- _2() - Method in class fj.P4
-
Access the second element of the product.
- _2() - Method in class fj.P5
-
Access the second element of the product.
- _2() - Method in class fj.P6
-
Access the second element of the product.
- _2() - Method in class fj.P7
-
Access the second element of the product.
- _2() - Method in class fj.P8
-
Access the second element of the product.
- _2_() - Method in class fj.P2
-
Returns the 1-product projection over the second element.
- _2_() - Method in class fj.P3
-
Returns the 1-product projection over the second element.
- _2_() - Method in class fj.P4
-
Returns the 1-product projection over the second element.
- _2_() - Method in class fj.P5
-
Returns the 1-product projection over the second element.
- _2_() - Method in class fj.P6
-
Returns the 1-product projection over the second element.
- _2_() - Method in class fj.P7
-
Returns the 1-product projection over the second element.
- _2_() - Method in class fj.P8
-
Returns the 1-product projection over the second element.
- _2p() - Static method in class fj.P2.Optic
-
Polyomorphic lens targeted on _2.
- _3 - fj.Digit
-
Three.
- _3() - Method in class fj.data.vector.V3
-
Returns the third element of this vector.
- _3() - Method in class fj.data.vector.V4
-
Returns the third element of this vector.
- _3() - Method in class fj.data.vector.V5
-
Returns the third element of this vector.
- _3() - Method in class fj.data.vector.V6
-
Returns the third element of this vector.
- _3() - Method in class fj.data.vector.V7
-
Returns the third element of this vector.
- _3() - Method in class fj.data.vector.V8
-
Returns the third element of this vector.
- _3() - Method in class fj.P3
-
Access the third element of the product.
- _3() - Method in class fj.P4
-
Access the third element of the product.
- _3() - Method in class fj.P5
-
Access the third element of the product.
- _3() - Method in class fj.P6
-
Access the third element of the product.
- _3() - Method in class fj.P7
-
Access the third element of the product.
- _3() - Method in class fj.P8
-
Access the third element of the product.
- _3_() - Method in class fj.P3
-
Returns the 1-product projection over the third element.
- _3_() - Method in class fj.P4
-
Returns the 1-product projection over the third element.
- _3_() - Method in class fj.P5
-
Returns the 1-product projection over the third element.
- _3_() - Method in class fj.P6
-
Returns the 1-product projection over the third element.
- _3_() - Method in class fj.P7
-
Returns the 1-product projection over the third element.
- _3_() - Method in class fj.P8
-
Returns the 1-product projection over the third element.
- _4 - fj.Digit
-
Four.
- _4() - Method in class fj.data.vector.V4
-
Returns the fourth element of this vector.
- _4() - Method in class fj.data.vector.V5
-
Returns the fourth element of this vector.
- _4() - Method in class fj.data.vector.V6
-
Returns the fourth element of this vector.
- _4() - Method in class fj.data.vector.V7
-
Returns the fourth element of this vector.
- _4() - Method in class fj.data.vector.V8
-
Returns the fourth element of this vector.
- _4() - Method in class fj.P4
-
Access the fourth element of the product.
- _4() - Method in class fj.P5
-
Access the fourth element of the product.
- _4() - Method in class fj.P6
-
Access the fourth element of the product.
- _4() - Method in class fj.P7
-
Access the fourth element of the product.
- _4() - Method in class fj.P8
-
Access the fourth element of the product.
- _4_() - Method in class fj.P4
-
Returns the 1-product projection over the fourth element.
- _4_() - Method in class fj.P5
-
Returns the 1-product projection over the fourth element.
- _4_() - Method in class fj.P6
-
Returns the 1-product projection over the fourth element.
- _4_() - Method in class fj.P7
-
Returns the 1-product projection over the fourth element.
- _4_() - Method in class fj.P8
-
Returns the 1-product projection over the fourth element.
- _5 - fj.Digit
-
Five.
- _5() - Method in class fj.data.vector.V5
-
Returns the fifth element of this vector.
- _5() - Method in class fj.data.vector.V6
-
Returns the fifth element of this vector.
- _5() - Method in class fj.data.vector.V7
-
Returns the fifth element of this vector.
- _5() - Method in class fj.data.vector.V8
-
Returns the fifth element of this vector.
- _5() - Method in class fj.P5
-
Access the fifth element of the product.
- _5() - Method in class fj.P6
-
Access the fifth element of the product.
- _5() - Method in class fj.P7
-
Access the fifth element of the product.
- _5() - Method in class fj.P8
-
Access the fifth element of the product.
- _5_() - Method in class fj.P5
-
Returns the 1-product projection over the fifth element.
- _5_() - Method in class fj.P6
-
Returns the 1-product projection over the fifth element.
- _5_() - Method in class fj.P7
-
Returns the 1-product projection over the fifth element.
- _5_() - Method in class fj.P8
-
Returns the 1-product projection over the fifth element.
- _6 - fj.Digit
-
Six.
- _6() - Method in class fj.data.vector.V6
-
Returns the sixth element of this vector.
- _6() - Method in class fj.data.vector.V7
-
Returns the sixth element of this vector.
- _6() - Method in class fj.data.vector.V8
-
Returns the sixth element of this vector.
- _6() - Method in class fj.P6
-
Access the sixth element of the product.
- _6() - Method in class fj.P7
-
Access the sixth element of the product.
- _6() - Method in class fj.P8
-
Access the sixth element of the product.
- _6_() - Method in class fj.P6
-
Returns the 1-product projection over the sixth element.
- _6_() - Method in class fj.P7
-
Returns the 1-product projection over the sixth element.
- _6_() - Method in class fj.P8
-
Returns the 1-product projection over the sixth element.
- _7 - fj.Digit
-
Seven.
- _7() - Method in class fj.data.vector.V7
-
Returns the seventh element of this vector.
- _7() - Method in class fj.data.vector.V8
-
Returns the seventh element of this vector.
- _7() - Method in class fj.P7
-
Access the seventh element of the product.
- _7() - Method in class fj.P8
-
Access the seventh element of the product.
- _7_() - Method in class fj.P7
-
Returns the 1-product projection over the seventh element.
- _7_() - Method in class fj.P8
-
Returns the 1-product projection over the seventh element.
- _8 - fj.Digit
-
Eight.
- _8() - Method in class fj.data.vector.V8
-
Returns the eighth element of this vector.
- _8() - Method in class fj.P8
-
Access the eighth element of the product.
- _8_() - Method in class fj.P8
-
Returns the 1-product projection over the eighth element.
- _9 - fj.Digit
-
Nine.
All Classes All Packages