- 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.
- 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(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.
- accumulate(Semigroup<E>, Validation<E, A>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- 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>, Validation<E, B>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- 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>, 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>, 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>, 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$>, 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>, 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$>, 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$>, 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>, 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$>, Validation<E, G>) - Method in class fj.data.Validation
-
Accumulates errors anonymously.
- act(A) - Method in class fj.control.parallel.Actor
-
Pass a message to this actor, applying its side-effect to the message.
- Actor<A> - Class in fj.control.parallel
-
Light weight actors for Java.
- actor(Strategy<Unit>, Effect<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(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(Effect<A>) - Method in class fj.control.parallel.ParModule
-
Creates a concurrent actor that is guaranteed to process only one message at a time.
- actor() - Method in class fj.control.parallel.ParModule
-
A first-class constructor of actors.
- 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(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.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 - Static variable in class fj.data.Natural
-
A function that adds two natural numbers.
- add(Natural) - Method in class fj.data.Natural
-
Add two natural numbers together.
- 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.
- addArg(Arg<?>) - Method in class fj.test.Result
-
Adds an argument to this result.
- 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(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha character.
- alpha(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha character.
- alphaNum(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha-numeric character.
- alphaNum(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an alpha-numeric character.
- and - Static variable in class fj.function.Booleans
-
Curried form of logical "and" (conjunction).
- 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(Property) - Method in class fj.test.Property
-
Performs a conjunction of this property with the given property.
- andThen(F<B, C>) - Method in class fj.data.Reader
-
- andThen(F<A, B>, F<B, C>) - Static method in class fj.F1Functions
-
Function composition flipped.
- andThen(F<A, B>) - Static method in class fj.F1Functions
-
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.
- 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(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(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() - Static method in class fj.data.hlist.HList.Apply
-
A function application operator for concatenating heterogeneous lists.
- append(A, B) - Method in class fj.data.hlist.HList.HAppend
-
Append a given heterogeneous list to another.
- append() - Static method in class fj.data.hlist.HList.HAppend
-
Returns a method for concatenating lists to the empty list.
- append(H) - Static method in class fj.data.hlist.HList.HAppend
-
Returns a method for appending lists to a nonempty heterogeneous list.
- append(IO<A>, IO<B>) - Static method in class fj.data.IOFunctions
-
- append(LazyString) - Method in class fj.data.LazyString
-
Appends the given lazy string to the end of this lazy string.
- append(String) - Method in class fj.data.LazyString
-
Appends the given 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 buffer to this buffer.
- 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(P1<Stream<A>>) - Method in class fj.data.Stream
-
Appends the given stream to this stream.
- 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(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<F<A, X>, B>) - Method in class fj.data.Either.LeftProjection
-
Function application on this projection's value.
- apply(Either<A, F<B, X>>) - Method in class fj.data.Either.RightProjection
-
Function application on this projection's value.
- Apply() - Constructor for class fj.data.hlist.HList.Apply
-
- apply(F$, A) - Method in class fj.data.hlist.HList.Apply
-
- apply(IO<A>, IO<F<A, B>>) - Static method in class fj.data.IOFunctions
-
- apply(Iterable<F<A, B>>) - Method in class fj.data.IterableW
-
Performs function application within an iterable (applicative functor pattern).
- apply(P1<Z>, P1<F<E, Z>>, P1<Z>) - Method in class fj.data.Iteratee.Input
-
- 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, B>, F<A, F<B, C>>) - Static method in class fj.F1Functions
-
Function application in an environment (Applicative Functor).
- apply(F<A, B>) - Static method in class fj.F1Functions
-
First-class function application in an environment.
- apply(A) - Static method in class fj.Function
-
Function application with the arguments flipped.
- 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(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(Gen<F<A, B>>) - Method in class fj.test.Gen
-
Function application within this generator to produce a new generator.
- arbAlphaNumString - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for string values with alpha-numeric characters.
- arbArray(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for arrays.
- arbArrayBlockingQueue(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for array blocking queues.
- arbArrayList(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for array lists.
- arbBigDecimal - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for big decimals.
- arbBigInteger - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for big integers.
- arbBitSet - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for bit sets.
- arbBoolean - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for boolean values.
- arbByte - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for byte values.
- arbByteBoundaries - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for byte values that checks boundary values
(0, 1, -1, max,
min, max - 1, min + 1)
with a frequency of 1% each then generates from
Arbitrary.arbByte
the remainder of the time (93%).
- arbCalendar - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for calendars.
- arbCharacter - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for character values.
- arbCharacterBoundaries - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for character values that checks boundary values
(max, min,
max - 1, min + 1)
with a frequency of 1% each then generates from
Arbitrary.arbCharacter
the remainder of the time (96%).
- arbConcurrentHashMap(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for concurrent hash maps.
- arbConcurrentLinkedQueue(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for concurrent linked queues.
- arbCopyOnWriteArrayList(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for copy-on-write array lists.
- arbCopyOnWriteArraySet(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for copy-on-write array sets.
- arbDate - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for dates.
- arbDelayQueue(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for delay queues.
- arbDouble - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for double values.
- arbDoubleBoundaries - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for double values that checks boundary values
(0, 1, -1, max,
min, min (normal), NaN, -infinity, infinity, max - 1)
with a frequency of 1% each then
generates from
Arbitrary.arbDouble
the remainder of the time (91%).
- arbEither(Arbitrary<A>, Arbitrary<B>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for the disjoint union.
- arbEnumMap(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for enum maps.
- arbEnumSet(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for enum sets.
- arbEnumValue(Class<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for a Java enumeration.
- arbF(Coarbitrary<A>, Arbitrary<B>) - Static method in class fj.test.Arbitrary
-
An arbitrary for functions.
- arbF2(Coarbitrary<A>, Coarbitrary<B>, Arbitrary<C>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-2.
- arbF2Invariant(Arbitrary<C>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-2.
- arbF3(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Arbitrary<D>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-3.
- arbF3Invariant(Arbitrary<D>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-3.
- arbF4(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Arbitrary<E>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-4.
- arbF4Invariant(Arbitrary<E>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-4.
- arbF5(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>, Arbitrary<F$>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-5.
- arbF5Invariant(Arbitrary<F$>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-5.
- arbF6(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>, Coarbitrary<F$>, Arbitrary<G>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-6.
- arbF6Invariant(Arbitrary<G>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-6.
- arbF7(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>, Coarbitrary<F$>, Coarbitrary<G>, Arbitrary<H>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-7.
- arbF7Invariant(Arbitrary<H>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-7.
- arbF8(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>, Coarbitrary<F$>, Coarbitrary<G>, Coarbitrary<H>, Arbitrary<I>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-8.
- arbF8Invariant(Arbitrary<I>) - Static method in class fj.test.Arbitrary
-
An arbitrary for function-8.
- arbFInvariant(Arbitrary<B>) - Static method in class fj.test.Arbitrary
-
An arbitrary for functions.
- arbFloat - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for float values.
- arbFloatBoundaries - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for float values that checks boundary values
(0, 1, -1, max,
min, NaN, -infinity, infinity, max - 1)
with a frequency of 1% each then generates from
Arbitrary.arbFloat
the remainder of the time (91%).
- arbGen(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for generators.
- arbGregorianCalendar - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for gregorian calendars.
- arbHashMap(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for hash maps.
- arbHashSet(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for hash sets.
- arbHashtable(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for hash tables.
- arbIdentityHashMap(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for identity hash maps.
- arbInteger - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for integer values.
- arbIntegerBoundaries - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for integer values that checks boundary values
(0, 1, -1,
max, min, max - 1, min + 1)
with a frequency of 1% each then generates from
Arbitrary.arbInteger
the remainder of the time (93%).
- Arbitrary<A> - Class in fj.test
-
The type used to generate arbitrary values of the given type parameter (A
).
- arbitrary(Gen<A>) - Static method in class fj.test.Arbitrary
-
Constructs and arbitrary with the given generator.
- arbLinkedBlockingQueue(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for linked blocking queues.
- arbLinkedHashMap(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for linked hash maps.
- arbLinkedHashSet(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for hash sets.
- arbLinkedList(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for linked lists.
- arbList(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for lists.
- arbLocale - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for locales.
- arbLong - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for long values.
- arbLongBoundaries - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for long values that checks boundary values
(0, 1, -1, max,
min, max - 1, min + 1)
with a frequency of 1% each then generates from
Arbitrary.arbLong
the remainder of the time (93%).
- arbOption(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for optional values.
- arbP1(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-1 values.
- arbP2(Arbitrary<A>, Arbitrary<B>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-2 values.
- arbP3(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-3 values.
- arbP4(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-4 values.
- arbP5(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-5 values.
- arbP6(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-6 values.
- arbP7(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-7 values.
- arbP8(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Arbitrary<H>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for product-8 values.
- arbPriorityBlockingQueue(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for priority blocking queues.
- arbPriorityQueue(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for priority queues.
- arbProperties - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for properties.
- arbShort - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for short values.
- arbShortBoundaries - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for short values that checks boundary values
(0, 1, -1, max,
min, max - 1, min + 1)
with a frequency of 1% each then generates from
Arbitrary.arbShort
the remainder of the time (93%).
- arbSQLDate - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for SQL dates.
- arbStack(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for stacks.
- arbStream(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for streams.
- arbString - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for string values.
- arbStringBuffer - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for string buffer values.
- arbStringBuilder - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for string builder values.
- arbSynchronousQueue(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for priority blocking queues.
- arbThrowable - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for throwables.
- arbThrowable(Arbitrary<String>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for throwables.
- arbTime - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for SQL times.
- arbTimestamp - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for SQL time stamps.
- arbTreeMap(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for tree maps.
- arbTreeSet(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for tree sets.
- arbUSASCIIString - Static variable in class fj.test.Arbitrary
-
An arbitrary implementation for string values with characters in the US-ASCII range.
- arbVector(Arbitrary<A>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for vectors.
- arbWeakHashMap(Arbitrary<K>, Arbitrary<V>) - Static method in class fj.test.Arbitrary
-
Returns an arbitrary implementation for weak hash maps.
- Arg<T> - Class in fj.test
-
An argument used in a property that may have undergone shrinking following falsification.
- arg(T, int) - Static method in class fj.test.Arg
-
Construct a property argument with the given value and number of shrinks.
- args() - Method in class fj.test.CheckResult
-
Returns the arguments if the result is one of; proven, falsified or exception during property
execution, otherwise, no arguments are returned.
- args() - Method in class fj.test.Result
-
Returns the potential arguments associated with this result.
- argShow - Static variable in class fj.test.Arg
-
The rendering of an argument (uses Object.toString()
for the argument value).
- Array<A> - Class in fj.data
-
Provides an interface to arrays.
- array(Class<A[]>) - Method in class fj.data.Array
-
Returns a copy of the underlying primitive array.
- array() - Method in class fj.data.Array
-
Returns a copy of the underlying primitive array.
- array(A...) - Static method in class fj.data.Array
-
Constructs an array from the given elements.
- 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.ImmutableProjection<A> - Class in fj.data
-
Projects an array by providing only operations which do not mutate.
- 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.
- ArrayBlockingQueue_List() - Static method in class fj.data.Java
-
A function that converts array blocking queues to lists.
- 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.
- arrayK(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function so that it returns its result in a Array.
- ArrayList_List() - Static method in class fj.data.Java
-
A function that converts array lists to lists.
- arrayM(F2<A, B, C>) - Static method in class fj.F2Functions
-
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.
- arrayShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Array
type.
- 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.
- asFunction() - Method in class fj.control.db.DB
-
Returns the callable-valued function projection of this database action.
- 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(List<Character>) - Static method in class fj.data.List
-
Returns a string from the given list of characters.
- asString() - Static method in class fj.data.List
-
A first-class asString
.
- asString(Stream<Character>) - Static method in class fj.data.Stream
-
Returns a string from the given stream of characters.
- 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.
- 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.
- 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.
- 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.
- 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(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.
- bimap() - Method in class fj.parser.Result
-
First-class bifunctor map.
- bind(F<A, DB<B>>) - Method in class fj.control.db.DB
-
Binds the given action across the result of this database action.
- 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(F<A, Promise<B>>) - Method in class fj.control.parallel.Promise
-
Binds the given function over this promise, with a final join.
- 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(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(F<A, Trampoline<B>>) - Method in class fj.control.Trampoline
-
Binds the given continuation to the result of this trampoline.
- 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(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(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(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<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(IO<A>, F<A, IO<B>>) - Static method in class fj.data.IOFunctions
-
- bind(F<A, T>) - Method in class fj.data.IterableW
-
Binds the given function across the wrapped Iterable 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() - Static method in class fj.data.IterableW
-
The first-class bind function over Iterable.
- 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(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(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>, 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>, 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>, 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>, 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$>, 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(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(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(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>, 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>, 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>, 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>, 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$>, 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() - Static method in class fj.data.Option
-
First-class bind function.
- bind(F<B, Reader<A, C>>) - Method in class fj.data.Reader
-
- bind(Ord<B>, F<A, Set<B>>) - Method in class fj.data.Set
-
Binds the given function across this set.
- 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(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(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>, 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>, 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>, 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>, 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$>, 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(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(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<A, B>, F<B, F<A, C>>) - Static method in class fj.F1Functions
-
Binds a given function across this function (Reader Monad).
- bind(F<A, B>) - Static method in class fj.F1Functions
-
First-class function binding.
- 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<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<A, P1<B>>) - Method in class fj.P1
-
Binds the given function to the value in a product-1 with a final join.
- 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(F<A, Parser<I, B, E>>) - Method in class fj.parser.Parser
-
Binds the given function across the parser 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(F<A, Gen<B>>) - Method in class fj.test.Gen
-
Binds the given function across this generator to produce a new generator.
- bind(Gen<B>, F<A, F<B, C>>) - Method in class fj.test.Gen
-
Binds the given function across this generator and the given generator to produce a new
generator.
- bind(Gen<B>, Gen<C>, F<A, F<B, F<C, D>>>) - Method in class fj.test.Gen
-
Binds the given function across this generator and the given generators to produce a new
generator.
- bind(Gen<B>, Gen<C>, Gen<D>, F<A, F<B, F<C, F<D, E>>>>) - Method in class fj.test.Gen
-
Binds the given function across this generator and the given generators to produce a new
generator.
- bind(Gen<B>, Gen<C>, Gen<D>, Gen<E>, F<A, F<B, F<C, F<D, F<E, F$>>>>>) - Method in class fj.test.Gen
-
Binds the given function across this generator and the given generators to produce a new
generator.
- bind(Gen<B>, Gen<C>, Gen<D>, Gen<E>, Gen<F$>, F<A, F<B, F<C, F<D, F<E, F<F$, G>>>>>>) - Method in class fj.test.Gen
-
Binds the given function across this generator and the given generators to produce a new
generator.
- bind(Gen<B>, Gen<C>, Gen<D>, Gen<E>, Gen<F$>, Gen<G>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, H>>>>>>>) - Method in class fj.test.Gen
-
Binds the given function across this generator and the given generators to produce a new
generator.
- bind(Gen<B>, Gen<C>, Gen<D>, Gen<E>, Gen<F$>, Gen<G>, Gen<H>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, I>>>>>>>>) - Method in class fj.test.Gen
-
Binds the given function across this generator and the given generators to produce a new
generator.
- 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
-
- BitSet_List - Static variable in class fj.data.Java
-
A function that converts bit sets to lists.
- Bool - Class in fj.test
-
A boolean wrapper that works well with properties.
- bool(boolean) - Static method in class fj.test.Bool
-
Construct a Bool
from the given value.
- 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.
- booleanShow - Static variable in class fj.Show
-
A show instance for the boolean
type.
- Bottom - Class in fj
-
Represents the bottom _|_ value.
- bottomUp(Tree<A>, F<P2<A, Stream<B>>, B>) - Static method in class fj.data.Tree
-
- 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.
- callable(A) - Static method in class fj.control.parallel.Callables
-
Returns a callable that completely preserves the argument.
- callable(Exception) - Static method in class fj.control.parallel.Callables
-
Returns a callable that throws the given exception.
- callable() - Static method in class fj.control.parallel.Callables
-
Provides a transformation from a value to a Callable that completely preserves that value.
- callable(F<A, B>) - Static method in class fj.control.parallel.Callables
-
Wraps a given function's return value in a Callable.
- Callables - Class in fj.control.parallel
-
Monadic functions and conversion methods for java.util.concurrent.Callable.
- callableStrategy(Strategy<Callable<A>>) - Static method in class fj.control.parallel.Strategy
-
Provides a normalising strategy that fully evaluates its Callable argument.
- Category - Annotation Type in fj.test.reflect
-
Specifies the categories of a
property
, which are the union of
categories specified on the enclosing class and the categories specified on the method or field
that make up the property.
- character(P1<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) - 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(P1<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(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 - Class in fj.function
-
First-class functions on Characters.
- characters(P1<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, 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(P1<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(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.
- charAt(int) - Method in class fj.data.LazyString
-
Returns the caracter at the specified index.
- charChunkReader() - Static method in class fj.data.IOFunctions
-
- charChunkReader2() - Static method in class fj.data.IOFunctions
-
- 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.
- check(Rand, int, int, int, int) - Method in class fj.test.Property
-
Checks this property using the given arguments and produces a result.
- check(int, int, int, int) - Method in class fj.test.Property
-
- check(Rand) - Method in class fj.test.Property
-
Checks this property using the given random generator, 100 minimum successful checks, 500
maximum discarded tests, minimum size of 0, maximum size of 100.
- check(Rand, int, int) - Method in class fj.test.Property
-
Checks this property using the given random generator, 100 minimum successful checks, 500
maximum discarded tests, the given minimum size and the given maximum size.
- check(int, int) - Method in class fj.test.Property
-
Checks this property using a
standard random generator
, 100 minimum
successful checks, 500 maximum discarded tests and the given arguments to produce a result.
- check() - Method in class fj.test.Property
-
Checks this property using a
standard random generator
, 100 minimum
successful checks, 500 maximum discarded tests, minimum size of 0, maximum size of 100.
- Check - Class in fj.test.reflect
-
Functions for checking properties in a class that are found reflectively and according to various
annotations.
- check(List<Class<T>>, String...) - Static method in class fj.test.reflect.Check
-
- check(List<Class<T>>, List<String>) - Static method in class fj.test.reflect.Check
-
- check(List<Class<T>>, Rand, String...) - Static method in class fj.test.reflect.Check
-
Returns the results and names of checking the properties on the given classes.
- check(List<Class<T>>, Rand, List<String>) - Static method in class fj.test.reflect.Check
-
Returns the results and names of checking the properties on the given classes.
- check(Class<T>, String...) - Static method in class fj.test.reflect.Check
-
- check(Class<T>, List<String>) - Static method in class fj.test.reflect.Check
-
- check(Class<T>, Rand, String...) - Static method in class fj.test.reflect.Check
-
Returns the results and names of checking the properties on the given class.
- check(Class<T>, Rand, List<String>) - Static method in class fj.test.reflect.Check
-
Returns the results and names of checking the properties on the given class.
- CheckParams - Annotation Type in fj.test.reflect
-
Specifies the check parameters on a
Property
property with typical defaults.
- CheckResult - Class in fj.test
-
An enumeration of the possible results after checking a property.
- choose(int, int) - Static method in class fj.test.Gen
-
Returns a generator that produces values between the given range (inclusive).
- choose(double, double) - Static method in class fj.test.Gen
-
Returns a generator that produces values between the given range (inclusive).
- choose(long, int, int) - Method in class fj.test.Rand
-
Randomly chooses a value between the given range (inclusive).
- choose(int, int) - Method in class fj.test.Rand
-
Randomly chooses a value between the given range (inclusive).
- choose(long, double, double) - Method in class fj.test.Rand
-
Randomly chooses a value between the given range (inclusive).
- choose(double, double) - Method in class fj.test.Rand
-
Randomly chooses a value between the given range (inclusive).
- 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.
- 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.
- closeReader - Static variable in class fj.data.IOFunctions
-
- closeReader(Reader) - Static method in class fj.data.IOFunctions
-
- coarbArray(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for arrays.
- coarbArrayBlockingQueue(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for array blocking queues.
- coarbArrayList(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for array lists.
- coarbBigDecimal - Static variable in class fj.test.Coarbitrary
-
- coarbBigInteger - Static variable in class fj.test.Coarbitrary
-
- coarbBitSet - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for bit sets.
- coarbBoolean - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for booleans.
- coarbByte - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for bytes.
- coarbCalendar - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for calendars.
- coarbCharacter - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for characters.
- coarbConcurrentHashMap(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for concurrent hash maps.
- coarbConcurrentLinkedQueue(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for concurrent linked queues.
- coarbCopyOnWriteArrayList(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for copy-on-write array lists.
- coarbCopyOnWriteArraySet(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for copy-on-write array sets.
- coarbDate - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for dates.
- coarbDelayQueue(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for delay queues.
- coarbDouble - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for doubles.
- coarbEither(Coarbitrary<A>, Coarbitrary<B>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for the disjoint union.
- coarbEnumMap(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for enum maps.
- coarbEnumSet(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for enum sets.
- coarbF(Arbitrary<A>, Coarbitrary<B>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function.
- coarbF2(Arbitrary<A>, Arbitrary<B>, Coarbitrary<C>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function-2.
- coarbF3(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Coarbitrary<D>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function-3.
- coarbF4(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Coarbitrary<E>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function-4.
- coarbF5(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Coarbitrary<F$>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function-5.
- coarbF6(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Coarbitrary<G>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function-6.
- coarbF7(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Coarbitrary<H>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function-7.
- coarbF8(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Arbitrary<H>, Coarbitrary<I>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for a function-8.
- coarbFloat - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for floats.
- coarbGregorianCalendar - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for gregorian calendars.
- coarbHashMap(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for hash maps.
- coarbHashSet(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for hash sets.
- coarbHashtable(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for hash tables.
- coarbIdentityHashMap(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for identity hash maps.
- coarbInteger - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for integers.
- Coarbitrary<A> - Class in fj.test
-
Transforms a type and a generator to produce a new generator.
- Coarbitrary() - Constructor for class fj.test.Coarbitrary
-
- coarbitrary(A, Gen<B>) - Method in class fj.test.Coarbitrary
-
Transforms the given value and generator to a new generator with a high probability of being
independent.
- coarbitrary(A) - Method in class fj.test.Coarbitrary
-
- coarbLinkedBlockingQueue(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for linked blocking queues.
- coarbLinkedHashMap(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for linked hash maps.
- coarbLinkedHashSet(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for linked hash sets.
- coarbLinkedList(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for linked lists.
- coarbList(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for lists.
- coarbLong - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for longs.
- coarbOption(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for the optional value.
- coarbP1(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-1 values.
- coarbP2(Coarbitrary<A>, Coarbitrary<B>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-2 values.
- coarbP3(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-3 values.
- coarbP4(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-4 values.
- coarbP5(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-5 values.
- coarbP6(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>, Coarbitrary<F$>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-6 values.
- coarbP7(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>, Coarbitrary<F$>, Coarbitrary<G>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-7 values.
- coarbP8(Coarbitrary<A>, Coarbitrary<B>, Coarbitrary<C>, Coarbitrary<D>, Coarbitrary<E>, Coarbitrary<F$>, Coarbitrary<G>, Coarbitrary<H>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for product-8 values.
- coarbPriorityBlockingQueue(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for priority blocking queues.
- coarbPriorityQueue(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for priority queues.
- coarbProperties - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for properties.
- coarbShort - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for shorts.
- coarbSQLDate - Static variable in class fj.test.Coarbitrary
-
- coarbStack(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for stacks.
- coarbStream(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for streams.
- coarbString - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for strings.
- coarbStringBuffer - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for string buffers.
- coarbStringBuilder - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for string builders.
- coarbSynchronousQueue(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for synchronous queues.
- coarbThrowable - Static variable in class fj.test.Coarbitrary
-
A coarbitrary for throwables.
- coarbThrowable(Coarbitrary<String>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for throwables.
- coarbTime - Static variable in class fj.test.Coarbitrary
-
- coarbTimestamp - Static variable in class fj.test.Coarbitrary
-
- coarbTreeMap(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for tree maps.
- coarbTreeSet(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for tree sets.
- coarbVector(Coarbitrary<A>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for vectors.
- coarbWeakHashMap(Coarbitrary<K>, Coarbitrary<V>) - Static method in class fj.test.Coarbitrary
-
A coarbitrary for weak hash maps.
- 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
-
- 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(Collection<A>) - Static method in class fj.data.Java
-
- Collection_List() - Static method in class fj.data.Java
-
- comap(F<B, A>) - Method in class fj.control.parallel.Actor
-
Contravariant functor pattern.
- comap(F<P1<A>, P1<A>>) - Method in class fj.control.parallel.Strategy
-
Maps the given transformation across this strategy's codomain (Invariant Functor pattern).
- comap(F<B, A>) - Method in class fj.Effect
-
A contra-variant functor on effect.
- comap(F<B, A>) - Method in class fj.Equal
-
Maps the given function across this equal as a contra-variant functor.
- comap(F<B, A>) - Method in class fj.Hash
-
Maps the given function across this hash as a contra-variant functor.
- comap(F<B, A>) - Method in class fj.Ord
-
Maps the given function across this ord as a contra-variant functor.
- comap(F<B, A>) - Method in class fj.Show
-
Maps the given function across this show as a contra-variant functor.
- comap(F<B, A>) - Method in class fj.test.Coarbitrary
-
Co-maps this coarbitrary using the given function.
- comapActor(F<A, B>) - Static method in class fj.F1Functions
-
Returns a function that comaps over a given actor.
- comapEqual(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over an Equal as a contravariant functor.
- comapHash(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a Hash as a contravariant functor.
- comapShow(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a Show as a contravariant functor.
- 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, A) - Method in class fj.Ord
-
Returns an ordering for the given arguments.
- 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(F<B, A>) - Method in class fj.test.Coarbitrary
-
Composes the given function with this coarbitrary to produce a new coarbitrary.
- compose2(F<C, D>, F<A, F<B, C>>) - Static method in class fj.Function
-
Function composition.
- 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(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() - Static method in class fj.data.hlist.HList.Apply
-
An operator for the construction of heterogeneous lists.
- cons(E, L) - Static method in class fj.data.hlist.HList
-
Returns a heterogeneous list consisting of an element and another list.
- cons(A) - Method in class fj.data.List
-
Prepends (cons) the given element to this list to product a new list.
- 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(List<A>) - Static method in class fj.data.List
-
Returns a function that prepends a value to the given list.
- 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) - 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() - 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, P1<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(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_() - Static method in class fj.data.List
-
- cons_(A) - Static method in class fj.data.List
-
Returns a function that prepends the given value to a 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.
- conss(A) - Method in class fj.data.List
-
Prepends (cons) the given element to this list to product a new list.
- constant(B) - Static method in class fj.data.$
-
- constant(B) - Static method in class fj.data.Reader
-
- constant(A) - Static method in class fj.data.State
-
- constant() - Static method in class fj.Function
-
Returns a function that given an argument, returns a function that ignores its argument.
- constant(B) - Static method in class fj.Function
-
Returns a function that ignores its argument to constantly produce the given value.
- constant() - Method in class fj.P1
-
Returns a constant function that always uses this value.
- 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(K) - Method in class fj.data.HashMap
-
Determines if the given key value exists in this hash map.
- 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.TreeMap
-
Determines if the given key value exists in this tree map.
- contains - Static variable in class fj.function.Strings
-
A curried version of String.contains(CharSequence)
.
- contramap(F<A, B>, F<C, A>) - Static method in class fj.F1Functions
-
- contramap(F2<A, B, C>, F<X, A>, F<Y, B>) - Static method in class fj.F2Functions
-
- contramapFirst(F2<A, B, C>, F<Z, A>) - Static method in class fj.F2Functions
-
- contramapSecond(F2<A, B, C>, F<Z, B>) - Static method in class fj.F2Functions
-
- Conversions - Class in fj.data
-
Functions that convert between data structure types.
- copyOf(U[], int, Class<? extends T[]>) - Static method in class fj.data.Array
-
- copyOf(T[], int) - 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(F2<A, B, C>) - Static method in class fj.F2Functions
-
Curries this wrapped function to a wrapped function of arity-1 that returns another wrapped function.
- 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.
- curry(F<A, B>) - Static method in class fj.P1
-
Promotes the given function so that it returns its value in a P1.
- 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.
- e(A) - Method in class fj.Effect
-
- e() - Method in class fj.Effect
-
Returns a function for the given effect.
- effect(Effect<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() - Method in class fj.control.parallel.ParModule
-
A first-class constructor of concurrent effects, as actors that don't guarantee ordering of messages.
- Effect<A> - Class in fj
-
Represents a side-effect.
- Effect() - Constructor for class fj.Effect
-
- 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() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from a Callable to an Either.
- Either<A,B> - Class in fj.data
-
The Either
type represents a value of one of two possible types (a disjoint union).
- either(F<A, X>, F<B, X>) - Method in class fj.data.Either
-
The catamorphism for 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() - Static method in class fj.data.Validation
-
Returns a function that constructs an either with a validation.
- Either.LeftProjection<A,B> - Class in fj.data
-
A left projection of an either value.
- Either.RightProjection<A,B> - Class in fj.data
-
A right projection of an either value.
- 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.
- 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(F<A, B>) - Static method in class fj.F1Functions
-
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(F<A, B>) - Static method in class fj.F1Functions
-
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
- element(P1<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(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.
- elements(A...) - Static method in class fj.test.Gen
-
Returns a generator that produces values from the given arguments.
- elemFrequency(List<P2<Integer, A>>) - Static method in class fj.test.Gen
-
Returns a generator that produces values from the given frequency and value pairs.
- eMessage() - Static method in class fj.Bottom
-
A function that returns the getMessage
for a throwable.
- empty() - Static method in class fj.data.Array
-
Returns an empty array.
- Empty<V,A> - Class in fj.data.fingertrees
-
The empty tree.
- empty() - Method in class fj.data.fingertrees.MakeTree
-
Constructs an empty tree.
- empty() - Static method in class fj.data.Iteratee.Input
-
Input that has no values available
- empty - Static variable in class fj.data.LazyString
-
The empty string.
- empty() - Static method in class fj.data.List.Buffer
-
An empty buffer.
- empty() - Static method in class fj.data.Seq
-
The empty sequence.
- 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() - Static method in class fj.test.Shrink
-
Returns a shrink strategy that cannot be reduced further.
- endsWith(LazyString) - Method in class fj.data.LazyString
-
Returns true if the given lazy string is a suffix of this lazy string.
- 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>>>) - 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>) - Static method in class fj.data.Enumerator
-
Construct an 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(K, K) - Method in class fj.data.HashMap
-
Compare two key values for equality using the underlying equality strategy.
- eq(A, A) - Method in class fj.data.HashSet
-
Compare two values for equality using the underlying equality strategy.
- eq(HPre.HZero, HPre.HZero) - Static method in class fj.data.hlist.HPre.HEq
-
Zero is equal to itself.
- 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.HSucc<N>, HPre.HZero) - Static method in class fj.data.hlist.HPre.HEq
-
Zero is not equal to anything other than zero.
- 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(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 - Static variable in class fj.Equal
-
An equal instance for lazy strings.
- eq(A, A) - Method in class fj.Equal
-
Returns true
if the two given arguments are equal, false
otherwise.
- 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.Ord
-
Returns true
if the given arguments are equal, false
otherwise.
- Equal<A> - Class in fj
-
Tests for equality between two objects.
- equal(F<A, F<A, Boolean>>) - Static method in class fj.Equal
-
Constructs an equal instance from the given function.
- equal() - Method in class fj.Ord
-
Returns an Equal
for this order.
- 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.
- 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(Effect<Error>) - Method in class fj.control.parallel.Strategy
-
Provides an error-handling strategy.
- errorStrategy(Strategy<A>, Effect<Error>) - Static 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(S) - Method in class fj.data.State
-
- even - Static variable in class fj.function.Doubles
-
Evenness.
- even - Static variable in class fj.function.Integers
-
Evenness.
- exception() - Method in class fj.test.CheckResult
-
Returns the execption if the result is one of; exception during property execution or exception
during argument value generation, otherwise, no exception are returned.
- exception(P1<Property>) - Static method in class fj.test.Property
-
Returns a property that has a result of exception, if the evaluation of the given property
throws an exception; otherwise, the given property is returned.
- exception() - Method in class fj.test.Result
-
Returns the potential exception associated with this result.
- exception(List<Arg<?>>, Throwable) - Static method in class fj.test.Result
-
Returns an exception result.
- 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.
- exhausted(int, int) - Static method in class fj.test.CheckResult
-
Returns a result that the property been exhausted in checking.
- 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<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<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<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.
- 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.
- extend(E) - Method in class fj.data.hlist.HList
-
Extends (cons) this list by prepending the given element, returning a new list.
- extend(X) - Method in class fj.data.hlist.HList.HCons
-
- extend(E) - Method in class fj.data.hlist.HList.HNil
-
- 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() - 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(A) - Method in class fj.data.Reader
-
- f() - Method in class fj.data.Validation
-
Returns a failing projection of this validation.
- f(F<A, Unit>) - Static method in class fj.Effect
-
- F<A,B> - Interface in fj
-
A transformation or function from A
to B
.
- f(A) - Method in interface fj.F
-
Transform A
to B
.
- f(F<A, B>, A) - Static method in class fj.F1Functions
-
Partial application.
- f(A, B) - Method in interface fj.F2
-
Transform A
and B
to C
.
- f(F2<A, B, C>, A) - Static method in class fj.F2Functions
-
Partial application.
- f(A, B, C) - Method in interface fj.F3
-
Transform A
, B
and C
to D
.
- f(F3<A, B, C, D>, A) - Static method in class fj.F3Functions
-
Partial application.
- f(A, B, C, D) - Method in interface fj.F4
-
Transform A
, B
, C
and D
to E
.
- f(F4<A, B, C, D, E>, A) - Static method in class fj.F4Functions
-
Partial application.
- f(A, B, C, D, E) - Method in interface fj.F5
-
Transform A
, B
, C
, D
and E
to
F$
.
- f(F5<A, B, C, D, E, F$>, A) - Static method in class fj.F5Functions
-
Partial application.
- f(A, B, C, D, E, F$) - Method in interface fj.F6
-
Transform A
, B
, C
, D
, E
and
F$
to G
.
- f(F6<A, B, C, D, E, F$, G>, A) - Static method in class fj.F6Functions
-
Partial application.
- f(A, B, C, D, E, F$, G) - Method in interface fj.F7
-
Transform A
, B
, C
, D
, E
,
F$
and G
to H
.
- f(F7<A, B, C, D, E, F$, G, H>, A) - Static method in class fj.F7Functions
-
Partial application.
- f(A, B, C, D, E, F$, G, H) - Method in interface fj.F8
-
Transform A
, B
, C
, D
, E
,
F$
, G
and H
to I
.
- f(F8<A, B, C, D, E, F$, G, H, I>, A) - Static method in class fj.F8Functions
-
Partial application.
- f(TryCatch0<A, Z>) - Static method in class fj.Try
-
- f(TryCatch1<A, B, Z>) - Static method in class fj.Try
-
- f(TryCatch2<A, B, C, Z>) - Static method in class fj.Try
-
- f(TryCatch3<A, B, C, D, Z>) - Static method in class fj.Try
-
- f(TryCatch4<A, B, C, D, E, Z>) - Static method in class fj.Try
-
- f(TryCatch5<A, B, C, D, E, F$, Z>) - Static method in class fj.Try
-
- f(TryCatch6<A, B, C, D, E, F$, G, Z>) - Static method in class fj.Try
-
- f(TryCatch7<A, B, C, D, E, F$, G, H, Z>) - Static method in class fj.Try
-
- f(TryCatch8<A, B, C, D, E, F$, G, H, I, Z>) - Static method in class fj.Try
-
- f() - Method in interface fj.TryCatch0
-
- f(A) - Method in interface fj.TryCatch1
-
- f(A, B) - Method in interface fj.TryCatch2
-
- f(A, B, C) - Method in interface fj.TryCatch3
-
- f(A, B, C, D) - Method in interface fj.TryCatch4
-
- f(A, B, C, D, E) - Method in interface fj.TryCatch5
-
- f(A, B, C, D, E, F) - Method in interface fj.TryCatch6
-
- f(A, B, C, D, E, F, G) - Method in interface fj.TryCatch7
-
- f(A, B, C, D, E, F, G, H) - Method in interface fj.TryCatch8
-
- F1Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F1Functions() - Constructor for class fj.F1Functions
-
- F2<A,B,C> - Interface in fj
-
A transformation function of arity-2 from A
and B
to C
.
- F2Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F2Functions() - Constructor for class fj.F2Functions
-
- F3<A,B,C,D> - Interface in fj
-
A transformation function of arity-3 from A
, B
and C
to
D
.
- F3Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F3Functions() - Constructor for class fj.F3Functions
-
- F4<A,B,C,D,E> - Interface in fj
-
A transformation function of arity-4 from A
, B
, C
and
D
to E
.
- F4Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F4Functions() - Constructor for class fj.F4Functions
-
- F5<A,B,C,D,E,F$> - Interface in fj
-
A transformation function of arity-5 from A
, B
, C
,
D
and E
to F$
.
- F5Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F5Functions() - Constructor for class fj.F5Functions
-
- F6<A,B,C,D,E,F$,G> - Interface in fj
-
A transformation function of arity-6 from A
, B
, C
,
D
, E
and F$
to G
.
- F6Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F6Functions() - Constructor for class fj.F6Functions
-
- 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$
and G
to H
.
- F7Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F7Functions() - Constructor for class fj.F7Functions
-
- 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
and H
to
I
.
- F8Functions - Class in fj
-
Created by MarkPerry on 6/04/2014.
- F8Functions() - Constructor for class fj.F8Functions
-
- 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.
- fail() - Static method in class fj.test.Gen
-
Returns a generator that never returns a value.
- failE(P1<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.
- failed() - Method in class fj.test.Result
-
Returns true
if this result is falsified or an exception; otherwise,
false
.
- failK(F<A, B>) - Static method in class fj.F1Functions
-
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.
- falsified(List<Arg<?>>, int, int) - Static method in class fj.test.CheckResult
-
Returns a result that the property has been falsified.
- falsified(List<Arg<?>>) - Static method in class fj.test.Result
-
Returns a falsified result.
- 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(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 predicate
p
does not hold for the value, otherwise, returns a right in Some
.
- filter(F<B, Boolean>) - Method in class fj.data.Either.RightProjection
-
Returns None
if this projection has no value or if the given predicate
p
does not hold for the value, otherwise, returns a left in Some
.
- 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.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() - Static method in class fj.data.Stream
-
Returns a first-class version of the filter function.
- filter(F<E, Boolean>) - Method in class fj.data.Validation.FailProjection
-
Returns None
if this is a success or if the given predicate p
does not hold for the
failing value, otherwise, returns a fail in Some
.
- filter(F<T, Boolean>) - Method in class fj.data.Validation
-
Returns None
if this is a failure or if the given predicate p
does not hold for the
success value, otherwise, returns a success in Some
.
- 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<A, Boolean>) - Method in class fj.test.Gen
-
Returns a generator that produces values that meet the given predicate.
- 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.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.
- 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.
- findChild() - Static method in class fj.data.TreeZipper
-
A first-class version of the findChild function.
- findFirst(List<Option<X>>, P1<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.
- 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.
- 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.hlist - package fj.data.hlist
-
Type-safe, extensible, heterogeneous lists
- fj.data.vector - package fj.data.vector
-
Fixed-length vectors
- fj.function - package fj.function
-
A prelude of commonly used first-class functions
- fj.parser - package fj.parser
-
Parser combinators.
- fj.test - package fj.test
-
Reductio is a software package that provides automated specification-based testing and
is intended to replace traditional testing techniques that have very little automation.
- fj.test.reflect - package fj.test.reflect
-
A wrapper around the fj.test
package that uses annotations for configuring properties to
check.
- flatMap(IO<A>, F<A, IO<B>>) - Static method in class fj.data.IOFunctions
-
- flatMap(F<B, Reader<A, C>>) - Method in class fj.data.Reader
-
- flatMap(State<S, B>, F<B, State<S, C>>) - Static method in class fj.data.State
-
- flatMap(F<A, State<S, B>>) - Method in class fj.data.State
-
- flatMap(F<A, Writer<W, B>>) - Method in class fj.data.Writer
-
- 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 []
where squish (Node x ts) xs = x:Prelude.foldr squish xs ts
Puts the elements of the tree into a Stream, in pre-order.
- flip(F2<A, B, C>) - Static method in class fj.F2Functions
-
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.
- 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(F<A, B>) - Static method in class fj.P1
-
Promote any function to a transformation between P1s.
- fmap_(F<A, B>) - Static method in class fj.control.parallel.Promise
-
Promotes any function to a transformation between promises (covariant functor pattern).
- fmap_() - Static method in class fj.data.Tree
-
Provides a transformation to lift any function so that it maps over Trees.
- 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
-
- 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
-
- foldLeft(F<B, F<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.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(F2<B, A, B>, B) - Method in class fj.data.List
-
Performs a left-fold reduction across this list.
- 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.Stream
-
Performs a left-fold reduction across this stream.
- foldLeft(F2<B, A, B>, B) - Method in class fj.data.Stream
-
Performs a left-fold reduction across this stream.
- 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(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(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(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(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.
- 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.
- foldLeft_(F<B, F<A, B>>) - Static method in class fj.data.fingertrees.Node
-
- 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_(F<A, B>, Monoid<B>) - Static method in class fj.data.Tree
-
Provides a function that folds a tree with the given monoid.
- foldMapTree(F<A, B>, Monoid<B>) - Static method in class fj.F1Functions
-
Returns a function that maps this function over a tree and folds it with the given monoid.
- 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(F2<A, 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(G, V, L) - Method in class fj.data.hlist.HList.HFoldr
-
Folds a non-empty heterogeneous list.
- foldRight(F2<A, B, B>, B) - Method in class fj.data.IterableW
-
The catamorphism for Iterables, implemented as a right fold.
- foldRight(F<A, F<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.List
-
Performs a right-fold reduction across this list.
- 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, P1<B>, B>, B) - Method in class fj.data.Stream
-
Performs a right-fold reduction across this stream.
- foldRight() - Static method in class fj.data.Stream
-
A first-class version of the foldRight function.
- foldRight(F<A, F<B, B>>, B) - Method in class fj.data.Zipper
-
Performs a right-fold reduction across this zipper.
- foldRight1(F<A, F<B, B>>, B) - Method in class fj.data.Stream
-
Performs a right-fold reduction across this stream.
- foldRight1(F2<A, B, B>, B) - Method in class fj.data.Stream
-
Performs a right-fold reduction across this stream.
- foldRight_(F<A, F<B, B>>) - Static method in class fj.data.fingertrees.Node
-
- 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<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<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<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.
- forall(Gen<A>, Shrink<A>, F<A, P1<Property>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- foreach(F<A, Unit>) - Method in class fj.data.Array
-
Performs a side-effect for each element of this array.
- foreach(Effect<A>) - 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(Effect<A>) - Method in class fj.data.Either.LeftProjection
-
Execute a side-effect on this projection's value if it has one.
- 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(Effect<B>) - Method in class fj.data.Either.RightProjection
-
Execute a side-effect on this projection's value if it has one.
- foreach(Effect<P2<K, V>>) - Method in class fj.data.HashMap
-
- foreach(F<P2<K, V>, Unit>) - Method in class fj.data.HashMap
-
- foreach(F<A, Unit>) - Method in class fj.data.List
-
Performs a side-effect for each element of this list.
- foreach(Effect<A>) - 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(Effect<A>) - 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(Effect<A>) - Method in class fj.data.Stream
-
Performs a side-effect for each element of this stream.
- foreach(F<E, Unit>) - Method in class fj.data.Validation.FailProjection
-
Executes a side-effect on the failing value if there is one.
- foreach(Effect<E>) - Method in class fj.data.Validation.FailProjection
-
Executes a side-effect on the failing value if there is one.
- foreach(F<T, Unit>) - Method in class fj.data.Validation
-
Executes a side-effect on the success value if there is one.
- foreach(Effect<T>) - Method in class fj.data.Validation
-
Executes a side-effect on the success value if there is one.
- foreach(Integer, Rand, F<A, Unit>) - Method in class fj.test.Gen
-
Executes a side-effect for each generated result using the given arguments.
- foreach(Integer, Rand, Effect<A>) - Method in class fj.test.Gen
-
Executes a side-effect for each generated result using the given arguments.
- 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<V,A> - Class in fj.data.fingertrees
-
A four-element prefix or suffix of a finger tree.
- four(A, A, A, A) - Method in class fj.data.fingertrees.MakeTree
-
A digit of four elements.
- frequency(List<P2<Integer, Gen<A>>>) - Static method in class fj.test.Gen
-
Returns a generator that uses values from the given frequency and generator pairs.
- from(Iterable<P2<K, V>>) - Static method in class fj.data.HashMap
-
- from(Iterable<P2<K, V>>, Equal<K>, Hash<K>) - Static method in class fj.data.HashMap
-
- 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.
- fromEither(P1<Either<Exception, A>>) - Static method in class fj.control.parallel.Callables
-
Turns a given Either value into the equivalent Callable.
- fromEither() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from an Either to a Callable.
- 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(F<Natural, A>) - Static method in class fj.data.Stream
-
Converts a function of natural numbers to a stream.
- 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.
- fromGen(Gen<Result>) - Static method in class fj.test.Property
-
Constructs a property from a generator of results.
- 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.
- fromMutableMap(Ord<K>, Map<K, V>) - Static method in class fj.data.TreeMap
-
An immutable projection of the given mutable map.
- fromNull(T) - Static method in class fj.data.Option
-
Turns an unsafe nullable value into a safe optional value.
- fromNull() - Static method in class fj.data.Option
-
Turns an unsafe nullable value into a safe optional value.
- fromOption(P1<Option<A>>) - Static method in class fj.control.parallel.Callables
-
Turns an optional value into a Callable.
- fromOption() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from an optional value to a Callable
- 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<Character>) - Static method in class fj.data.LazyString
-
Constructs a lazy string from a stream of characters.
- 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.
- 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(String) - Static method in class fj.data.List
-
Returns a list of characters from the given string.
- fromString() - Static method in class fj.data.List
-
A first-class fromString
.
- 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() - 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(String) - Static method in class fj.data.Stream
-
Returns a stream of characters from the given string.
- 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.
- fromTree(Tree<A>) - Static method in class fj.data.TreeZipper
-
Creates a new tree zipper focused on the root of the given tree.
- fromTree() - Static method in class fj.data.TreeZipper
-
First-class conversion of a Tree to the corresponding tree zipper.
- Function - Class in fj
-
Transformations on functions.
- 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
-
- id() - Static method in class fj.data.hlist.HList.Apply
-
Identity operator
- identifierIgnorable(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an identifier-ignorable character.
- identifierIgnorable(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).
- iif(boolean, P1<B>, P1<A>) - Static method in class fj.data.Either
-
If the condition satisfies, return the given A in left, otherwise, return the given B in right.
- 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.
- iif(boolean, P1<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, 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() - Static method in class fj.data.Option
-
First-class version of the iif function.
- immutable() - Method in class fj.data.Array
-
- implies - Static variable in class fj.function.Booleans
-
Curried form of logical "only if" (material implication).
- implies(P1<Property>) - Method in class fj.test.Bool
-
Returns a property that produces a result only if this value is true.
- implies(Property) - Method in class fj.test.Bool
-
Returns a property that produces a result only if this value is true.
- implies(Bool) - Method in class fj.test.Bool
-
Returns a property that produces a result only if this value is true.
- implies(boolean) - Method in class fj.test.Bool
-
Returns a property that produces a result only if this value is true.
- implies(boolean, P1<Property>) - Static method in class fj.test.Property
-
Returns a property that produces a result only if the given condition satisfies.
- 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.
- index() - Method in class fj.data.Zipper
-
Returns the index of the focus.
- 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.List
-
Returns all but the last element of this list.
- 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.
- insert(A) - Method in class fj.data.Set
-
Inserts the given element into this set.
- insert() - Static method in class fj.data.Set
-
First-class insertion function.
- 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(Tree<A>) - Method in class fj.data.TreeZipper
-
Inserts a tree to the left of the current position.
- 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.
- insertRight(Tree<A>) - Method in class fj.data.TreeZipper
-
Inserts a tree to the right 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.
- 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.
- 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.
- 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(Set<A>) - Method in class fj.data.Set
-
Remove all elements from this set that do not occur in the given set.
- intersect() - Static method in class fj.data.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.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.
- intMinimumSemigroup - Static variable in class fj.Semigroup
-
A semigroup that yields the minimum of 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<A> - Interface in fj.data
-
IO monad for processing files
- io(P1<A>) - Static method in class fj.data.IOFunctions
-
- io(TryCatch0<A, ? extends IOException>) - Static method in class fj.data.IOFunctions
-
- io(TryCatch0<A, ? extends IOException>) - Static method in class fj.Try
-
- 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>)
and
IOFunctions.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
-
- is() - Method in class fj.test.Bool
-
Returns true
if this value is true, false
otherwise.
- 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
-
- 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.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
-
Returns true
if this list is empty, false
otherwise.
- 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 variable in class fj.function.Strings
-
A curried version of String.isEmpty()
.
- 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.
- isException() - Method in class fj.test.Result
-
Returns true
if this result is an exception; otherwise, false
.
- isExhausted() - Method in class fj.test.CheckResult
-
Returns true
if this result is exhausted, false
otherwise.
- isFail() - Method in class fj.data.Validation
-
Returns true
if this is a failure, false
otherwise.
- isFalsified() - Method in class fj.test.CheckResult
-
Returns true
if this result is falsified, false
otherwise.
- isFalsified() - Method in class fj.test.Result
-
Returns true
if this result is falsified; otherwise, false
.
- 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.
- isGenException() - Method in class fj.test.CheckResult
-
Returns true
if this result is an exception during generating of values for
property checking, false
otherwise.
- 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(A) - Method in class fj.Ord
-
Returns a function that returns true if its argument is greater than than the argument to this method.
- 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.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.
- 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(A) - Method in class fj.Ord
-
Returns a function that returns true if its argument is less than the argument to this method.
- isLetter - Static variable in class fj.function.Characters
-
- isLetterOrDigit - Static variable in class fj.function.Characters
-
- isLowerCase - Static variable in class fj.function.Characters
-
- 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.
- isNoResult() - Method in class fj.test.Result
-
Returns true
if this result is no result; otherwise, false
.
- isNot() - Method in class fj.test.Bool
-
Returns false
if this value is true, true
otherwise.
- 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.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 not
null
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 ("") or null
.
- isNullOrEmpty - Static variable in class fj.function.Strings
-
This function checks if a given String is null
or empty (String.isEmpty()
).
- isoControl(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an ISO control character.
- isoControl(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces an ISO control character.
- isPassed() - Method in class fj.test.CheckResult
-
Returns true
if this result is passed, false
otherwise.
- isPropException() - Method in class fj.test.CheckResult
-
Returns true
if this result is an exception during property execution,
false
otherwise.
- isProven() - Method in class fj.test.CheckResult
-
Returns true
if this result is proven, false
otherwise.
- isProven() - Method in class fj.test.Result
-
Returns true
if this result is proven; otherwise, false
.
- isRight() - Method in class fj.data.Either
-
Returns true
if this either is a right, false
otherwise.
- isRoot() - Method in class fj.data.TreeZipper
-
Indicates whether the current node is at the top of the tree.
- 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.
- isTitleCase - Static variable in class fj.function.Characters
-
- isUnfalsified() - Method in class fj.test.Result
-
Returns true
if this result is unfalsified; otherwise, false
.
- 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.
- 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.
- iterableK(F<A, B>) - Static method in class fj.F1Functions
-
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(F2<A, B, C>) - Static method in class fj.F2Functions
-
Promotes this function to a function on Iterables.
- 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.
- IterableW<A> - Class in fj.data
-
A wrapper for Iterable that equips it with some useful functions.
- 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.
- iterate() - Static method in class fj.data.Stream
-
A first-class version of the iterate function.
- Iteratee - Class in fj.data
-
- 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.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.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.
- last() - Method in class fj.data.List
-
Returns the last element of this list.
- 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.
- lazy(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function so that it returns its result in a product-1.
- lazy(P1<A>) - Static method in class fj.P
-
- lazy(P1<A>, P1<B>) - Static method in class fj.P
-
- lazy(P1<A>, P1<B>, P1<C>) - Static method in class fj.P
-
- lazy(P1<A>, P1<B>, P1<C>, P1<D>) - Static method in class fj.P
-
- lazy(P1<A>, P1<B>, P1<C>, P1<D>, P1<E>) - Static method in class fj.P
-
- lazy(P1<A>, P1<B>, P1<C>, P1<D>, P1<E>, P1<F>) - Static method in class fj.P
-
- lazy(P1<A>, P1<B>, P1<C>, P1<D>, P1<E>, P1<F>, P1<G>) - Static method in class fj.P
-
- lazy(P1<A>, P1<B>, P1<C>, P1<D>, P1<E>, P1<F>, P1<G>, P1<H>) - Static method in class fj.P
-
- 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
-
- LazyString - Class in fj.data
-
A lazy (non-evaluated) immutable character string.
- lazyStringShow - Static variable in class fj.Show
-
A show instance for lazy strings.
- leaf(A) - Static method in class fj.data.Tree
-
Creates a nullary tree.
- left() - Method in class fj.data.Either
-
Projects this either as a left.
- left(A) - Static method in class fj.data.Either
-
Construct a left value of either.
- left(IO<A>, IO<B>) - Static method in class fj.data.IOFunctions
-
- left() - Method in class fj.data.TreeZipper
-
Navigates to the left sibling of the current location.
- left_() - Static method in class fj.data.Either
-
A function that constructs a left value of either.
- left_() - Static method in class fj.data.TreeZipper
-
A first-class version of the left() function.
- leftMap_() - Static method in class fj.data.Either
-
- lefts(List<Either<A, B>>) - Static method in class fj.data.Either
-
Returns all the left values in the given list.
- 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.
- 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() - 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.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.Zipper
-
Returns the length of this zipper.
- length - Static variable in class fj.function.Strings
-
A curried version of String.length()
.
- length_() - Static method in class fj.data.List
-
First-class length.
- levels() - Method in class fj.data.Tree
-
Provides a stream of the elements of the tree at each level, in level order.
- 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(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(IO<A>, IO<B>, F2<A, B, C>) - Static method in class fj.data.IOFunctions
-
- 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.
- lineReader() - Static method in class fj.data.IOFunctions
-
A function that feeds an iteratee with lines read from a BufferedReader
.
- lines() - Method in class fj.data.LazyString
-
Splits this lazy string into lines.
- 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> - Class in fj.data
-
Provides an in-memory, immutable, singly linked list.
- list(B, F<A, F<List<A>, B>>) - Method in class fj.data.List
-
Performs a reduction on this list using the given arguments.
- list(A...) - Static method in class fj.data.List
-
Constructs a list from the given elements.
- List.Buffer<A> - Class in fj.data
-
A mutable, singly linked 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_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.
- 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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function so that it returns its result in a List.
- listM(F2<A, B, C>) - Static method in class fj.F2Functions
-
Promotes this function to a function on Lists.
- listMonoid() - Static method in class fj.Monoid
-
A monoid for lists.
- listOf(Gen<A>, int) - Static method in class fj.test.Gen
-
Returns a generator of lists whose values come from the given generator.
- listOf(Gen<A>) - Static method in class fj.test.Gen
-
Returns a generator of lists whose values come from the given generator.
- listOf1(Gen<A>) - Static method in class fj.test.Gen
-
Returns a generator of lists whose values come from the given generator.
- 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.
- listShow(Show<A>) - Static method in class fj.Show
-
A show instance for the
Stream
type.
- log() - Method 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.
- 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.
- longShow - Static variable in class fj.Show
-
A show instance for the long
type.
- longValue() - Method in class fj.data.Natural
-
Return the long value of this natural number.
- lookup(F<V, Integer>, int) - Method in class fj.data.fingertrees.Deep
-
- 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.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.Single
-
- 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(Equal<A>) - Static method in class fj.data.List
-
- lower(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a lower-case character.
- lower(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a lower-case character.
- lowSurrogate(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a low-surrogate character.
- lowSurrogate(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a low-surrogate character.
- 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.
- Main - Class in fj.test.reflect
-
Checks the properties of a class using a standard random generator, standard check parameters and
the given categories.
- main(String...) - Static method in class fj.test.reflect.Main
-
Check the given class and categories.
- MakeTree<V,A> - Class in fj.data.fingertrees
-
A builder of trees and tree components, supplied with a particular monoid and measuring function.
- map(F<A, B>) - Method in class fj.control.db.DB
-
Map a function over the result of this action.
- 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<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() - Static method in class fj.data.Array
-
First-class map function for Arrays.
- 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<B, X>) - Method in class fj.data.Either.RightProjection
-
Map the given function across this projection's value if it has one.
- 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<K, A>, F<V, B>, Equal<A>, Hash<A>) - Method in class fj.data.HashMap
-
- map(F<K, A>, F<V, 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<P2<K, V>, P2<A, B>>) - Method in class fj.data.HashMap
-
- map(IO<A>, F<A, B>) - Static method in class fj.data.IOFunctions
-
- map(F<A, B>) - Method in class fj.data.IterableW
-
Maps a given function across the wrapped Iterable.
- map() - Static method in class fj.data.IterableW
-
Returns a function that promotes any function so that it operates on Iterables.
- 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() - Static method in class fj.data.Option
-
A first-class map function.
- map(F<B, C>) - Method in class fj.data.Reader
-
- map(Ord<B>, F<A, B>) - Method in class fj.data.Set
-
Maps the given function across this set.
- 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<V, W>) - Method in class fj.data.TreeMap
-
Maps the given function across the values of this TreeMap.
- map(F<A, B>) - Method in class fj.data.TreeZipper
-
Maps the given function across this zipper (covariant functor pattern).
- map(F<E, A>) - Method in class fj.data.Validation.FailProjection
-
Maps the given function across the failing side of this validation.
- map(F<T, A>) - Method in class fj.data.Validation
-
Maps the given function across the success side of this validation.
- 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>, F<B, C>) - Static method in class fj.F1Functions
-
- map(F2<A, B, C>, F<C, Z>) - Static method in class fj.F2Functions
-
- map(F<A, X>) - Method in class fj.P1
-
Map the element of the product.
- 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, B>) - Method in class fj.parser.Parser
-
Maps the given result type across this parser.
- map(F<A, B>) - Method in class fj.test.Gen
-
Maps the given function across this generator.
- map(F<A, B>, F<B, A>) - Method in class fj.test.Shrink
-
Creates a shrink from this shrink and the given symmetric transformations.
- 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<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.
- 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.
- mapArray(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a Array.
- mapBoth(F<A, B>) - Static method in class fj.F1Functions
-
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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over the failure side of a Validation.
- mapFst(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over the first element of a pair.
- mapIterable(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over Iterables.
- mapJ(F<A, B>, SynchronousQueue<A>) - Static method in class fj.F1Functions
-
Maps this function over a SynchronousQueue.
- mapJ(F<A, B>, PriorityBlockingQueue<A>) - Static method in class fj.F1Functions
-
Maps this function over a PriorityBlockingQueue.
- mapJ(F<A, B>, LinkedBlockingQueue<A>) - Static method in class fj.F1Functions
-
Maps this function over a LinkedBlockingQueue.
- mapJ(F<A, B>, CopyOnWriteArraySet<A>) - Static method in class fj.F1Functions
-
Maps this function over a CopyOnWriteArraySet.
- mapJ(F<A, B>, CopyOnWriteArrayList<A>) - Static method in class fj.F1Functions
-
Maps this function over a CopyOnWriteArrayList.
- mapJ(F<A, B>, ConcurrentLinkedQueue<A>) - Static method in class fj.F1Functions
-
Maps this function over a ConcurrentLinkedQueue.
- mapJ(F<A, B>, ArrayBlockingQueue<A>) - Static method in class fj.F1Functions
-
Maps this function over an ArrayBlockingQueue.
- mapJ(F<A, B>, TreeSet<A>) - Static method in class fj.F1Functions
-
Maps this function over a TreeSet.
- mapJ(F<A, B>, PriorityQueue<A>) - Static method in class fj.F1Functions
-
Maps this function over a PriorityQueue.
- mapJ(F<A, B>, LinkedList<A>) - Static method in class fj.F1Functions
-
Maps this function over a LinkedList.
- mapJ(F<A, B>, ArrayList<A>) - Static method in class fj.F1Functions
-
Maps this function over an ArrayList.
- mapKeys(F<K, A>, Equal<A>, Hash<A>) - Method in class fj.data.HashMap
-
- mapKeys(F<K, A>) - Method in class fj.data.HashMap
-
- mapLeft(F<A, B>) - Static method in class fj.F1Functions
-
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(F<A, B>) - Static method in class fj.F1Functions
-
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(P1<A>, F<A, Promise<B>>) - Method in class fj.control.parallel.ParModule
-
Maps a concurrent function over a Product-1 inside a Promise.
- 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.
- 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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a NonEmptyList.
- mapOption(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over an optional value.
- mapP1(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a product-1.
- mapPromise(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a Promise.
- mapRest(F<I, J>) - Method in class fj.parser.Result
-
Maps the given function across the remainder of the parse input.
- mapRest() - Method in class fj.parser.Result
-
First-class function mapping across the remainder of the parse input.
- mapRight(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over the right side of an Either.
- mapSet(F<A, B>, Ord<B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a Set.
- mapSnd(F<A, B>) - Static method in class fj.F1Functions
-
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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a Stream.
- mapSuccess(F<A, B>) - Static method in class fj.F1Functions
-
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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a Tree.
- mapTreeZipper(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to map over a TreeZipper.
- mapValue(F<A, B>) - Method in class fj.parser.Result
-
Maps the given function across the parse value.
- mapValue() - Method in class fj.parser.Result
-
First-class function mapping across the parse value.
- mapValues(F<V, B>) - Method in class fj.data.HashMap
-
- mapZipper(F<A, B>) - Static method in class fj.F1Functions
-
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<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<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<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<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.One
-
- 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<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
-
- matches(String) - Method in class fj.data.LazyString
-
Regular expression pattern matching.
- matches - Static variable in class fj.function.Strings
-
A curried version of String.matches(String)
.
- max() - Method in class fj.data.Enumerator
-
Returns the maximum value for this enumerator if there is one.
- max - Variable in class fj.Ord
-
A function that returns the greater of its two arguments.
- max(A, A) - Method in class fj.Ord
-
Returns the greater of its two arguments.
- maxDiscarded(int) - Method in class fj.test.Property
-
Checks this property using a
standard random generator
, 100 minimum
successful checks, the given maximum discarded tests, minimum size of 0, maximum size of 100.
- maxDiscarded(Rand, int) - Method in class fj.test.Property
-
Checks this property using a the given random generator}, 100 minimum
successful checks, the given maximum discarded tests, minimum size of 0, maximum size of 100.
- maximum(Ord<A>) - Method in class fj.data.List
-
Returns the maximum element in this list according to the given ordering.
- maxSize(int) - Method in class fj.test.Property
-
Checks this property using a
standard random generator
, 100 minimum
successful checks, 500 maximum discarded tests, minimum size of 0, the given maximum size.
- maxSize(Rand, int) - Method in class fj.test.Property
-
Checks this property using the given random generator, 100 minimum
successful checks, 500 maximum discarded tests, minimum size of 0, the given maximum size.
- 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(A) - Method in class fj.data.fingertrees.Measured
-
Measures a given element.
- 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.
- 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<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>) - Static method in class fj.data.fingertrees.Measured
-
- member(A) - Method in class fj.data.Set
-
Checks if the given element is a member of this set.
- member() - Static method in class fj.data.Set
-
First-class membership check.
- memo() - Method in class fj.P1
-
Provides a memoising P1 that remembers its value.
- 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.
- 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.
- middle() - Method in class fj.data.fingertrees.Deep
-
Returns a finger tree of the inner nodes of this tree.
- min() - Method in class fj.data.Enumerator
-
Returns the minimum value for this enumerator if there is one.
- min - Variable in class fj.Ord
-
A function that returns the lesser of its two arguments.
- min(A, A) - Method in class fj.Ord
-
Returns the lesser of its two arguments.
- minimum(Ord<A>) - Method in class fj.data.List
-
Returns the minimum element in this list according to the given ordering.
- minSize(int) - Method in class fj.test.Property
-
Checks this property using a
standard random generator
, 100 minimum
successful checks, 500 maximum discarded tests, the given minimum size, maximum size of 100.
- minSize(Rand, int) - Method in class fj.test.Property
-
Checks this property using the given random generator, 100 minimum
successful checks, 500 maximum discarded tests, the given minimum size, maximum size of 100.
- minSuccessful(int) - Method in class fj.test.Property
-
Checks this property using a
standard random generator
, the given minimum
successful checks, 500 maximum discarded tests, minimum size of 0, maximum size of 100.
- minSuccessful(Rand, int) - Method in class fj.test.Property
-
Checks this property using the given random generator, the given minimum
successful checks, 500 maximum discarded tests, minimum size of 0, maximum size of 100.
- 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(Set<A>) - Method in class fj.data.Set
-
Remove all elements from this set that occur in the given set.
- minus() - Static method in class fj.data.Set
-
- 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(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a mirrored character.
- mirrored(E, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a mirrored character.
- 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<S, S>) - Static method in class fj.data.State
-
- modifyLabel(F<A, A>) - Method in class fj.data.TreeZipper
-
Modifies the label at the current node with the given function.
- modifyTree(F<Tree<A>, Tree<A>>) - Method in class fj.data.TreeZipper
-
Modifies the current node with the given function.
- monoid() - Method in class fj.data.fingertrees.Measured
-
Returns the monoid used to sum measures.
- Monoid<A> - Class in fj
-
A monoid abstraction to be defined across types of the given type argument.
- 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(Semigroup<A>, A) - Static method in class fj.Monoid
-
Constructs a monoid from the given semigroup and zero value, which must follow the monoidal laws.
- move(int) - Method in class fj.data.Zipper
-
Move the focus to the specified index.
- move() - Static method in class fj.data.Zipper
-
A first-class version of the move function.
- multiply - Static variable in class fj.data.Natural
-
A function that multiplies a natural number by another.
- multiply(Natural) - Method in class fj.data.Natural
-
Multiply 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.
- o(F<A, B>, F<C, A>) - Static method in class fj.F1Functions
-
Function composition
- o(F<A, B>) - Static method in class fj.F1Functions
-
First-class function composition
- 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(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<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<T, E>) - Method in class fj.data.Validation.FailProjection
-
The failing value or the application of the given function to the success value.
- 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<A, B>, F<B, F<B, C>>) - Static method in class fj.F1Functions
-
Applies this function over the arguments of another function.
- on(F<A, B>) - Static method in class fj.F1Functions
-
Applies this function over the arguments of another function.
- 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.
- 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 - Static variable in class fj.data.Natural
-
The natural number one
- oneOf(List<Gen<A>>) - Static method in class fj.test.Gen
-
Returns a generator that produces values from one of the given generators on subsequent
requests.
- onFail(F<A, B>) - Static method in class fj.F1Functions
-
Returns a function that returns the failure side of a given Validation,
or this function applied to the success side.
- onLeft(F<A, B>) - Static method in class fj.F1Functions
-
Returns a function that returns the left side of a given Either, or this function applied to the right side.
- onRight(F<A, B>) - Static method in class fj.F1Functions
-
Returns a function that returns the right side of a given Either, or this function applied to the left side.
- onSuccess(F<A, B>) - Static method in class fj.F1Functions
-
Returns a function that returns the success side of a given Validation,
or this function applied to the failure side.
- option(Callable<A>) - Static method in class fj.control.parallel.Callables
-
Turns the given Callable into an optional value.
- option() - Static method in class fj.control.parallel.Callables
-
Returns a transformation from a Callable to an optional value.
- Option<A> - Class in fj.data
-
An optional value that may be none (no value) or some (a value).
- option(B, F<A, B>) - Method in class fj.data.Option
-
Performs a reduction on this optional value using the given arguments.
- option(P1<B>, F<A, B>) - Method in class fj.data.Option
-
Performs a reduction on this 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_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.
- 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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function so that it returns its result in an Option.
- optionM(F2<A, B, C>) - Static method in class fj.F2Functions
-
Promotes this function to a function on Options.
- optionMonoid() - Static method in class fj.Monoid
-
A monoid for options.
- optionOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
Option
type.
- optionSemigroup() - Static method in class fj.Semigroup
-
A semigroup for optional values.
- 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(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(P1<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>) - Method in class fj.parser.Parser
-
Returns a parser that tries this parser and if it fails, then tries the given parser.
- or(P1<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>, 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(Property) - Method in class fj.test.Property
-
Performs a disjunction of this property with the given property.
- ord() - Method in class fj.data.Set
-
Returns the order of this Set.
- ord(Ord<A>) - Static method in class fj.data.Zipper
-
An Ord instance for Zippers.
- Ord<A> - Class in fj
-
Tests for ordering between two objects.
- 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.
- 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.
- 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(P1<Option<A>>) - Method in class fj.data.Option
-
Returns this optional value if there is one, otherwise, returns the argument optional value.
- orElse(Option<A>) - Method in class fj.data.Option
-
Returns this optional value if there is one, otherwise, returns the argument optional value.
- orFail(P1<E>) - Method in class fj.data.Validation.FailProjection
-
Returns the failing value or the given value.
- orFail(E) - Method in class fj.data.Validation.FailProjection
-
Returns the failing value or the given value.
- orHead(P1<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(P1<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(P1<A>) - Method in class fj.data.Option
-
Returns the value of this optional value or the given argument.
- orSome(A) - Method in class fj.data.Option
-
Returns the value of this optional value or the given argument.
- orSuccess(P1<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(P1<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(P1<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(P1<A>) - Method in class fj.data.Either.LeftProjection
-
The value of this projection or the given argument.
- orValue(A) - Method in class fj.data.Either.LeftProjection
-
The value of this projection or the given argument.
- orValue(P1<B>) - Method in class fj.data.Either.RightProjection
-
The value of this projection or the given argument.
- p(IO<A>) - Static method in class fj.data.IOFunctions
-
- p() - Method in class fj.data.TreeZipper
-
Returns the product-4 representation of this zipper.
- p(P2<A, A>) - Static method in class fj.data.vector.V2
-
Creates a vector-2 from a homogeneous product-2.
- p() - Method in class fj.data.vector.V2
-
Returns a homogeneous product-2 equivalent to this vector.
- p(P3<A, A, A>) - Static method in class fj.data.vector.V3
-
Creates a vector-3 from a homogeneous product-3.
- p() - Method in class fj.data.vector.V3
-
Returns a homogeneous product-3 equivalent to this vector.
- p(P4<A, A, A, A>) - Static method in class fj.data.vector.V4
-
Creates a vector-4 from a homogeneous product-4.
- p() - Method in class fj.data.vector.V4
-
Returns a homogeneous product-4 equivalent to this vector.
- 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() - Method in class fj.data.vector.V5
-
Returns a homogeneous product-5 equivalent to this vector.
- 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() - Method in class fj.data.vector.V6
-
Returns a homogeneous product-6 equivalent to this vector.
- 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() - Method in class fj.data.vector.V7
-
Returns a homogeneous product-7 equivalent to this vector.
- 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() - 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 - Class in fj
-
Functions across products.
- 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.
- 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
-
- 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 semigroup for unary products.
- p1Show(Show<A>) - Static method in class fj.Show
-
A show instance for the
tuple-1
type.
- 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
-
- 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.
- 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.
- p2Semigroup(Semigroup<A>, Semigroup<B>) - Static method in class fj.Semigroup
-
A semigroup for binary products.
- p2Show(Show<A>, Show<B>) - 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 an element 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.
- 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.
- par(P1<A>) - Method in class fj.control.parallel.Strategy
-
Apply the strategy to the given product-1.
- parameterised(F<Integer, F<Rand, Gen<A>>>) - Static method in class fj.test.Gen
-
Constructs a generator that can access its construction arguments — size and random
generator.
- parent() - Method in class fj.data.TreeZipper
-
Navigates to the parent of the current location.
- 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.
- 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(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.
- 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(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(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.
- 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(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.
- 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>, 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.
- 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.
- 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(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(Iterable<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps across an Iterable in parallel.
- parMap(Array<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps across an Array in parallel.
- parMap(Zipper<A>, F<A, B>) - Method in class fj.control.parallel.ParModule
-
Maps a function across a Zipper 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(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(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.
- parMap1(F<B, A>, List<B>) - Method in class fj.control.parallel.Strategy
-
A strict version of parMap over lists.
- parMap1(F<B, A>, Array<B>) - Method in class fj.control.parallel.Strategy
-
A strict version of parMap over arrays.
- parMapArray() - Method in class fj.control.parallel.ParModule
-
A first-class function that maps another function across an array in parallel.
- parMapArray(F<B, A>) - Method in class fj.control.parallel.Strategy
-
Promotes a function to a parallel function on arrays using this strategy.
- parMapArray() - Method in class fj.control.parallel.Strategy
-
First-class version of parMap on arrays.
- 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(F<B, A>) - Method in class fj.control.parallel.Strategy
-
Promotes a function to a parallel function on lists using this strategy.
- parMapList() - Method in class fj.control.parallel.Strategy
-
First-class version of parMap on lists.
- 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 - Class in fj.control.parallel
-
A module of higher-order concurrency features.
- parModule(Strategy<Unit>) - Static method in class fj.control.parallel.ParModule
-
Constructor method for 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<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>>>) - Static method in class fj.parser.Parser
-
Returns a parser that computes using the given function.
- Parser.CharsParser - Class in fj.parser
-
- 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.
- 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.
- 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(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(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(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.
- 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(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.
- passed(int, int) - Static method in class fj.test.CheckResult
-
Returns a result that the property has passed.
- passed() - Method in class fj.test.Result
-
Returns true
if this result is unfalsified or proven; otherwise,
false
.
- peek() - Static method in class fj.data.Iteratee.IterV
-
An iteratee that returns the first element of the input
- pick(int, List<A>) - Static method in class fj.test.Gen
-
Returns a generator of lists that picks the given number of elements from the given list.
- plus() - 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(long) - 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.
- 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.
- 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() - 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() - Method in class fj.data.fingertrees.Deep
-
Returns the first few elements of this tree.
- 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.
- 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_List() - Static method in class fj.data.Java
-
A function that converts priority queues to lists.
- product(Stream<Natural>) - Static method in class fj.data.Natural
-
Takes the product of a stream of natural numbers.
- product(List<Natural>) - Static method in class fj.data.Natural
-
Takes the product of a list of natural numbers.
- product(List<BigInteger>) - Static method in class fj.function.BigIntegers
-
Returns the product of a list of big integers.
- 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.
- promise() - Method in class fj.control.parallel.Actor
-
Transforms this actor to an actor on promises.
- promise(P1<A>) - Method in class fj.control.parallel.ParModule
-
Evaluates the given product concurrently and returns a Promise of the result.
- 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(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<A> - Class in fj.control.parallel
-
Represents a non-blocking future 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>) - Static method in class fj.control.parallel.Promise
-
Provides a first-class unit function for promises.
- 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(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.
- promiseK(F<A, B>, Strategy<Unit>) - Static method in class fj.F1Functions
-
Promotes this function to a concurrent function that returns a Promise of a value.
- promiseM(F2<A, B, C>) - Static method in class fj.F2Functions
-
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.
- promote(F<A, Gen<B>>) - Static method in class fj.test.Gen
-
Promotes the given function to a generator for functions.
- prop(int, Rand) - Method in class fj.test.Property
-
Returns the result of applying the given size and random generator.
- prop(F<Integer, F<Rand, Result>>) - Static method in class fj.test.Property
-
Returns a property from the given function.
- prop(Result) - Static method in class fj.test.Property
-
Returns a property that always has the given result.
- prop(boolean) - Static method in class fj.test.Property
-
Returns a property that is either proven (the given condition satsifies) or falsified
otherwise.
- properties(Class<T>, String...) - Static method in class fj.test.reflect.Check
-
Returns all properties, their name and possible check parameters in a given class that are
found reflectively and according to various annotations.
- Property - Class in fj.test
-
Represents an algebraic property about a program that may be
checked
for its truth value.
- property(Arbitrary<A>, Shrink<A>, F<A, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, F<A, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Shrink<A>, Shrink<B>, F<A, F<B, Property>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, F<A, F<B, Property>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Shrink<A>, Shrink<B>, F2<A, B, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, F2<A, B, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Shrink<A>, Shrink<B>, Shrink<C>, F<A, F<B, F<C, Property>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, F<A, F<B, F<C, Property>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Shrink<A>, Shrink<B>, Shrink<C>, F3<A, B, C, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, F3<A, B, C, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, F<A, F<B, F<C, F<D, Property>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, F<A, F<B, F<C, F<D, Property>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, F4<A, B, C, D, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, F4<A, B, C, D, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, F<A, F<B, F<C, F<D, F<E, Property>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, F<A, F<B, F<C, F<D, F<E, Property>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, F5<A, B, C, D, E, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, F5<A, B, C, D, E, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, F<A, F<B, F<C, F<D, F<E, F<F$, Property>>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, F<A, F<B, F<C, F<D, F<E, F<F$, Property>>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, F6<A, B, C, D, E, F$, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, F6<A, B, C, D, E, F$, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, Shrink<G>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, Property>>>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, Property>>>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, Shrink<G>, F7<A, B, C, D, E, F$, G, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, F7<A, B, C, D, E, F$, G, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Arbitrary<H>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, Shrink<G>, Shrink<H>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, Property>>>>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Arbitrary<H>, F<A, F<B, F<C, F<D, F<E, F<F$, F<G, F<H, Property>>>>>>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Arbitrary<H>, Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, Shrink<G>, Shrink<H>, F8<A, B, C, D, E, F$, G, H, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- property(Arbitrary<A>, Arbitrary<B>, Arbitrary<C>, Arbitrary<D>, Arbitrary<E>, Arbitrary<F$>, Arbitrary<G>, Arbitrary<H>, F8<A, B, C, D, E, F$, G, H, Property>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- propertyP(Arbitrary<A>, Shrink<A>, F<A, P1<Property>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- propertyP(Arbitrary<A>, F<A, P1<Property>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- propertyP(Arbitrary<A>, Arbitrary<B>, Shrink<A>, Shrink<B>, F<A, F<B, P1<Property>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- propertyP(Arbitrary<A>, Arbitrary<B>, F<A, F<B, P1<Property>>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- propertyP(Arbitrary<A>, Arbitrary<B>, Shrink<A>, Shrink<B>, F2<A, B, P1<Property>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- propertyP(Arbitrary<A>, Arbitrary<B>, F2<A, B, P1<Property>>) - Static method in class fj.test.Property
-
Returns a property where its result is derived from universal quantification across the
application of its arguments.
- propException(List<Arg<?>>, Throwable, int, int) - Static method in class fj.test.CheckResult
-
Returns a result that checking the property threw an exception.
- proven(List<Arg<?>>, int, int) - Static method in class fj.test.CheckResult
-
Returns a result that the property has been proven.
- proven(List<Arg<?>>) - Static method in class fj.test.Result
-
Returns a proven result.
- provenAsUnfalsified() - Method in class fj.test.Result
-
If this result is proven, alter it to be unfalsified with the same arguments; otherwise, return
this
.
- 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.
- put(S) - Static method in class fj.data.State
-
- SafeIO<E extends java.io.IOException,A> - Interface in fj.data
-
Created by MarkPerry on 3/07/2014.
- satisfy(P1<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(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.
- semigroup() - Method in class fj.Monoid
-
Returns a semigroup projection of this monoid.
- Semigroup<A> - Class in fj
-
Implementations must satisfy the law of associativity:
Associativity; forall x.
- 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.
- Seq<A> - Class in fj.data
-
Provides an immutable finite sequence, implemented as a finger tree.
- seqStrategy() - Static method in class fj.control.parallel.Strategy
-
Provides a strategy that performs sequential (non-concurrent) evaluation of its argument.
- 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(List<Promise<A>>) - Method in class fj.control.parallel.ParModule
-
List iteration inside a Promise.
- sequence(Stream<Promise<A>>) - Method in class fj.control.parallel.ParModule
-
Stream iteration inside a Promise.
- sequence(P1<Promise<A>>) - Method in class fj.control.parallel.ParModule
-
Traverses a product-1 inside a promise.
- 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>) - Static method in class fj.control.parallel.Promise
-
First-class version of the sequence function through 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(Either<X, B>) - Method in class fj.data.Either.LeftProjection
-
Anonymous bind through this projection.
- sequence(Either<A, X>) - Method in class fj.data.Either.RightProjection
-
Anonymous bind through this projection.
- 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(Stream<IO<A>>) - Static method in class fj.data.IOFunctions
-
- 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(List<B>) - Method in class fj.data.List
-
Performs a bind across each list element, but ignores the element value each time.
- 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(List<Option<A>>) - Static method in class fj.data.Option
-
Sequence 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(Stream<B>) - Method in class fj.data.Stream
-
Performs a bind across each stream element, but ignores the element value each time.
- 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(List<P1<A>>) - Static method in class fj.P1
-
Turns a List of P1s into a single P1 of a List.
- sequence(Stream<P1<A>>) - Static method in class fj.P1
-
Turns a stream of P1s into a single P1 of a stream.
- sequence(Array<P1<A>>) - Static method in class fj.P1
-
Turns an array of P1s into a single P1 of an array.
- sequence(Parser<I, B, E>) - Method in class fj.parser.Parser
-
Binds anonymously, ignoring the result value.
- sequence(List<Parser<I, A, E>>) - Static method in class fj.parser.Parser
-
- sequence(List<Gen<A>>) - Static method in class fj.test.Gen
-
Sequence the given generators through a
Gen.bind(F)
operation.
- sequence(Property) - Method in class fj.test.Property
-
Performs a sequence of this property with the given property.
- 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.
- 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.
- sequenceN(int, Gen<A>) - Static method in class fj.test.Gen
-
Sequences the given generator the given number of times through a
Gen.bind(F)
operation.
- 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.
- sequenceStream() - Method in class fj.control.parallel.ParModule
-
A first-class function that traverses a stream inside a promise.
- 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(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<P2<A, B>, C>>) - Method in class fj.P2
-
Applies a stream of comonadic functions to this product, returning a stream of values.
- set(int, A) - Method in class fj.data.Array
-
Sets the element at the given index to the given value.
- set(K, V) - Method in class fj.data.HashMap
-
Inserts the given key and value association into the hash map.
- set(A) - Method in class fj.data.HashSet
-
Insert the given element into this hash set.
- Set<A> - Class in fj.data
-
Provides an in-memory, immutable set, implemented as a red/black tree.
- 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.TreeMap
-
Inserts the given key and value association into the tree map.
- setEqual(Equal<A>) - Static method in class fj.Equal
-
Equal instance for sets.
- setK(F<A, B>, Ord<B>) - Static method in class fj.F1Functions
-
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(F2<A, B, C>, Ord<C>) - Static method in class fj.F2Functions
-
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 monoid for sets.
- setOrd(Ord<A>) - Static method in class fj.Ord
-
An order instance for the
Set
type.
- setSemigroup() - Static method in class fj.Semigroup
-
A semigroup for sets.
- setTree(Tree<A>) - Method in class fj.data.TreeZipper
-
Replaces the current node with the given tree.
- 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(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(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.
- show2D(Show<A>) - Static method in class fj.data.Tree
-
Provides a show instance that draws a 2-dimensional representation of a tree.
- show_() - Method in class fj.Show
-
Returns the transformation equivalent to this show.
- 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.
- Shrink<A> - Class in fj.test
-
Represents a shrinking strategy over the given type parameter if that type can be represented as
a tree structure.
- shrink(A) - Method in class fj.test.Shrink
-
Returns a shrink of the given argument.
- shrink(F<A, Stream<A>>) - Static method in class fj.test.Shrink
-
Constructs a shrink strategy from the given function that produces a tree of values given a
value.
- shrinkArray(Shrink<A>) - Static method in class fj.test.Shrink
-
Returns a shrink strategy for arrays.
- shrinkArrayBlockingQueue(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for array blocking queues.
- shrinkArrayList(Shrink<A>) - Static method in class fj.test.Shrink
-
Returns a shrink strategy for array lists.
- shrinkBigDecimal - Static variable in class fj.test.Shrink
-
A shrink strategy for big decimals.
- shrinkBigInteger - Static variable in class fj.test.Shrink
-
A shrink strategy for big integers.
- shrinkBitSet - Static variable in class fj.test.Shrink
-
A shrink strategy for bit sets.
- shrinkBoolean - Static variable in class fj.test.Shrink
-
A shrink strategy for booleans using false as the bottom of the shrink.
- shrinkByte - Static variable in class fj.test.Shrink
-
A shrink strategy for bytes using 0 as the bottom of the shrink.
- shrinkCalendar - Static variable in class fj.test.Shrink
-
A shrink strategy for calendars.
- shrinkCharacter - Static variable in class fj.test.Shrink
-
A shrink strategy for characters using 0 as the bottom of the shrink.
- shrinkConcurrentHashMap(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for concurrent hash maps.
- shrinkConcurrentLinkedQueue(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for concurrent linked queues.
- shrinkCopyOnWriteArrayList(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for copy on write array lists.
- shrinkCopyOnWriteArraySet(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for copy on write array sets.
- shrinkDate - Static variable in class fj.test.Shrink
-
A shrink strategy for dates.
- shrinkDelayQueue(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for delay queues.
- shrinkDouble - Static variable in class fj.test.Shrink
-
A shrink strategy for doubles using 0 as the bottom of the shrink.
- shrinkEither(Shrink<A>, Shrink<B>) - Static method in class fj.test.Shrink
-
Returns a shrink strategy for either values.
- shrinkEnumMap(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for enum maps.
- shrinkEnumSet(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for enum sets.
- shrinkFloat - Static variable in class fj.test.Shrink
-
A shrink strategy for floats using 0 as the bottom of the shrink.
- shrinkGregorianCalendar - Static variable in class fj.test.Shrink
-
A shrink strategy for gregorian calendars.
- shrinkHashMap(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for hash maps.
- shrinkHashSet(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for hash sets.
- shrinkHashtable(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for hash tables.
- shrinkIdentityHashMap(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for identity hash maps.
- shrinkInteger - Static variable in class fj.test.Shrink
-
A shrink strategy for integers using 0 as the bottom of the shrink.
- shrinkLinkedBlockingQueue(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for linked blocking queues.
- shrinkLinkedHashMap(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for linked hash maps.
- shrinkLinkedHashSet(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for linked hash sets.
- shrinkLinkedList(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for linked lists.
- shrinkList(Shrink<A>) - Static method in class fj.test.Shrink
-
Returns a shrink strategy for lists.
- shrinkLong - Static variable in class fj.test.Shrink
-
A shrink strategy for longs using 0 as the bottom of the shrink.
- shrinkOption(Shrink<A>) - Static method in class fj.test.Shrink
-
Returns a shrink strategy for optional values.
- shrinkP1(Shrink<A>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-1 values.
- shrinkP2(Shrink<A>, Shrink<B>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-2 values.
- shrinkP3(Shrink<A>, Shrink<B>, Shrink<C>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-3 values.
- shrinkP4(Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-4 values.
- shrinkP5(Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-5 values.
- shrinkP6(Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-6 values.
- shrinkP7(Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, Shrink<G>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-7 values.
- shrinkP8(Shrink<A>, Shrink<B>, Shrink<C>, Shrink<D>, Shrink<E>, Shrink<F$>, Shrink<G>, Shrink<H>) - Static method in class fj.test.Shrink
-
Returns a shrinking strategy for product-8 values.
- shrinkPriorityBlockingQueue(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for priority blocking queues.
- shrinkPriorityQueue(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for priority queues.
- shrinkProperties - Static variable in class fj.test.Shrink
-
A shrink strategy for properties.
- shrinks() - Method in class fj.test.Arg
-
Returns the argument's number of shrinks following falsification.
- shrinkShort - Static variable in class fj.test.Shrink
-
A shrink strategy for shorts using 0 as the bottom of the shrink.
- shrinkSQLDate - Static variable in class fj.test.Shrink
-
A shrink strategy for SQL dates.
- shrinkStack(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for stacks.
- shrinkStream(Shrink<A>) - Static method in class fj.test.Shrink
-
Returns a shrink strategy for streams.
- shrinkString - Static variable in class fj.test.Shrink
-
A shrink strategy for strings using the empty string as the bottom of the shrink.
- shrinkStringBuffer - Static variable in class fj.test.Shrink
-
A shrink strategy for string buffers using the empty string as the bottom of the shrink.
- shrinkStringBuilder - Static variable in class fj.test.Shrink
-
A shrink strategy for string builders using the empty string as the bottom of the shrink.
- shrinkSynchronousQueue(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for synchronous queues.
- shrinkThrowable - Static variable in class fj.test.Shrink
-
A shrink strategy for throwables.
- shrinkThrowable(Shrink<String>) - Static method in class fj.test.Shrink
-
A shrink strategy for throwables.
- shrinkTime - Static variable in class fj.test.Shrink
-
A shrink strategy for SQL times.
- shrinkTimestamp - Static variable in class fj.test.Shrink
-
A shrink strategy for SQL timestamps.
- shrinkTreeMap(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for tree maps.
- shrinkTreeSet(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for tree sets.
- shrinkVector(Shrink<A>) - Static method in class fj.test.Shrink
-
A shrink strategy for vectors.
- shrinkWeakHashMap(Shrink<K>, Shrink<V>) - Static method in class fj.test.Shrink
-
A shrink strategy for weak hash maps.
- SimpleRNG - Class in fj
-
Created by MarkPerry on 7/07/2014.
- SimpleRNG() - Constructor for class fj.SimpleRNG
-
- SimpleRNG(long) - Constructor for class fj.SimpleRNG
-
- 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(A) - Static method in class fj.data.Array
-
Constructs a singleton array.
- single(A) - Method in class fj.data.fingertrees.MakeTree
-
Constructs a singleton tree.
- Single<V,A> - Class in fj.data.fingertrees
-
A tree with a single element.
- single(E) - Static method in class fj.data.hlist.HList
-
Returns a heterogeneous list consisting of a single element.
- 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(Ord<A>, A) - Static method in class fj.data.Set
-
Returns a set with a single element.
- single(A) - Static method in class fj.data.Stream
-
Returns a stream of one element containing the given value.
- 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.Zipper
-
Creates a new zipper with a single element.
- 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.
- sized(F<Integer, Gen<A>>) - Static method in class fj.test.Gen
-
Constructs a generator that can access its size construction arguments.
- 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.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(P1<A>) - Method in class fj.data.Stream
-
Append the given element to this stream to produce a new stream.
- some() - Method in class fj.data.Option
-
Returns the value from this optional value, or fails if there is no value.
- some(T) - Static method in class fj.data.Option
-
Constructs an optional value that has a value of the given argument.
- some_() - Static method in class fj.data.Option
-
- someOf(List<A>) - Static method in class fj.test.Gen
-
Returns a generator of lists that produces some of the values of the given list.
- 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.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(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a space character.
- space(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(F<Character, Boolean>) - Method in class fj.data.LazyString
-
Splits this lazy string by characters matching the given predicate.
- split(char) - Method in class fj.data.LazyString
-
Splits this lazy string by the given delimiter character.
- split(A) - Method in class fj.data.Set
-
Splits this set at the given element.
- 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(K) - Method in class fj.data.TreeMap
-
Splits this TreeMap at the given key.
- 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, C>, F<B, D>) - Static method in class fj.P2
-
A first-class version of the split function.
- splitAt(int) - Method in class fj.data.List
-
Splits this list into two lists at the given index.
- Stack_List() - Static method in class fj.data.Java
-
A function that converts stacks to lists.
- standard - Static variable in class fj.test.Rand
-
A standard random generator that uses Random
.
- startsWith(LazyString) - Method in class fj.data.LazyString
-
Returns true if the given lazy string is a prefix of this lazy string.
- startsWith() - Static method in class fj.data.LazyString
-
First-class prefix check.
- State<S,A> - Class in fj.data
-
Created by MarkPerry on 7/07/2014.
- stdinBufferedReader - Static variable in class fj.data.IOFunctions
-
- stdinReadLine() - 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<A> - Class in fj.control.parallel
-
Functional-style parallel evaluation strategies.
- strategy(F<P1<A>, P1<A>>) - Static method in class fj.control.parallel.Strategy
-
Constructs a strategy from the given evaluation function.
- Stream<A> - Class in fj.data
-
A lazy (not yet evaluated), immutable, singly linked list.
- stream(B, F<A, F<P1<Stream<A>>, B>>) - Method in class fj.data.Stream
-
Performs a reduction on this stream using the given arguments.
- stream(A...) - Static method in class fj.data.Stream
-
Constructs a stream with the given elements.
- 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_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.
- 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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function so that it returns its result in a Stream.
- streamM(F2<A, B, C>) - Static method in class fj.F2Functions
-
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.
- 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.
- string(P1<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(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.
- 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.
- 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.
- 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(Natural) - Method in class fj.data.Natural
-
Subtract a natural number from another.
- 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.
- 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.
- succeeded() - Method in class fj.test.CheckResult
-
Returns the number of succeeded checks of the property in this result.
- 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(P1<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.
- successK(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function so that it returns its result on the success side of an Validation.
- 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() - Method in class fj.data.fingertrees.Deep
-
Returns the last few elements of this tree.
- sum(V, V) - Method in class fj.data.fingertrees.Measured
-
Sums the given measurements with the monoid.
- sum() - Method in class fj.data.hlist.HPre.HAdd
-
- sum(Stream<Natural>) - Static method in class fj.data.Natural
-
Sums a stream of natural numbers.
- sum(List<Natural>) - Static method in class fj.data.Natural
-
Sums a list of natural numbers.
- sum(List<BigInteger>) - Static method in class fj.function.BigIntegers
-
Sums a list of big integers.
- 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(A, A) - Method in class fj.Monoid
-
Sums the two given arguments.
- sum(A) - Method in class fj.Monoid
-
Returns a function that sums the given value according to this monoid.
- sum() - Method in class fj.Monoid
-
Returns a function that sums according to this monoid.
- sum(A, A) - Method in class fj.Semigroup
-
Sums the two given arguments.
- sum(A) - Method in class fj.Semigroup
-
Returns a function that sums the given value according to this semigroup.
- sum() - Method in class fj.Semigroup
-
Returns a function that sums according to this semigroup.
- 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.
- sumLeft() - Method in class fj.Monoid
-
Returns a function that sums the given values with left-fold.
- sumLeftS() - Method in class fj.Monoid
-
Returns a function that sums the given values with left-fold.
- summary - Static variable in class fj.test.CheckResult
-
A rendering of a check result that summarises in one line.
- summary(Show<Arg<?>>) - Static method in class fj.test.CheckResult
-
A rendering of a check result that summarises in one line.
- summaryEx - Static variable in class fj.test.CheckResult
-
A rendering of a check result that summarises in one line but throws an exception in the result
is a failure (falsified, property exception or generator exception).
- summaryEx(Show<Arg<?>>) - Static method in class fj.test.CheckResult
-
A rendering of a check result that summarises in one line but throws an exception in the result
is a failure (falsified, property exception or generator exception).
- 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.
- sumRight() - Method in class fj.Monoid
-
Returns a function that sums the given values with right-fold.
- superclassParameters() - Method in class fj.Class
-
Provides this class's superclass type parameter information as a Tree of the type expression.
- suspend(P1<Trampoline<A>>) - Static method in class fj.control.Trampoline
-
Suspends the given computation in a thunk.
- suspend_() - Static method in class fj.control.Trampoline
-
- 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.P2
-
Swaps the elements around in this product.
- swap_() - Static method in class fj.P2
-
- SynchronousQueue_List() - Static method in class fj.data.Java
-
A function that converts synchronous queues to lists.
- 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
-
The list without the first element or fails for the empty list.
- tail - Variable in class fj.data.NonEmptyList
-
This list without the first element.
- 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_() - Static method in class fj.data.List
-
First-class tail function.
- 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(int) - Method in class fj.data.List
-
Takes the given number of elements from the head of this list if they are available.
- take() - Static method in class fj.data.List
-
Provides a first-class version of take.
- take(int) - Method in class fj.data.Stream
-
Returns the first n
elements from the head of this stream.
- 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
-
- 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.
- titleCase(P1<E>, F<Character, E>) - Static method in class fj.parser.Parser.CharsParser
-
Returns a parser that produces a title-case character.
- titleCase(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() - 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.HashMap
-
- toArray() - Method in class fj.data.List
-
Returns a array projection of this list.
- toArray(Class<A[]>) - 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(Class<A[]>) - 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(Class<A[]>) - 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.
- 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.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.
- toDigit() - Method in class fj.data.fingertrees.Node
-
- toDigit() - Method in class fj.data.fingertrees.Node2
-
- toDigit() - Method in class fj.data.fingertrees.Node3
-
- toEither(P1<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 in Right
.
- toEither(P1<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 in Right
.
- toEither(P1<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 in Right
.
- toEither(P1<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 in Right
.
- 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 in Right
.
- toEither() - Static method in class fj.data.Option
-
A first-class version of the toEither method.
- toEither(P1<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 in Right
.
- toEither() - Method in class fj.data.Validation
-
Returns an either projection of this validation.
- toF1(TryCatch1<A, B, E>) - Static method in class fj.F1Functions
-
Promotes the TryCatch1 to a Validation that returns an Exception on the failure side and its result on the success side.
- toF2(TryCatch2<A, B, C, E>) - Static method in class fj.F2Functions
-
Promotes the TryCatch2 to a Validation that returns an Exception on the failure side and its result on the success side.
- toF3(TryCatch3<A, B, C, D, E>) - Static method in class fj.F3Functions
-
Promotes the TryCatch3 to a Validation that returns an Exception on the failure side and its result on the success side.
- toF4(TryCatch4<A, B, C, D, E, Z>) - Static method in class fj.F4Functions
-
Promotes the TryCatch4 to a Validation that returns an Exception on the failure side and its result on the success side.
- toF5(TryCatch5<A, B, C, D, E, F, Z>) - Static method in class fj.F5Functions
-
Promotes the TryCatch5 to a Validation that returns an Exception on the failure side and its result on the success side.
- toF6(TryCatch6<A, B, C, D, E, F, G, Z>) - Static method in class fj.F6Functions
-
Promotes the TryCatch6 to a Validation that returns an Exception on the failure side and its result on the success side.
- toF7(TryCatch7<A, B, C, D, E, F, G, H, Z>) - Static method in class fj.F7Functions
-
Promotes the TryCatch7 to a Validation that returns an Exception on the failure side and its result on the success side.
- toF8(TryCatch8<A, B, C, D, E, F, G, H, I, Z>) - Static method in class fj.F8Functions
-
Promotes the TryCatch8 to a Validation that returns an Exception on the failure side and its result on the success side.
- 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.
- 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
-
- 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() - 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.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.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.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_() - Static method in class fj.data.NonEmptyList
-
Returns a function that takes a non-empty list to a list.
- 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
in Some
.
- toOption() - Method in class fj.data.Array
-
Returns an option projection of this array; None
if empty, or the first element in
Some
.
- toOption() - Method in class fj.data.Either.LeftProjection
-
Returns this projection's value in Some
if it exists, otherwise
None
.
- toOption() - Method in class fj.data.Either.RightProjection
-
Returns this projection's value in Some
if it exists, otherwise
None
.
- toOption() - Method in class fj.data.HashMap
-
- toOption() - Method in class fj.data.List
-
Returns an option projection of this list; None
if empty, or the first element in
Some
.
- toOption() - Method in class fj.data.Stream
-
Returns an option projection of this stream; None
if empty, or the first element
in Some
.
- toOption() - Method in class fj.data.Validation.FailProjection
-
Returns the failing value in Some
if there is one, otherwise None
.
- toOption() - Method in class fj.data.Validation
-
Returns the success value in Some
if there is one, otherwise None
.
- toOption() - Method in class fj.test.Result
-
Returns a potential result for this result.
- toP1(TryCatch0<A, E>) - Static method in class fj.P1
-
Promotes the TryCatch0 to a Validation that returns an Exception on the failure side and its result on the success side.
- toSafeIO(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() - 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() - 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(A) - Method in class fj.data.Enumerator
-
Returns a stream of the values from this enumerator, starting at the given value, counting up.
- toStream() - Method in class fj.data.HashMap
-
- toStream - Static variable in class fj.data.LazyString
-
First-class conversion from lazy strings to streams.
- 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.Set
-
Returns a stream representation of this set.
- 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_() - 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.
- toString() - Method in class fj.data.Either
-
- toString - Static variable in class fj.data.LazyString
-
First-class conversion from lazy strings to String.
- toString() - Method in class fj.data.LazyString
-
Returns the String representation of this lazy string.
- 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.Option
-
- toString() - Method in class fj.data.Validation
-
- toString - Static variable in class fj.function.Characters
-
- 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
-
- 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
-
- 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
-
- 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
-
- traverse(List<A>, F<A, IO<B>>) - Static method in class fj.data.IOFunctions
-
Map each element of a structure to an action, evaluate these actions from left to right
and collect the results.
- 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.
- Tree<A> - Class in fj.data
-
Provides a lazy, immutable, non-empty, multi-way tree (a rose 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(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to return its value in a Tree.
- treeM(F2<A, B, C>) - Static method in class fj.F2Functions
-
Promotes this function to a function on Trees.
- TreeMap<K,V> - Class in fj.data
-
An immutable, in-memory map, backed by a red-black tree.
- 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<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>>>>) - 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() - Static method in class fj.data.TreeZipper
-
First-class constructor for tree zippers.
- treeZipperK(F<A, B>) - Static method in class fj.F1Functions
-
Promotes this function to return its value in a TreeZipper.
- Try - Class in fj
-
Created by mperry on 24/07/2014.
- Try() - Constructor for class fj.Try
-
- TryCatch0<A,E extends java.lang.Exception> - Interface in fj
-
A product of A
which may throw an Exception
.
- TryCatch1<A,B,E extends java.lang.Exception> - Interface in fj
-
A transformation function from A
to B
that may throw an Exception
.
- TryCatch2<A,B,C,E extends java.lang.Exception> - Interface in fj
-
A transformation function of arity-2 from A
and B
to C
that may throw an Exception
.
- TryCatch3<A,B,C,D,E extends java.lang.Exception> - Interface in fj
-
A transformation function of arity-3 from A
, B
and C
to D
that may throw an Exception
.
- TryCatch4<A,B,C,D,E,Z extends java.lang.Exception> - Interface in fj
-
A transformation function of arity-4 from A
, B
, C
and D
to E
that may throw an Exception
.
- TryCatch5<A,B,C,D,E,F,Z extends java.lang.Exception> - Interface in fj
-
A transformation function of arity-5 from A
, B
, C
, D
and E
to F
that may throw an Exception
.
- TryCatch6<A,B,C,D,E,F,G,Z extends java.lang.Exception> - Interface in fj
-
A transformation function of arity-6 from A
, B
, C
, D
, E
and F
to G
that may throw an Exception
.
- TryCatch7<A,B,C,D,E,F,G,H,Z extends java.lang.Exception> - Interface in fj
-
A transformation function of arity-7 from A
, B
, C
, D
, E
, F
and G
to H
that may throw an Exception
.
- TryCatch8<A,B,C,D,E,F,G,H,I,Z extends java.lang.Exception> - Interface in fj
-
A transformation function of arity-8 from A
, B
, C
, D
, E
, F
, G
and H
to I
that may throw an Exception
.
- 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.
- tuple(F2<A, B, C>) - Static method in class fj.F2Functions
-
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.
- typeParameterTree(Type) - Static method in class fj.Class
-
Provides type parameter information as a Tree of the type expression.
- _(B) - Static method in class fj.data.$
-
- _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.P2
-
Access the first element of the product.
- _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.
- _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() - 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.
- _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() - 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() - 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() - 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() - 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() - 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.
- __(B) - Static method in class fj.data.$
-
- __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.