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

A

accept(A) - Method in interface io.atlassian.fugue.Effect
Deprecated.
Adapt to the Java 8 interface.
addAll(Collection<A>, Iterable<? extends A>) - Static method in class io.atlassian.fugue.Iterables
Add all the elements of the iterable to the collection
all(Iterable<? extends A>, Predicate<? super A>) - Static method in class io.atlassian.fugue.Iterables
Check if all elements in the input iterable match the input predicate
all(Predicate<A>) - Method in class io.atlassian.fugue.optic.Fold
check if all targets satisfy the predicate
all(Predicate<A>) - Method in class io.atlassian.fugue.optic.PTraversal
check if all targets satisfy the predicate
alwaysFalse() - Static method in class io.atlassian.fugue.Suppliers
Supplies false.
alwaysNull() - Static method in class io.atlassian.fugue.Suppliers
Always returns null.
alwaysTrue() - Static method in class io.atlassian.fugue.Suppliers
Supplies true.
any(Iterable<? extends A>, Predicate<? super A>) - Static method in class io.atlassian.fugue.Iterables
Check if the iterable contains any elements that match the predicate.
ap(Either<L, Function<R, X>>) - Method in class io.atlassian.fugue.Either
Function application on this projection's value.
ap(Either<Function<L, X>, R>) - Method in class io.atlassian.fugue.Either.LeftProjection
Function application on this projection's value.
ap(Either<L, Function<R, X>>) - Method in class io.atlassian.fugue.Either.RightProjection
Function application on this projection's value.
ap(Function<C, A>, Function<C, Function<A, B>>) - Static method in class io.atlassian.fugue.Functions
Performs function application within a higher-order function (applicative functor pattern).
ap(Iterable<A>, Iterable<Function<A, B>>) - Static method in class io.atlassian.fugue.Iterables
Performs function application within an iterable (applicative functor pattern).
ap(Option<A>, Option<Function<A, B>>) - Static method in class io.atlassian.fugue.Options
Applies an option of A to an option of a function with input type A and result type B and return an option of B.
ap(Pair<A, A>, Pair<Function<A, B>, Function<A, B>>) - Static method in class io.atlassian.fugue.Pair
Performs function application within an homogeneous pair (applicative functor pattern).
ap(Supplier<A>, Supplier<Function<A, B>>) - Static method in class io.atlassian.fugue.Suppliers
Performs function application within a supplier (applicative functor pattern).
append(A, A) - Method in interface io.atlassian.fugue.Semigroup
Combine the two given arguments.
Applicant<A> - Interface in io.atlassian.fugue
A thing upon which side-effects may be applied.
apply(A) - Method in interface io.atlassian.fugue.Checked.Function
 
apply(A, B) - Method in interface io.atlassian.fugue.deprecated.Function2
Deprecated.
since 2.4 use BiFunction instead
apply(A) - Method in interface io.atlassian.fugue.Effect
Deprecated.
Perform the side-effect.
apply(Either<L, Function<R, X>>) - Method in class io.atlassian.fugue.Either
apply(Either<Function<L, X>, R>) - Method in class io.atlassian.fugue.Either.LeftProjection
Deprecated.
since 3.0
apply(Either<L, Function<R, X>>) - Method in class io.atlassian.fugue.Either.RightProjection
Deprecated.
since 3.0 see ap
apply(A, B, C) - Method in interface io.atlassian.fugue.extensions.functions.Function3
Applies this function to the given arguments.
apply(A, B, C, D) - Method in interface io.atlassian.fugue.extensions.functions.Function4
Applies this function to the given arguments.
apply(A, B, C, D, E) - Method in interface io.atlassian.fugue.extensions.functions.Function5
Applies this function to the given arguments.
apply(A, B, C, D, E, F) - Method in interface io.atlassian.fugue.extensions.functions.Function6
Applies this function to the given arguments.
apply(A) - Static method in class io.atlassian.fugue.Functions
Function that takes another function and applies it to the argument.
apply(Supplier<A>) - Static method in class io.atlassian.fugue.Functions
Function that takes another function and applies it to the argument supplied by the parameter.
apply(F) - Method in class io.atlassian.fugue.retry.RetryFunction
Attempt to apply parameter to the wrapped Function tries number of times.
asFold() - Method in class io.atlassian.fugue.optic.Getter
view a Getter with a Fold
asFold() - Method in class io.atlassian.fugue.optic.PIso
view a PIso as a Fold
asFold() - Method in class io.atlassian.fugue.optic.PLens
view a PLens as a Fold
asFold() - Method in class io.atlassian.fugue.optic.POptional
view a POptional as a Fold
asFold() - Method in class io.atlassian.fugue.optic.PPrism
view a PPrism as a Fold
asFold() - Method in class io.atlassian.fugue.optic.PTraversal
view a PTraversal as a Fold
asGetter() - Method in class io.atlassian.fugue.optic.PIso
view a PIso as a Getter
asGetter() - Method in class io.atlassian.fugue.optic.PLens
view a PLens as a Getter
asLens() - Method in class io.atlassian.fugue.optic.Iso
view an Iso as a Lens
asLens() - Method in class io.atlassian.fugue.optic.PIso
view a PIso as a PLens
asOptional() - Method in class io.atlassian.fugue.optic.Iso
view an Iso as a Optional
asOptional() - Method in class io.atlassian.fugue.optic.Lens
view a Lens as an Optional
asOptional() - Method in class io.atlassian.fugue.optic.PIso
view a PIso as a POptional
asOptional() - Method in class io.atlassian.fugue.optic.PLens
view a PLens as an POptional
asOptional() - Method in class io.atlassian.fugue.optic.PPrism
view a PPrism as a POptional
asOptional() - Method in class io.atlassian.fugue.optic.Prism
view a Prism as a Optional
asPrism() - Method in class io.atlassian.fugue.optic.Iso
view an Iso as a Prism
asPrism() - Method in class io.atlassian.fugue.optic.PIso
view a PIso as a PPrism
asSetter() - Method in class io.atlassian.fugue.optic.Iso
view an Iso as a Setter
asSetter() - Method in class io.atlassian.fugue.optic.Lens
view a Lens as a Setter
asSetter() - Method in class io.atlassian.fugue.optic.Optional
view a Optional as a Setter
asSetter() - Method in class io.atlassian.fugue.optic.PIso
view a PIso as a Setter
asSetter() - Method in class io.atlassian.fugue.optic.PLens
view a PLens as a PSetter
asSetter() - Method in class io.atlassian.fugue.optic.POptional
view a POptional as a PSetter
asSetter() - Method in class io.atlassian.fugue.optic.PPrism
view a PPrism as a Setter
asSetter() - Method in class io.atlassian.fugue.optic.Prism
view a Prism as a Setter
asSetter() - Method in class io.atlassian.fugue.optic.PTraversal
view a PTraversal as a PSetter
asSetter() - Method in class io.atlassian.fugue.optic.Traversal
view a Traversal as a Setter
asTraversal() - Method in class io.atlassian.fugue.optic.Iso
view an Iso as a Traversal
asTraversal() - Method in class io.atlassian.fugue.optic.Lens
view a Lens as a Traversal
asTraversal() - Method in class io.atlassian.fugue.optic.Optional
view a Optional as a Traversal
asTraversal() - Method in class io.atlassian.fugue.optic.PIso
view a PIso as a PTraversal
asTraversal() - Method in class io.atlassian.fugue.optic.PLens
view a PLens as a PTraversal
asTraversal() - Method in class io.atlassian.fugue.optic.POptional
view a POptional as a PTraversal
asTraversal() - Method in class io.atlassian.fugue.optic.PPrism
view a PPrism as a PTraversal
asTraversal() - Method in class io.atlassian.fugue.optic.Prism
view a Prism as a Traversal
attempt() - Method in interface io.atlassian.fugue.Checked.Supplier
 

B

BeforeRetryExponentialBackoffTask - Class in io.atlassian.fugue.retry
A backoff task for use in a retry -function, -supplier, or -task.
BeforeRetryExponentialBackoffTask(long) - Constructor for class io.atlassian.fugue.retry.BeforeRetryExponentialBackoffTask
Constructor for BeforeRetryExponentialBackoffTask.
BeforeRetryLinearBackoffTask - Class in io.atlassian.fugue.retry
A backoff task for use in a retry -function, -supplier, or -task.
BeforeRetryLinearBackoffTask(long) - Constructor for class io.atlassian.fugue.retry.BeforeRetryLinearBackoffTask
Constructor for BeforeRetryLinearBackoffTask.
begin(Either<LEFT, A>) - Static method in class io.atlassian.fugue.extensions.step.Steps
Begin a new Steps expresison, using the Either type.
begin(Option<A>) - Static method in class io.atlassian.fugue.extensions.step.Steps
Begin a new Steps expresison, using the Option type.
begin(Optional<A>) - Static method in class io.atlassian.fugue.extensions.step.Steps
Begin a new Steps expresison, using the Optional type.
begin(Try<A>) - Static method in class io.atlassian.fugue.extensions.step.Steps
Begin a new Steps expresison, using the Try type.
bigDecimalMaximum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the maximum of big decimals.
bigDecimalMinimum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the minimum of big decimals.
bigintAddition - Static variable in class io.atlassian.fugue.Monoids
A monoid that adds big integers.
bigintMaximum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the maximum of big integers.
bigintMinimum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the minimum of big integers.
bigintMultiplication - Static variable in class io.atlassian.fugue.Monoids
A monoid that multiplies big integers.
bimap(Function<? super L, ? extends LL>, Function<? super R, ? extends RR>) - Method in class io.atlassian.fugue.Either
Map the given functions across the appropriate side.

C

chain(ExceptionHandler...) - Static method in class io.atlassian.fugue.retry.ExceptionHandlers
Chain a series of ExceptionHandlers together to be executed subsequently; if one throws an exception, subsequent handlers will not be executed.
Checked - Class in io.atlassian.fugue
Helpers to work with functions that may throw exceptions.
Checked.Function<A,B,E extends Exception> - Interface in io.atlassian.fugue
Represents a Checked.Function that may throw an exception.
Checked.Supplier<A,E extends Exception> - Interface in io.atlassian.fugue
Represents a Checked.Supplier that may throw an exception.
codiagonal() - Static method in class io.atlassian.fugue.optic.Fold
 
codiagonal() - Static method in class io.atlassian.fugue.optic.Getter
 
codiagonal() - Static method in class io.atlassian.fugue.optic.Setter
 
codiagonal() - Static method in class io.atlassian.fugue.optic.Traversal
 
collect(Map<K1, V1>, Function<Map.Entry<K1, V1>, Option<Map.Entry<K2, V2>>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Filters and maps (aka transforms) the source map.
collect(Map<K1, V1>, Function<? super K1, Option<K2>>, Function<? super V1, Option<V2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Filters and maps (aka transforms) the source map.
collect(Iterable<? extends A>, Function<? super A, Option<B>>) - Static method in class io.atlassian.fugue.Iterables
Filters and maps (aka transforms) the unfiltered iterable.
collect(Iterable<T>, Collector<T, A, R>) - Static method in class io.atlassian.fugue.Iterables
Uses a Collector to collect/reduce an Iterable.
collectByKey(Map<K1, V>, Function<? super K1, Option<K2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Filters and maps (aka transforms) the source map.
collectByValue(Map<K, V1>, Function<? super V1, Option<V2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Filters and maps (aka transforms) the source map.
compose(Function<? super B, ? extends C>, Function<? super A, ? extends B>) - Static method in class io.atlassian.fugue.Functions
Returns the composition of two functions.
compose(Monoid<A>, Monoid<B>) - Static method in interface io.atlassian.fugue.Monoid
Composes a monoid with another.
compose(Semigroup<A>, Semigroup<B>) - Static method in interface io.atlassian.fugue.Semigroup
Composes a semigroup with another.
compose(Function<? super A, B>, Supplier<A>) - Static method in class io.atlassian.fugue.Suppliers
Create a new Supplier by transforming the result calling the first Supplier
composeFold(Fold<A, B>) - Method in class io.atlassian.fugue.optic.Fold
compose a Fold with a Fold
composeFold(Fold<A, B>) - Method in class io.atlassian.fugue.optic.Getter
compose a Getter with a Fold
composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a Fold
composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with a Fold
composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a Fold
composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a Fold
composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a Fold
composeFold(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a Getter
composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.Fold
compose a Fold with a Getter
composeGetter(Getter<A, B>) - Method in class io.atlassian.fugue.optic.Getter
compose a Getter with a Getter
composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a Getter
composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with a Getter
composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a Getter
composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a Getter
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Fold
compose a Fold with a PIso
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
compose a Getter with a PIso
composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Iso
compose an Iso with an Iso
composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Lens
compose a Lens with an Iso
composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Optional
compose a Optional with an Iso
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a PIso
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with an PIso
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a PIso
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a PIso
composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Prism
compose a Prism with an Iso
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
compose a PSetter with a PIso
composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a PIso
composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Setter
compose a Setter with an Iso
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Fold
compose a Fold with a PLens
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
compose a Getter with a PLens
composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Iso
compose an Iso with a Lens
composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Lens
compose a Lens with a Lens
composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Optional
compose a Optional with a Lens
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a PLens
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with a PLens
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a PLens
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a PLens
composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Prism
compose a Prism with a Lens
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
compose a PSetter with a PLens
composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a PLens
composeOption(Function<? super B, ? extends Option<? extends C>>, Function<? super A, ? extends Option<? extends B>>) - Static method in class io.atlassian.fugue.Functions
Compose two PartialFunctions into one.
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Fold
compose a Fold with a POptional
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
compose a Getter with a POptional
composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Iso
compose an Iso with a Optional
composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Lens
compose a Lens with an Optional
composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Optional
compose a Optional with a Optional
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a POptional
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with an POptional
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a POptional
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a POptional
composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Prism
compose a Prism with a Optional
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
compose a PSetter with a POptional
composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a POptional
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Fold
compose a Fold with a PPrism
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
compose a Getter with a PPrism
composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Iso
compose an Iso with a Prism
composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Lens
compose a Lens with a Prism
composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Optional
compose a Optional with a Prism
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a PPrism
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with a PPrism
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a PPrism
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a PPrism
composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Prism
compose a Prism with a Prism
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
compose a PSetter with a PPrism
composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a PPrism
composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Iso
compose an Iso with a Setter
composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Lens
compose a Lens with a Setter
composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Optional
compose a Optional with a Setter
composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a PSetter
composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with a PSetter
composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a PSetter
composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a PSetter
composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Prism
compose a Prism with a Setter
composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
compose a PSetter with a PSetter
composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a PSetter
composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Setter
compose a Setter with a Setter
composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Traversal
compose a Traversal with a Setter
composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Iso
compose an Iso with a Traversal
composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Lens
compose a Lens with a Traversal
composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Optional
compose a Optional with a Traversal
composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
compose a PIso with a PTraversal
composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
compose a PLens with a PTraversal
composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
compose a POptional with a PTraversal
composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
compose a PPrism with a PTraversal
composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Prism
compose a Prism with a Traversal
composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
compose a PSetter with a PTraversal
composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
compose a PTraversal with a PTraversal
composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Setter
compose a Setter with a Traversal
composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Traversal
compose a Traversal with a Traversal
concat(Iterable<? extends A>...) - Static method in class io.atlassian.fugue.Iterables
Concatenate a series of iterables into a single iterable.
cond(boolean, L, R) - Static method in class io.atlassian.fugue.Eithers
Creates an Either based on a boolean expression.
conjunction - Static variable in class io.atlassian.fugue.Monoids
A monoid that ANDs booleans.
constant(B) - Static method in class io.atlassian.fugue.Functions
Create a function ignores it's input an produces a constant value
create(Runnable, int) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a runnable so that it retries a number of times before being allowed to fail.
create(Runnable, int, ExceptionHandler) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a runnable so that it retries a number of times before being allowed to fail.
create(Runnable, int, ExceptionHandler, long) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a runnable so that it retries a number of times before being allowed to fail, backing off exponentially in time.
create(Supplier<A>, int) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a supplier so that it retries a number of times before being allowed to fail.
create(Supplier<A>, int, ExceptionHandler) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a supplier so that it retries a number of times before being allowed to fail.
create(Supplier<A>, int, ExceptionHandler, long) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a supplier so that it retries a number of times before being allowed to fail, backing-off in time exponentially.
create(Function<A, B>, int) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a function so that it retries a number of times before being allowed to fail.
create(Function<A, B>, int, ExceptionHandler) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a function so that it retries a number of times before being allowed to fail.
create(Function<A, B>, int, ExceptionHandler, long) - Static method in class io.atlassian.fugue.retry.RetryFactory
Decorates a function so that it retries a number of times before being allowed to fail.
curried(BiFunction<A, B, C>) - Static method in class io.atlassian.fugue.Functions
Transforms a function that takes 2 arguments into a function that takes the first argument and return a new function that takes the second argument and return the final result.
cycle(A...) - Static method in class io.atlassian.fugue.Iterables
Return an infinite iterable that cycles through the input values in order in a loop.
cycle(Iterable<? extends A>) - Static method in class io.atlassian.fugue.Iterables
Return an infinite iterable that cycles through the input values in order in a loop.

D

defined() - Static method in class io.atlassian.fugue.Option
Predicate for filtering defined options only.
delay(Checked.Supplier<A, E>) - Static method in class io.atlassian.fugue.Checked
Create a new delayed Try representing a delayed evaluation of a potentially exception throwing operation.
delayed(Supplier<Try<A>>) - Static method in class io.atlassian.fugue.Try
Creates a delayed Try, which will return either a Failure or a Success when evaluated.
delayedLift(Checked.Function<A, B, E>) - Static method in class io.atlassian.fugue.Checked
Lifts a function that potentially throws into a function that either returns a delayed Try, which, when evaluated, returns a Success of the result or a failure containing the thrown exception.
disjunction - Static variable in class io.atlassian.fugue.Monoids
A monoid that ORs booleans.
doShrink(SourceOfRandomness, Either<?, ?>) - Method in class io.atlassian.fugue.quickcheck.EitherGenerator
 
doShrink(SourceOfRandomness, Option<?>) - Method in class io.atlassian.fugue.quickcheck.OptionGenerator
 
drop(int, Iterable<A>) - Static method in class io.atlassian.fugue.Iterables
Drop the first n as and return the rest.
dropWhile(Iterable<A>, Predicate<A>) - Static method in class io.atlassian.fugue.Iterables
Drop elements of as until an element returns false for p#test
dual(Monoid<A>) - Static method in interface io.atlassian.fugue.Monoid
Return the dual Monoid.
dual(Semigroup<A>) - Static method in interface io.atlassian.fugue.Semigroup
Return the dual Semigroup of a semigroup

E

Effect<A> - Interface in io.atlassian.fugue
Deprecated.
in favour of Consumer
Effect.Applicant<A> - Interface in io.atlassian.fugue
Deprecated.
in favour of Iterable
Either<L,R> - Class in io.atlassian.fugue
A class that acts as a container for a value of one of two types.
either() - Method in interface io.atlassian.fugue.Either.Projection
The either value underlying this projection.
either(Semigroup<L>, Monoid<R>) - Static method in class io.atlassian.fugue.Monoids
either(Semigroup<L>, Semigroup<R>) - Static method in class io.atlassian.fugue.Semigroups
Sums up values inside either, if both are left or right.
Either.LeftProjection - Class in io.atlassian.fugue
A left projection of an either value.
Either.Projection<A,B,L,R> - Interface in io.atlassian.fugue
 
Either.RightProjection - Class in io.atlassian.fugue
A right projection of an either value.
EitherGenerator - Class in io.atlassian.fugue.quickcheck
Produces values of type Either.
EitherGenerator() - Constructor for class io.atlassian.fugue.quickcheck.EitherGenerator
 
EitherMatchers - Class in io.atlassian.fugue.hamcrest
 
EitherOptics - Class in io.atlassian.fugue.optic.std
 
Eithers - Class in io.atlassian.fugue
Utility functions for Eithers.
EitherStep1<A,LEFT> - Class in io.atlassian.fugue.extensions.step
The first step of the Either type.
EitherStep2<A,B,LEFT> - Class in io.atlassian.fugue.extensions.step
The second step of the Either type.
EitherStep3<A,B,C,LEFT> - Class in io.atlassian.fugue.extensions.step
The third step of the Either type.
EitherStep4<A,B,C,D,LEFT> - Class in io.atlassian.fugue.extensions.step
The fourth step of the Either type.
EitherStep5<A,B,C,D,E,LEFT> - Class in io.atlassian.fugue.extensions.step
The fifth step of the Either type.
EitherStep6<A,B,C,D,E,F,LEFT> - Class in io.atlassian.fugue.extensions.step
The sixth step of the Either type.
emptyIterable() - Static method in class io.atlassian.fugue.Iterables
Returns an empty iterable, that is, an Iterable with an Iterator for which hasNext() always returns false, and the other methods throw appropriate exceptions if called.
equals(Object) - Method in class io.atlassian.fugue.Option
equals(Object) - Method in class io.atlassian.fugue.Pair
ExceptionHandler - Interface in io.atlassian.fugue.retry
Takes action when an Exception is thrown.
ExceptionHandlers - Class in io.atlassian.fugue.retry
Provides some standard implementations of various exception actions.
exclusiveDisjunction - Static variable in class io.atlassian.fugue.Monoids
A monoid that XORs booleans.
exist(Predicate<A>) - Method in class io.atlassian.fugue.optic.Fold
check if at least one target satisfies the predicate
exist(Predicate<A>) - Method in class io.atlassian.fugue.optic.PTraversal
check if at least one target satisfies the predicate
exists(Predicate<? super R>) - Method in class io.atlassian.fugue.Either
Return `true` if this is a right value and applying the predicate to the contained value returns true.
exists(Predicate<? super A>) - Method in interface io.atlassian.fugue.Maybe
Whether this is is defined and applying the predicate to the contained value returns true.
exists(Predicate<? super A>) - Method in class io.atlassian.fugue.Option
Whether this is is defined and applying the predicate to the contained value returns true.

F

failure(Exception) - Static method in class io.atlassian.fugue.Try
Creates a new failure
filter(Predicate<? super R>) - Method in class io.atlassian.fugue.Either
Returns None if this is a left or if the given predicate p does not hold for the contained value, otherwise, returns a right in Some.
filter(Predicate<? super L>) - Method in class io.atlassian.fugue.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 left in Some.
filter(Predicate<? super R>) - Method in class io.atlassian.fugue.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 right in Some.
filter(Predicate<? super A>, Supplier<? extends LEFT>) - Method in class io.atlassian.fugue.extensions.step.EitherStep1
Apply the provided predicate with the previous step results.
filter(BiPredicate<? super A, ? super B>, Supplier<? extends LEFT>) - Method in class io.atlassian.fugue.extensions.step.EitherStep2
Apply the provided predicate with the previous step results.
filter(Predicate3<? super A, ? super B, ? super C>, Supplier<? extends LEFT>) - Method in class io.atlassian.fugue.extensions.step.EitherStep3
Apply the provided predicate with the previous step results.
filter(Predicate4<? super A, ? super B, ? super C, ? super D>, Supplier<? extends LEFT>) - Method in class io.atlassian.fugue.extensions.step.EitherStep4
Apply the provided predicate with the previous step results.
filter(Predicate5<? super A, ? super B, ? super C, ? super D, ? super E>, Supplier<? extends LEFT>) - Method in class io.atlassian.fugue.extensions.step.EitherStep5
Apply the provided predicate with the previous step results.
filter(Predicate6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F>, Supplier<? extends LEFT>) - Method in class io.atlassian.fugue.extensions.step.EitherStep6
Apply the provided predicate with the previous step results.
filter(Predicate<? super A>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep1
Apply the provided predicate with the previous step results.
filter(BiPredicate<? super A, ? super B>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep2
Apply the provided predicate with the previous step results.
filter(Predicate3<? super A, ? super B, ? super C>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep3
Apply the provided predicate with the previous step results.
filter(Predicate4<? super A, ? super B, ? super C, ? super D>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep4
Apply the provided predicate with the previous step results.
filter(Predicate5<? super A, ? super B, ? super C, ? super D, ? super E>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep5
Apply the provided predicate with the previous step results.
filter(Predicate6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep6
Apply the provided predicate with the previous step results.
filter(Predicate<? super A>) - Method in class io.atlassian.fugue.extensions.step.OptionStep1
Apply the provided predicate with the previous step results.
filter(BiPredicate<? super A, ? super B>) - Method in class io.atlassian.fugue.extensions.step.OptionStep2
Apply the provided predicate with the previous step results.
filter(Predicate3<? super A, ? super B, ? super C>) - Method in class io.atlassian.fugue.extensions.step.OptionStep3
Apply the provided predicate with the previous step results.
filter(Predicate4<? super A, ? super B, ? super C, ? super D>) - Method in class io.atlassian.fugue.extensions.step.OptionStep4
Apply the provided predicate with the previous step results.
filter(Predicate5<? super A, ? super B, ? super C, ? super D, ? super E>) - Method in class io.atlassian.fugue.extensions.step.OptionStep5
Apply the provided predicate with the previous step results.
filter(Predicate6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F>) - Method in class io.atlassian.fugue.extensions.step.OptionStep6
Apply the provided predicate with the previous step results.
filter(Predicate<? super A>, Supplier<Exception>) - Method in class io.atlassian.fugue.extensions.step.TryStep1
Apply the provided predicate with the previous step results.
filter(BiPredicate<? super A, ? super B>, Supplier<Exception>) - Method in class io.atlassian.fugue.extensions.step.TryStep2
Apply the provided predicate with the previous step results.
filter(Predicate3<? super A, ? super B, ? super C>, Supplier<Exception>) - Method in class io.atlassian.fugue.extensions.step.TryStep3
Apply the provided predicate with the previous step results.
filter(Predicate4<? super A, ? super B, ? super C, ? super D>, Supplier<Exception>) - Method in class io.atlassian.fugue.extensions.step.TryStep4
Apply the provided predicate with the previous step results.
filter(Predicate5<? super A, ? super B, ? super C, ? super D, ? super E>, Supplier<Exception>) - Method in class io.atlassian.fugue.extensions.step.TryStep5
Apply the provided predicate with the previous step results.
filter(Predicate6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F>, Supplier<Exception>) - Method in class io.atlassian.fugue.extensions.step.TryStep6
Apply the provided predicate with the previous step results.
filter(Iterable<A>, Predicate<? super A>) - Static method in class io.atlassian.fugue.Iterables
Remove elements from the input iterable for which the predicate returns false
filter(Predicate<? super A>) - Method in class io.atlassian.fugue.Option
Returns this Option if it is nonempty and applying the predicate to this option's value returns true.
filterLeft(Iterable<Either<L, R>>) - Static method in class io.atlassian.fugue.Eithers
Takes an Iterable of eithers, and collects the left values of every either which has a left value
filterNone(Iterable<Option<A>>) - Static method in class io.atlassian.fugue.Options
Filter out undefined options.
filterOrElse(Predicate<? super R>, Supplier<? extends L>) - Method in class io.atlassian.fugue.Either
Return a Right if this is a Right and the contained values satisfies the given predicate.
filterOrElse(Predicate<? super L>, Supplier<? extends R>) - Method in class io.atlassian.fugue.Either.LeftProjection
Return a Left if this is a Left and the contained values satisfies the given predicate.
filterOrElse(Predicate<? super R>, Supplier<? extends L>) - Method in class io.atlassian.fugue.Either.RightProjection
Return a Right if this is a Right and the contained values satisfies the given predicate.
filterOrElse(Predicate<? super A>, Supplier<Exception>) - Method in class io.atlassian.fugue.Try
Return a Success if this is a Success and the contained values satisfies the given predicate.
filterRight(Iterable<Either<L, R>>) - Static method in class io.atlassian.fugue.Eithers
Takes an Iterable of eithers, and collects the right values of every either which has a left value
find(Predicate<A>) - Method in class io.atlassian.fugue.optic.Fold
find the first target of a Fold matching the predicate
find(Predicate<A>) - Method in class io.atlassian.fugue.optic.PTraversal
find the first target of a PTraversal matching the predicate
find(Iterable<Option<A>>) - Static method in class io.atlassian.fugue.Options
Find the first option that isDefined, or if there aren't any, then none.
findFirst(Iterable<? extends T>, Predicate<? super T>) - Static method in class io.atlassian.fugue.Iterables
Finds the first item that matches the predicate.
findFirst(Predicate<? super A>) - Static method in class io.atlassian.fugue.Iterables
Partial application of the predicate argument to Iterables.findFirst(Iterable, Predicate) returning a function that takes an Iterable as its argument
first(Iterable<A>) - Static method in class io.atlassian.fugue.Iterables
If as is empty, returns none().
first() - Method in class io.atlassian.fugue.optic.Getter
 
first() - Method in class io.atlassian.fugue.optic.Iso
 
first() - Method in class io.atlassian.fugue.optic.Optional
 
first() - Method in class io.atlassian.fugue.optic.PIso
 
first() - Method in class io.atlassian.fugue.optic.POptional
 
first() - Static method in class io.atlassian.fugue.Semigroups
Return the first value, ignore the second
firstOption() - Static method in class io.atlassian.fugue.Monoids
A monoid for options (that take the first available value).
flatMap(Function<? super R, Either<LL, X>>) - Method in class io.atlassian.fugue.Either
Binds the given function across the right hand side value if it is one.
flatMap(Function<? super L, Either<X, RR>>) - Method in class io.atlassian.fugue.Either.LeftProjection
Binds the given function across this projection's value if it has one.
flatMap(Function<? super R, Either<LL, X>>) - Method in class io.atlassian.fugue.Either.RightProjection
Binds the given function across this projection's value if it has one.
flatMap(Iterable<A>, Function<? super A, ? extends Iterable<? extends B>>) - Static method in class io.atlassian.fugue.Iterables
Applies f to each element of collection, then concatenates the result.
flatMap(Function<? super A, ? extends Option<? extends B>>) - Method in class io.atlassian.fugue.Option
Apply f to the value if defined.
flatMap(Function<? super A, Try<B>>) - Method in class io.atlassian.fugue.Try
Binds the given function across the success value if it is one.
flatten(Iterable<Option<A>>) - Static method in class io.atlassian.fugue.Options
Flattens an Iterable of options into an iterable of the things, filtering out any nones.
flatten(Try<Try<A>>) - Static method in class io.atlassian.fugue.Try
Reduces a nested Try by a single level
flip(Function<A, Function<B, C>>) - Static method in class io.atlassian.fugue.Functions
Transforms a function from A -> (B -> C) into a function from B -> (A -> C).
fold(Function<? super L, V>, Function<? super R, V>) - Method in class io.atlassian.fugue.Either
Applies the function to the wrapped value, applying ifLeft if this is a Left and ifRight if this is a Right.
fold(BiFunction<? super T, F, T>, T, Iterable<? extends F>) - Static method in class io.atlassian.fugue.Functions
Apply f to each element in elements, with each application using the result of the previous application as the other argument to f.
fold(Function<Pair<S, F>, T>, T, Iterable<? extends F>) - Static method in class io.atlassian.fugue.Functions
Apply f to each element in elements, with each application using the result of the previous application as the other argument to f.
Fold<S,A> - Class in io.atlassian.fugue.optic
A Fold can be seen as a Getter with many targets or a weaker PTraversal which cannot modify its target.
Fold() - Constructor for class io.atlassian.fugue.optic.Fold
 
fold(Monoid<A>) - Method in class io.atlassian.fugue.optic.Fold
combine all targets using a target's Monoid
fold(Monoid<A>) - Method in class io.atlassian.fugue.optic.PTraversal
combine all targets using a target's Monoid
fold(Supplier<? extends B>, Function<? super A, ? extends B>) - Method in class io.atlassian.fugue.Option
If this is a some value apply the some function, otherwise get the None value.
fold(Function<? super Exception, B>, Function<A, B>) - Method in class io.atlassian.fugue.Try
Applies the function to the wrapped value, applying failureF it this is a Failure and successF if this is a Success.
foldMap(Monoid<M>, Function<A, M>) - Method in class io.atlassian.fugue.optic.Fold
map each target to a Monoid and combine the results underlying representation of Fold, all Fold methods are defined in terms of foldMap
foldMap(Monoid<M>, Function<A, M>) - Method in class io.atlassian.fugue.optic.PTraversal
map each target to a Monoid and combine the results
foldMap(Monoid<M>, Function<A, M>) - Method in class io.atlassian.fugue.optic.Traversal
 
forall(Predicate<? super R>) - Method in class io.atlassian.fugue.Either
Returns true if it is a left or the result of the application of the given predicate on the contained value.
forall(Predicate<? super A>) - Method in interface io.atlassian.fugue.Maybe
Returns true if empty or the result of the application of the given function to the value.
forall(Predicate<? super A>) - Method in class io.atlassian.fugue.Option
Returns true if empty or the result of the application of the given function to the value.
forEach(Consumer<? super A>) - Method in interface io.atlassian.fugue.Applicant
Perform the given Consumer (side-effect) for each contained element.
foreach(Effect<? super A>) - Method in interface io.atlassian.fugue.Effect.Applicant
Deprecated.
extend or implement Iterable.forEach(Consumer) instead
foreach(Effect<? super R>) - Method in class io.atlassian.fugue.Either
Deprecated.
forEach(Consumer<? super R>) - Method in class io.atlassian.fugue.Either
Perform the given side-effect for the contained element if it is a right
forEach(Consumer<? super A>) - Method in class io.atlassian.fugue.Try
Perform the given Consumer (side-effect) for the success if success value.
forMap(Map<A, B>) - Static method in class io.atlassian.fugue.Functions
Create a function that performs a map lookup returning None for null If you do not need a nondefaulted return result using a method reference is preferred map::get
forMapWithDefault(Map<A, B>, B) - Static method in class io.atlassian.fugue.Functions
Create a function that performs a map lookup supplying a default value when a Map#get returns null If you do not need a defaulted return result using a method reference is preferred map::get
fromConsumer(Consumer<D>) - Static method in class io.atlassian.fugue.Functions
Get a function (with Unit return type) that calls the consumer for all inputs.
fromFunction(Function<? super A, ? extends B>, A) - Static method in class io.atlassian.fugue.Suppliers
Constantly applies the input value to the supplied function, and returns the result.
fromOption(Option<A>) - Static method in class io.atlassian.fugue.Suppliers
Turns an Option into a supplier, but throws an exception if undefined.
fromOptional(Optional<A>) - Static method in class io.atlassian.fugue.Option
Factory method for Option instances from Optional instances.
function(Monoid<B>) - Static method in class io.atlassian.fugue.Monoids
A monoid for functions.
function(Semigroup<B>) - Static method in class io.atlassian.fugue.Semigroups
A semigroup for functions.
Function2<A,B,C> - Interface in io.atlassian.fugue.deprecated
Deprecated.
since 2.4 use BiFunction instead
Function3<A,B,C,Z> - Interface in io.atlassian.fugue.extensions.functions
Represents a function that accepts three arguments and produces a result.
Function4<A,B,C,D,Z> - Interface in io.atlassian.fugue.extensions.functions
Represents a function that accepts four arguments and produces a result.
Function5<A,B,C,D,E,Z> - Interface in io.atlassian.fugue.extensions.functions
Represents a function that accepts five arguments and produces a result.
Function6<A,B,C,D,E,F,Z> - Interface in io.atlassian.fugue.extensions.functions
Represents a function that accepts six arguments and produces a result.
Functions - Class in io.atlassian.fugue
Utility methods for Functions

G

generate(SourceOfRandomness, GenerationStatus) - Method in class io.atlassian.fugue.quickcheck.EitherGenerator
 
generate(SourceOfRandomness, GenerationStatus) - Method in class io.atlassian.fugue.quickcheck.OptionGenerator
 
get() - Method in interface io.atlassian.fugue.Checked.Supplier
 
get() - Method in class io.atlassian.fugue.Either.LeftProjection
 
get() - Method in class io.atlassian.fugue.Either.RightProjection
 
get() - Method in interface io.atlassian.fugue.Maybe
Get the value if defined.
get(S) - Method in class io.atlassian.fugue.optic.Getter
get the target of a Getter
get(S) - Method in class io.atlassian.fugue.optic.Iso
 
get(S) - Method in class io.atlassian.fugue.optic.Lens
 
get(S) - Method in class io.atlassian.fugue.optic.PIso
get the target of a PIso
get(S) - Method in class io.atlassian.fugue.optic.PLens
get the target of a PLens
get() - Method in class io.atlassian.fugue.retry.RetrySupplier
Attempt to get a result tries number of times.
getAll(S) - Method in class io.atlassian.fugue.optic.Fold
get all the targets of a Fold
getAll(S) - Method in class io.atlassian.fugue.optic.PTraversal
get all the targets of a PTraversal
getOption(S) - Method in class io.atlassian.fugue.optic.Optional
 
getOption(S) - Method in class io.atlassian.fugue.optic.POptional
get the target of a POptional or nothing if there is no target
getOption(S) - Method in class io.atlassian.fugue.optic.PPrism
get the target of a PPrism or nothing if there is no target
getOption(S) - Method in class io.atlassian.fugue.optic.Prism
 
getOptionSet(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
set what you get
getOr(Supplier<? extends R>) - Method in class io.atlassian.fugue.Either
Get the value if it is a right or call the supplier and return its value if not.
getOr(Supplier<? extends A>) - Method in interface io.atlassian.fugue.Maybe
Get the value if defined or call the supplier and return its value if not.
getOr(Supplier<? extends A>) - Method in class io.atlassian.fugue.Option
Get the value if defined or call the supplier and return its value if not.
getOrElse(Supplier<? extends R>) - Method in class io.atlassian.fugue.Either
Deprecated.
since 4.3, use Either.getOr(Supplier) instead
getOrElse(X) - Method in class io.atlassian.fugue.Either
Get the value if it is a right, otherwise returns other.
getOrElse(B) - Method in interface io.atlassian.fugue.Maybe
Get the value if defined, otherwise returns other.
getOrElse(Supplier<? extends A>) - Method in interface io.atlassian.fugue.Maybe
Deprecated.
since 3.0 Maybe.getOrElse(Supplier) is being replaced with Maybe.getOr(Supplier). In Java 8 type inference cannot disambiguate between an overloaded method taking a generic A and the same method taking a Supplier<A>.
getOrElse(B) - Method in class io.atlassian.fugue.Option
Get the value if defined, otherwise returns other.
getOrElse(Supplier<? extends A>) - Method in class io.atlassian.fugue.Option
Deprecated.
getOrElse(Supplier<A>) - Method in class io.atlassian.fugue.Try
Returns the contained value if this is a success otherwise call the supplier and return its value.
getOrError(Supplier<String>) - Method in class io.atlassian.fugue.Either
Get the contained value or throws an error with the supplied message if left.
getOrError(Supplier<String>) - Method in interface io.atlassian.fugue.Maybe
Get the value or throws an error with the supplied message if not defined.
getOrModify(S) - Method in class io.atlassian.fugue.optic.Optional
 
getOrModify(S) - Method in class io.atlassian.fugue.optic.POptional
get the target of a POptional or modify the source in case there is no target
getOrModify(S) - Method in class io.atlassian.fugue.optic.PPrism
get the target of a PPrism or modify the source in case there is no target
getOrModify(S) - Method in class io.atlassian.fugue.optic.Prism
 
getOrNull() - Method in class io.atlassian.fugue.Either
Get the value if it is right or null if not.
getOrNull() - Method in interface io.atlassian.fugue.Maybe
Get the value if defined or null if not.
getOrNull() - Method in class io.atlassian.fugue.Option
Get the value if defined or null if not.
getOrThrow(Supplier<X>) - Method in class io.atlassian.fugue.Either
Get the contained value or throws the supplied throwable if left
getOrThrow(Either<X, A>) - Static method in class io.atlassian.fugue.Eithers
Simplifies extracting a value or throwing a checked exception from an Either.
getOrThrow(Supplier<X>) - Method in interface io.atlassian.fugue.Maybe
Get the value or throws the supplied throwable if not defined.
getSet(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
set what you get
Getter<S,A> - Class in io.atlassian.fugue.optic
A Getter can be seen as a glorified get method between a type S and a type A.
getter(Function<S, A>) - Static method in class io.atlassian.fugue.optic.Getter
 

H

handle(RuntimeException) - Method in interface io.atlassian.fugue.retry.ExceptionHandler
Act on an exception, this method should be called by clients when an exception occurs in wrapped code.
hashCode() - Method in class io.atlassian.fugue.Option
hashCode() - Method in class io.atlassian.fugue.Pair
headOption(S) - Method in class io.atlassian.fugue.optic.Fold
get the first target of a Fold
headOption(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
headOption returns the first element of getAll
headOption(S) - Method in class io.atlassian.fugue.optic.PTraversal
get the first target of a PTraversal

I

id() - Static method in class io.atlassian.fugue.optic.Fold
 
id() - Static method in class io.atlassian.fugue.optic.Getter
 
id() - Static method in class io.atlassian.fugue.optic.Iso
create an Iso between any type and itself.
id() - Static method in class io.atlassian.fugue.optic.Lens
 
id() - Static method in class io.atlassian.fugue.optic.Optional
 
id() - Static method in class io.atlassian.fugue.optic.Prism
 
id() - Static method in class io.atlassian.fugue.optic.Setter
 
id() - Static method in class io.atlassian.fugue.optic.Traversal
 
identity() - Static method in class io.atlassian.fugue.Functions
Returns the identity function.
ignoreExceptionHandler() - Static method in class io.atlassian.fugue.retry.ExceptionHandlers
ignoreExceptionHandler.
ImmutableMaps - Class in io.atlassian.fugue.extras
Provides some utility methods to convert Iterables to ImmutableMap, and to transform Maps.
intAddition - Static variable in class io.atlassian.fugue.Monoids
A monoid that adds integers.
intersperse(Iterable<? extends A>, A) - Static method in class io.atlassian.fugue.Iterables
Intersperse an element between all the elements in an iterable.
intersperse(Iterable<? extends A>, Supplier<A>) - Static method in class io.atlassian.fugue.Iterables
Intersperse an element between all the elements in an iterable.
intersperse(Iterable<? extends A>, A) - Method in interface io.atlassian.fugue.Monoid
Intersperses the given value between each two elements of the collection, and sums the result.
intMaximum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the maximum of integers.
intMinimum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the minimum of integers.
intMultiplication - Static variable in class io.atlassian.fugue.Monoids
A monoid that multiplies integers.
io.atlassian.fugue - package io.atlassian.fugue
 
io.atlassian.fugue.deprecated - package io.atlassian.fugue.deprecated
 
io.atlassian.fugue.extensions.functions - package io.atlassian.fugue.extensions.functions
 
io.atlassian.fugue.extensions.step - package io.atlassian.fugue.extensions.step
 
io.atlassian.fugue.extras - package io.atlassian.fugue.extras
 
io.atlassian.fugue.hamcrest - package io.atlassian.fugue.hamcrest
 
io.atlassian.fugue.law - package io.atlassian.fugue.law
 
io.atlassian.fugue.optic - package io.atlassian.fugue.optic
 
io.atlassian.fugue.optic.law - package io.atlassian.fugue.optic.law
 
io.atlassian.fugue.optic.std - package io.atlassian.fugue.optic.std
 
io.atlassian.fugue.quickcheck - package io.atlassian.fugue.quickcheck
 
io.atlassian.fugue.retry - package io.atlassian.fugue.retry
 
isDefined() - Method in class io.atlassian.fugue.Either.LeftProjection
 
isDefined() - Method in class io.atlassian.fugue.Either.RightProjection
 
isDefined() - Method in interface io.atlassian.fugue.Maybe
If the type contains a value return true.
isEmpty() - Static method in class io.atlassian.fugue.Iterables
Predicate that checks if an iterable is empty.
isEmpty() - Method in interface io.atlassian.fugue.Maybe
If the type does not contain a value return true.
isEmpty() - Method in class io.atlassian.fugue.Option
If the type does not contain a value return true.
IsEq<A> - Class in io.atlassian.fugue.law
Represents two values of the same type that are expected to be equal.
IsEq(A, A) - Constructor for class io.atlassian.fugue.law.IsEq
Build an equality instance
isEq(A, A) - Static method in class io.atlassian.fugue.law.IsEq
Two equal elements
isFailure(Matcher<? super Exception>) - Static method in class io.atlassian.fugue.hamcrest.TryMatchers
 
isFailure() - Static method in class io.atlassian.fugue.hamcrest.TryMatchers
 
isFailure() - Method in class io.atlassian.fugue.Try
Returns true if this failure, otherwise false
isInstanceOf(Class<B>) - Static method in class io.atlassian.fugue.Functions
Partial Function that does a type check and matches if the value is of the right type.
isLeft() - Method in class io.atlassian.fugue.Either
Returns true if this either is a left, false otherwise.
isLeft() - Static method in class io.atlassian.fugue.Eithers
A predicate that tests if the supplied either is a left.
isLeft(Matcher<? super L>) - Static method in class io.atlassian.fugue.hamcrest.EitherMatchers
 
isMatching(S) - Method in class io.atlassian.fugue.optic.POptional
check if a POptional has a target
isMatching(S) - Method in class io.atlassian.fugue.optic.PPrism
check if a PPrism has a target
isNone() - Static method in class io.atlassian.fugue.hamcrest.OptionMatchers
 
Iso<S,A> - Class in io.atlassian.fugue.optic
PIso when S = T and A = B
Iso(PIso<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.Iso
 
iso(Function<S, A>, Function<A, S>) - Static method in class io.atlassian.fugue.optic.Iso
create an Iso using a pair of functions: one to get the target and one to get the source.
IsoLaws<S,A> - Class in io.atlassian.fugue.optic.law
 
IsoLaws(PIso<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.law.IsoLaws
 
isRight() - Method in class io.atlassian.fugue.Either
Returns true if this either is a right, false otherwise.
isRight() - Static method in class io.atlassian.fugue.Eithers
A predicate that tests if the supplied either is a right.
isRight(Matcher<? super R>) - Static method in class io.atlassian.fugue.hamcrest.EitherMatchers
 
isSome(Matcher<? super T>) - Static method in class io.atlassian.fugue.hamcrest.OptionMatchers
 
isSuccess() - Method in class io.atlassian.fugue.Try
Returns true if this success, otherwise false
isSuccessful(Matcher<? super A>) - Static method in class io.atlassian.fugue.hamcrest.TryMatchers
 
iterable(A...) - Static method in class io.atlassian.fugue.Iterables
Creates an Iterable from the underlying array of elements.
iterable() - Static method in class io.atlassian.fugue.Monoids
A monoid for iterables.
Iterables - Class in io.atlassian.fugue
Contains static utility methods that operate on or return objects of type {code}Iterable{code}.
iterate(Function<? super A, ? extends A>, A) - Static method in class io.atlassian.fugue.Iterables
Returns an infinite Iterable constructed by applying the given iteration function starting at the given value.
iterator() - Method in interface io.atlassian.fugue.Maybe
Return an iterator for this type.
iterator() - Method in class io.atlassian.fugue.Option
Return an iterator for this type.
iterator() - Method in class io.atlassian.fugue.Try
Return an iterator for this type.

J

join(Iterable<? extends Iterable<? extends A>>) - Static method in class io.atlassian.fugue.Iterables
Join Iterable<Iterable<A>> down to Iterable<A>.

L

last() - Static method in class io.atlassian.fugue.Semigroups
Return the last value, ignore the first
lastOption() - Static method in class io.atlassian.fugue.Monoids
A monoid for options that take the last available value.
left(L) - Static method in class io.atlassian.fugue.Either
left.
left() - Method in class io.atlassian.fugue.Either
Projects this either as a left.
left() - Static method in class io.atlassian.fugue.optic.std.EitherOptics
 
left() - Static method in class io.atlassian.fugue.optic.std.PairOptics
 
left() - Method in class io.atlassian.fugue.Pair
Accessor method for the left value of the pair.
leftMap(Function<? super L, X>) - Method in class io.atlassian.fugue.Either
Map the given function across the left hand side value if it is one.
leftMapper() - Static method in class io.atlassian.fugue.Eithers
A function that maps an either to an option of its left type.
leftOr(Function<R, ? extends L>) - Method in class io.atlassian.fugue.Either
If this is a left return the contained value, else return the result of applying rightTransformer on right
leftValue() - Static method in class io.atlassian.fugue.Pair
Function for accessing the left value of pairs.
Lens<S,A> - Class in io.atlassian.fugue.optic
PLens with a monomorphic set function
Lens(PLens<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.Lens
 
lens(Function<S, A>, Function<A, Function<S, S>>) - Static method in class io.atlassian.fugue.optic.Lens
create a Lens using a pair of functions: one to get the target, one to set the target.
LensLaws<S,A> - Class in io.atlassian.fugue.optic.law
 
LensLaws(PLens<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.law.LensLaws
 
lhs() - Method in class io.atlassian.fugue.law.IsEq
Access the left element
lift() - Method in interface io.atlassian.fugue.Checked.Function
 
lift(Checked.Function<A, B, E>) - Static method in class io.atlassian.fugue.Checked
Lifts a function that potentially throws into a function that either returns a Success of the value or a failure containing the thrown exception.
lift(Function<A, B>) - Static method in class io.atlassian.fugue.Options
Lifts a function that takes an A and returns a B into a function that takes an option of A and returns an option of B.
lift() - Static method in class io.atlassian.fugue.Options
Returns a function that will lift a function that takes an A and returns a B into a function that takes an option of A and returns an option of B.
lift(Predicate<? super A>) - Static method in class io.atlassian.fugue.Options
Lifts a predicate that takes an A into a predicate that takes an option of A.
lift2(BiFunction<A, B, C>) - Static method in class io.atlassian.fugue.Options
Lifts a function that takes an A and a B and returns a C into a function that takes an option of A and an option of B and returns an option of C.
lift2() - Static method in class io.atlassian.fugue.Options
Returns a function that will lift a function that takes an A and a B and returns a C into a function that takes an option of A and an option of B and returns an option of C.
list() - Static method in class io.atlassian.fugue.Monoids
A monoid for lists.
loggingExceptionHandler(Logger) - Static method in class io.atlassian.fugue.retry.ExceptionHandlers
Retrieves an ExceptionHandler which will log exceptions passed in.
longAddition - Static variable in class io.atlassian.fugue.Monoids
A monoid that adds longs.
longMaximum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the maximum of longs.
longMinimum - Static variable in class io.atlassian.fugue.Semigroups
A semigroup that yields the minimum of longs.
longMultiplication - Static variable in class io.atlassian.fugue.Monoids
A monoid that multiplies longs.

M

makeString(Iterable<? extends A>, String, String, String, int) - Static method in class io.atlassian.fugue.Iterables
Pretty print an Iterable.
makeString(Iterable<? extends A>, String, String, String) - Static method in class io.atlassian.fugue.Iterables
Pretty print an Iterable.
map(Function<? super L, X>) - Method in class io.atlassian.fugue.Either.LeftProjection
Map the given function across this projection's value if it has one.
map(Function<? super R, X>) - Method in class io.atlassian.fugue.Either
Map the given function across the right hand side value if it is one.
map(Function<? super R, X>) - Method in class io.atlassian.fugue.Either.RightProjection
Map the given function across this projection's value if it has one.
map(Iterable<A>, Function<? super A, ? extends B>) - Static method in class io.atlassian.fugue.Iterables
Apply the input function to each of the elements of the input iterable returning a new iterable
map(Function<? super A, ? extends B>) - Method in class io.atlassian.fugue.Option
Apply f to the value if defined.
map(Pair<A, A>, Function<A, B>) - Static method in class io.atlassian.fugue.Pair
Apply a function to both elements of an homogeneous pair.
map(Function<? super A, ? extends B>) - Method in class io.atlassian.fugue.Try
Maps the given function to the value from this `Success` or returns this unchanged if a `Failure`.
mapBy(Iterable<V>, Function<? super V, ? extends K>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Builds an immutable map that is keyed by the result of applying keyTransformer to each element of the given iterable of values.
mapEntry() - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Returns a function that takes a key of type K and a value of type V and returns a Map entry.
mapNullToOption(Function<? super A, ? extends B>) - Static method in class io.atlassian.fugue.Functions
Maps a function that returns nulls into a Partial function that returns an Option of the result.
mapTo(Iterable<K>, Function<? super K, ? extends V>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Builds an immutable map from the given iterable and compute the value by applying the valueTransformer.
match(BiFunction<A, A, R>) - Method in class io.atlassian.fugue.law.IsEq
Function to use for comparison of two equal elements
matches(Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>) - Static method in class io.atlassian.fugue.Functions
Creates a stack of matcher functions and returns the first result that matches.
matches(Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>) - Static method in class io.atlassian.fugue.Functions
Creates a stack of matcher functions and returns the first result that matches.
matches(Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>) - Static method in class io.atlassian.fugue.Functions
Creates a stack of matcher functions and returns the first result that matches.
matches(Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>, Function<? super A, ? extends Option<? extends B>>...) - Static method in class io.atlassian.fugue.Functions
Creates a stack of matcher functions and returns the first result that matches.
max(Comparator<A>) - Static method in class io.atlassian.fugue.Semigroups
A semigroup that yields the maximum of by a comparator.
max() - Static method in class io.atlassian.fugue.Semigroups
A semigroup that yields the maximum of comparable values.
Maybe<A> - Interface in io.atlassian.fugue
Implemented by things that may or may not contain a value.
memoize(Iterable<A>) - Static method in class io.atlassian.fugue.Iterables
Makes a lazy copy of xs.
memoize(Supplier<A>) - Static method in class io.atlassian.fugue.Suppliers
A supplier that memoize the value return by another Supplier, whose Supplier.get() method is guaranteed to be call at most once.
merge(Either<T, T>) - Static method in class io.atlassian.fugue.Eithers
Extracts an object from an Either, regardless of the side in which it is stored, provided both sides contain the same type.
mergeSorted(Iterable<? extends Iterable<A>>) - Static method in class io.atlassian.fugue.Iterables
Merge a number of already sorted collections of elements into a single collection of elements, using the elements natural ordering.
mergeSorted(Iterable<? extends Iterable<A>>, Comparator<A>) - Static method in class io.atlassian.fugue.Iterables
Merge a number of already sorted collections of elements into a single collection of elements.
min(Comparator<A>) - Static method in class io.atlassian.fugue.Semigroups
A semigroup that yields the minimum of by a comparator.
min() - Static method in class io.atlassian.fugue.Semigroups
A semigroup that yields the minimum of comparable values.
modify(Function<A, A>) - Method in class io.atlassian.fugue.optic.Lens
 
modify(Function<A, A>) - Method in class io.atlassian.fugue.optic.Optional
 
modify(Function<A, B>) - Method in class io.atlassian.fugue.optic.PIso
modify polymorphically the target of a PIso with a function
modify(Function<A, B>) - Method in class io.atlassian.fugue.optic.PLens
modify polymorphically the target of a PLens using a function
modify(Function<A, B>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with a function
modify(Function<A, B>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with a function
modify(Function<A, B>) - Method in class io.atlassian.fugue.optic.PSetter
modify polymorphically the target of a PSetter with a function
modify(Function<A, B>) - Method in class io.atlassian.fugue.optic.PTraversal
modify polymorphically the target of a PTraversal with a function
modify(Function<A, A>) - Method in class io.atlassian.fugue.optic.Setter
 
modifyEitherF(Function<A, Either<L, A>>) - Method in class io.atlassian.fugue.optic.Lens
 
modifyEitherF(Function<A, Either<L, A>>) - Method in class io.atlassian.fugue.optic.Optional
 
modifyEitherF(Function<A, Either<L, B>>) - Method in class io.atlassian.fugue.optic.PIso
modify polymorphically the target of a PIso with an Applicative function
modifyEitherF(Function<A, Either<L, B>>) - Method in class io.atlassian.fugue.optic.PLens
modify polymorphically the target of a PLens with an Applicative function
modifyEitherF(Function<A, Either<L, B>>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with an Applicative function
modifyEitherF(Function<A, Either<L, B>>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with an Applicative function
modifyEitherF(Function<A, Either<L, B>>) - Method in class io.atlassian.fugue.optic.PTraversal
modify polymorphically the target of a PTraversal with an Applicative function
modifyEitherF(Function<A, Either<L, A>>) - Method in class io.atlassian.fugue.optic.Traversal
 
modifyEitherFPoint(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyEitherFPoint(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyEitherFPoint(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyEitherFPoint(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyEitherFPoint(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyFunctionF(Function<A, Function<C, A>>) - Method in class io.atlassian.fugue.optic.Lens
 
modifyFunctionF(Function<A, Function<C, A>>) - Method in class io.atlassian.fugue.optic.Optional
 
modifyFunctionF(Function<A, Function<C, B>>) - Method in class io.atlassian.fugue.optic.PIso
modify polymorphically the target of a PIso with an Applicative function
modifyFunctionF(Function<A, Function<C, B>>) - Method in class io.atlassian.fugue.optic.PLens
modify polymorphically the target of a PLens with an Applicative function
modifyFunctionF(Function<A, Function<C, B>>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with an Applicative function
modifyFunctionF(Function<A, Function<C, B>>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with an Applicative function
modifyFunctionF(Function<A, Function<C, B>>) - Method in class io.atlassian.fugue.optic.PTraversal
modify polymorphically the target of a PTraversal with an Applicative function
modifyFunctionF(Function<A, Function<C, A>>) - Method in class io.atlassian.fugue.optic.Traversal
 
modifyFunctionFPoint(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyFunctionFPoint(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyFunctionFPoint(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyFunctionFPoint(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyFunctionFPoint(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyIdentity(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
modify id = id
modifyIdentity(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
modify id = id
modifyIdentity(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modify id = id
modifyIdentity(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modify id = id
modifyIdentity(S) - Method in class io.atlassian.fugue.optic.law.SetterLaws
modify id = id
modifyIdentity(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
modify id = id
modifyIterableF(Function<A, Iterable<A>>) - Method in class io.atlassian.fugue.optic.Lens
 
modifyIterableF(Function<A, Iterable<A>>) - Method in class io.atlassian.fugue.optic.Optional
 
modifyIterableF(Function<A, Iterable<B>>) - Method in class io.atlassian.fugue.optic.PIso
modify polymorphically the target of a PIso with an Applicative function
modifyIterableF(Function<A, Iterable<B>>) - Method in class io.atlassian.fugue.optic.PLens
modify polymorphically the target of a PLens with an Applicative function
modifyIterableF(Function<A, Iterable<B>>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with an Applicative function
modifyIterableF(Function<A, Iterable<B>>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with an Applicative function
modifyIterableF(Function<A, Iterable<B>>) - Method in class io.atlassian.fugue.optic.PTraversal
modify polymorphically the target of a PTraversal with an Applicative function
modifyIterableF(Function<A, Iterable<A>>) - Method in class io.atlassian.fugue.optic.Traversal
 
modifyIterableFPoint(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyIterableFPoint(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyIterableFPoint(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyIterableFPoint(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyIterableFPoint(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyOption(Function<A, B>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with a function.
modifyOption(Function<A, B>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with a function.
modifyOptionF(Function<A, Option<A>>) - Method in class io.atlassian.fugue.optic.Lens
 
modifyOptionF(Function<A, Option<A>>) - Method in class io.atlassian.fugue.optic.Optional
 
modifyOptionF(Function<A, Option<B>>) - Method in class io.atlassian.fugue.optic.PIso
modify polymorphically the target of a PIso with an Applicative function
modifyOptionF(Function<A, Option<B>>) - Method in class io.atlassian.fugue.optic.PLens
modify polymorphically the target of a PLens with an Applicative function
modifyOptionF(Function<A, Option<B>>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with an Applicative function
modifyOptionF(Function<A, Option<B>>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with an Applicative function
modifyOptionF(Function<A, Option<B>>) - Method in class io.atlassian.fugue.optic.PTraversal
modify polymorphically the target of a PTraversal with an Applicative function
modifyOptionF(Function<A, Option<A>>) - Method in class io.atlassian.fugue.optic.Traversal
 
modifyOptionFPoint(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyOptionFPoint(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyOptionFPoint(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyOptionFPoint(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyOptionFPoint(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyOptionIdentity(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modifyOption with id is isomorphomic to isMatching
modifyOptionIdentity(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modifyOption with id is isomorphomic to isMatching
modifyPairF(Function<A, Pair<A, A>>) - Method in class io.atlassian.fugue.optic.Lens
 
modifyPairF(Function<A, Pair<A, A>>) - Method in class io.atlassian.fugue.optic.Optional
 
modifyPairF(Function<A, Pair<B, B>>) - Method in class io.atlassian.fugue.optic.PIso
modify polymorphically the target of a PIso with an Applicative function
modifyPairF(Function<A, Pair<B, B>>) - Method in class io.atlassian.fugue.optic.PLens
modify polymorphically the target of a PLens with an Applicative function
modifyPairF(Function<A, Pair<B, B>>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with an Applicative function
modifyPairF(Function<A, Pair<B, B>>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with an Applicative function
modifyPairF(Function<A, Pair<B, B>>) - Method in class io.atlassian.fugue.optic.PTraversal
modify polymorphically the target of a PTraversal with an Applicative function
modifyPairF(Function<A, Pair<A, A>>) - Method in class io.atlassian.fugue.optic.Traversal
 
modifyPairFPoint(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyPairFPoint(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyPairFPoint(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyPairFPoint(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifyPairFPoint(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifySupplierF(Function<A, Supplier<A>>) - Method in class io.atlassian.fugue.optic.Lens
 
modifySupplierF(Function<A, Supplier<A>>) - Method in class io.atlassian.fugue.optic.Optional
 
modifySupplierF(Function<A, Supplier<B>>) - Method in class io.atlassian.fugue.optic.PIso
modify polymorphically the target of a PIso with an Applicative function
modifySupplierF(Function<A, Supplier<B>>) - Method in class io.atlassian.fugue.optic.PLens
modify polymorphically the target of a PLens with an Applicative function
modifySupplierF(Function<A, Supplier<B>>) - Method in class io.atlassian.fugue.optic.POptional
modify polymorphically the target of a POptional with an Applicative function
modifySupplierF(Function<A, Supplier<B>>) - Method in class io.atlassian.fugue.optic.PPrism
modify polymorphically the target of a PPrism with an Applicative function
modifySupplierF(Function<A, Supplier<B>>) - Method in class io.atlassian.fugue.optic.PTraversal
modify polymorphically the target of a PTraversal with an Applicative function
modifySupplierF(Function<A, Supplier<A>>) - Method in class io.atlassian.fugue.optic.Traversal
 
modifySupplierFPoint(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifySupplierFPoint(S) - Method in class io.atlassian.fugue.optic.law.LensLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifySupplierFPoint(S) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifySupplierFPoint(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
modifyF Applicative.point(_) = Applicative.point(_)
modifySupplierFPoint(S) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
modifyF Applicative.point(_) = Applicative.point(_)
Monoid<A> - Interface in io.atlassian.fugue
A Monoid is an algebraic structure consisting of an associative binary operation across the values of a given type (a monoid is a Semigroup) and an identity element for this operation.
MonoidLaws<A> - Class in io.atlassian.fugue.law
Laws for a monoid
MonoidLaws(Monoid<A>) - Constructor for class io.atlassian.fugue.law.MonoidLaws
Build a law instance to check monoid properties
monoidLeftIdentity(A) - Method in class io.atlassian.fugue.law.MonoidLaws
If the zero of your monoid is combine with an element of the type your monoid works with the result should be that element.
monoidRightIdentity(A) - Method in class io.atlassian.fugue.law.MonoidLaws
If an element of the type your monoid works with is combined with the zero of your monoid result should be that element.
Monoids - Class in io.atlassian.fugue
Monoid instances.
multiply(int, A) - Method in interface io.atlassian.fugue.Monoid
Returns a value summed n times (a + a + ...
multiply1p(int, A) - Method in interface io.atlassian.fugue.Monoid
 
multiply1p(int, A) - Method in interface io.atlassian.fugue.Semigroup
Returns a value summed n + 1 times ( a + a + ...
multiply1pEqualRepeatedAppend(int, A) - Method in class io.atlassian.fugue.law.SemigroupLaws
The Semigroup.multiply1p(int, Object) function of your semigroup must be equal to Semigroup.sumNonEmpty(Object, Iterable) applied to the input and an iterable containing n - 1 copies of that input
multiplyEqualRepeatedAppend(int, A) - Method in class io.atlassian.fugue.law.MonoidLaws
The multiply function of your monoid must be equal to the sum function called with an iterable containing n copies of the input type.

N

none() - Static method in class io.atlassian.fugue.Option
Factory method for None instances.
none(Class<A>) - Static method in class io.atlassian.fugue.Option
Factory method for None instances where the type token is handy.
noneSupplier() - Static method in class io.atlassian.fugue.Option
Supplies None as required.
now(Checked.Supplier<A, E>) - Static method in class io.atlassian.fugue.Checked
Create a new Try representing the result of a potentially exception throwing operation.
nullSafe(Function<A, B>) - Static method in class io.atlassian.fugue.Options
Turn a null producing function into one that returns an option instead.
nullToOption() - Static method in class io.atlassian.fugue.Functions
Function that turns null inputs into a none, and not-null inputs into some.
numberOfNeededComponents() - Method in class io.atlassian.fugue.quickcheck.EitherGenerator
 
numberOfNeededComponents() - Method in class io.atlassian.fugue.quickcheck.OptionGenerator
 

O

of(Checked.Supplier<A, E>) - Static method in class io.atlassian.fugue.Checked
Deprecated.
since 4.6 This is being replaced with Checked.now(Supplier) to make it clear that the supplier is evaluated immediately. If the evaluation needs to be delayed, use Checked.delay(Supplier).
ofInstance(A) - Static method in class io.atlassian.fugue.Suppliers
Creates a Supplier of a constant value.
on(Function<? super R, ? extends L>) - Method in class io.atlassian.fugue.Either.LeftProjection
 
on(Function<? super B, ? extends A>) - Method in interface io.atlassian.fugue.Either.Projection
The value of this projection or the result of the given function on the opposing projection's value.
on(Function<? super L, ? extends R>) - Method in class io.atlassian.fugue.Either.RightProjection
 
option(Semigroup<A>) - Static method in class io.atlassian.fugue.Monoids
A monoid for options that combine inner value with a semigroup.
Option<A> - Class in io.atlassian.fugue
A class that encapsulates missing values.
option(A) - Static method in class io.atlassian.fugue.Option
Factory method for Option instances.
Optional<S,A> - Class in io.atlassian.fugue.optic
POptional restricted to monomorphic update
Optional(POptional<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.Optional
 
optional(Function<S, Option<A>>, Function<A, Function<S, S>>) - Static method in class io.atlassian.fugue.optic.Optional
 
OptionalLaws<S,A> - Class in io.atlassian.fugue.optic.law
 
OptionalLaws(POptional<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.law.OptionalLaws
 
OptionalStep1<A> - Class in io.atlassian.fugue.extensions.step
The first step of the Optional type.
OptionalStep2<A,B> - Class in io.atlassian.fugue.extensions.step
The second step of the Optional type.
OptionalStep3<A,B,C> - Class in io.atlassian.fugue.extensions.step
The third step of the Optional type.
OptionalStep4<A,B,C,D> - Class in io.atlassian.fugue.extensions.step
The fourth step of the Optional type.
OptionalStep5<A,B,C,D,E> - Class in io.atlassian.fugue.extensions.step
The fifth step of the Optional type.
OptionalStep6<A,B,C,D,E,F> - Class in io.atlassian.fugue.extensions.step
The sixth step of the Optional type.
OptionGenerator - Class in io.atlassian.fugue.quickcheck
Produces values of type Option.
OptionGenerator() - Constructor for class io.atlassian.fugue.quickcheck.OptionGenerator
 
OptionMatchers - Class in io.atlassian.fugue.hamcrest
 
OptionOptics - Class in io.atlassian.fugue.optic.std
 
Options - Class in io.atlassian.fugue
Utility methods for working with options.
OptionStep1<A> - Class in io.atlassian.fugue.extensions.step
The first step of the Option type.
OptionStep2<A,B> - Class in io.atlassian.fugue.extensions.step
The second step of the Option type.
OptionStep3<A,B,C> - Class in io.atlassian.fugue.extensions.step
The third step of the Option type.
OptionStep4<A,B,C,D> - Class in io.atlassian.fugue.extensions.step
The fourth step of the Option type.
OptionStep5<A,B,C,D,E> - Class in io.atlassian.fugue.extensions.step
The fifth step of the Option type.
OptionStep6<A,B,C,D,E,F> - Class in io.atlassian.fugue.extensions.step
The sixth step of the Option type.
optionToOptional() - Static method in class io.atlassian.fugue.optic.std.OptionOptics
 
orElse(Either<? extends L, ? extends R>) - Method in class io.atlassian.fugue.Either
If this is a right, return the same right.
orElse(Supplier<? extends Either<? extends L, ? extends R>>) - Method in class io.atlassian.fugue.Either
If this is a right, return the same right.
orElse(Option<? extends A>) - Method in class io.atlassian.fugue.Option
If this is a some, return the same some.
orElse(Supplier<? extends Option<? extends A>>) - Method in class io.atlassian.fugue.Option
If this is a some, return the same some.
orElse(Try<? extends A>) - Method in class io.atlassian.fugue.Try
If this is a success, return the same success.
orElse(Supplier<? extends Try<? extends A>>) - Method in class io.atlassian.fugue.Try
If this is a success, return the same success.

P

Pair<A,B> - Class in io.atlassian.fugue
Represents a pair of objects.
Pair(A, B) - Constructor for class io.atlassian.fugue.Pair
Constructor for Pair.
pair(A, B) - Static method in class io.atlassian.fugue.Pair
Factory method for static Pair growth.
PairOptics - Class in io.atlassian.fugue.optic.std
 
pairs() - Static method in class io.atlassian.fugue.Pair
Factory method for a Pair factory function.
pairToEntry() - Static method in class io.atlassian.fugue.optic.std.PairOptics
 
partial(Predicate<? super A>, Function<? super A, ? extends B>) - Static method in class io.atlassian.fugue.Functions
Create a PartialFunction from a Predicate and a Function.
partialRoundTripOneWay(S) - Method in class io.atlassian.fugue.optic.law.PrismLaws
if a Prism match you can always go back to the source
partition(Iterable<A>, Predicate<? super A>) - Static method in class io.atlassian.fugue.Iterables
Filter an Iterable into a Pair of Iterable's.
pCodiagonal() - Static method in class io.atlassian.fugue.optic.PSetter
 
pCodiagonal() - Static method in class io.atlassian.fugue.optic.PTraversal
 
pId() - Static method in class io.atlassian.fugue.optic.PIso
create a PIso between any type and itself.
pId() - Static method in class io.atlassian.fugue.optic.PLens
 
pId() - Static method in class io.atlassian.fugue.optic.POptional
 
pId() - Static method in class io.atlassian.fugue.optic.PPrism
 
pId() - Static method in class io.atlassian.fugue.optic.PSetter
 
pId() - Static method in class io.atlassian.fugue.optic.PTraversal
 
PIso<S,T,A,B> - Class in io.atlassian.fugue.optic
A PIso defines an isomorphism between types S, A and B, T:
pIso(Function<S, A>, Function<B, T>) - Static method in class io.atlassian.fugue.optic.PIso
create a PIso using a pair of functions: one to get the target and one to get the source.
pLeft() - Static method in class io.atlassian.fugue.optic.std.EitherOptics
 
pLeft() - Static method in class io.atlassian.fugue.optic.std.PairOptics
 
PLens<S,T,A,B> - Class in io.atlassian.fugue.optic
A PLens can be seen as a pair of functions: - `get: S => A` i.e.
pLens(Function<S, A>, Function<B, Function<S, T>>) - Static method in class io.atlassian.fugue.optic.PLens
create a PLens using a pair of functions: one to get the target, one to set the target.
POptional<S,T,A,B> - Class in io.atlassian.fugue.optic
A POptional can be seen as a pair of functions: - `getOrModify: S => T \/ A` - `set : (B, S) => T`
pOptional(Function<S, Either<T, A>>, Function<B, Function<S, T>>) - Static method in class io.atlassian.fugue.optic.POptional
create a POptional using the canonical functions: getOrModify and set
PPrism<S,T,A,B> - Class in io.atlassian.fugue.optic
A PPrism can be seen as a pair of functions: - `getOrModify: S => T \/ A` - `reverseGet : B => T`
pPrism(Function<S, Either<T, A>>, Function<B, T>) - Static method in class io.atlassian.fugue.optic.PPrism
create a PPrism using the canonical functions: getOrModify and reverseGet
Predicate3<A,B,C> - Interface in io.atlassian.fugue.extensions.functions
Represents a predicate (boolean-valued function) of three arguments.
Predicate4<A,B,C,D> - Interface in io.atlassian.fugue.extensions.functions
Represents a predicate (boolean-valued function) of four arguments.
Predicate5<A,B,C,D,E> - Interface in io.atlassian.fugue.extensions.functions
Represents a predicate (boolean-valued function) of five arguments.
Predicate6<A,B,C,D,E,F> - Interface in io.atlassian.fugue.extensions.functions
Represents a predicate (boolean-valued function) of five arguments.
pRight() - Static method in class io.atlassian.fugue.optic.std.EitherOptics
 
pRight() - Static method in class io.atlassian.fugue.optic.std.PairOptics
 
Prism<S,A> - Class in io.atlassian.fugue.optic
PPrism restricted to monomorphic update
Prism(PPrism<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.Prism
 
prism(Function<S, Option<A>>, Function<A, S>) - Static method in class io.atlassian.fugue.optic.Prism
 
PrismLaws<S,A> - Class in io.atlassian.fugue.optic.law
 
PrismLaws(PPrism<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.law.PrismLaws
 
product(Getter<S1, A1>) - Method in class io.atlassian.fugue.optic.Getter
pair two disjoint Getter
product(Iso<S1, A1>) - Method in class io.atlassian.fugue.optic.Iso
pair two disjoint Iso
product(PIso<S1, T1, A1, B1>) - Method in class io.atlassian.fugue.optic.PIso
pair two disjoint PIso
propagate(Throwable, Function<Throwable, R>) - Static method in class io.atlassian.fugue.deprecated.Throwables
Deprecated.
since 2.4, no need in Java7 with closeWithResources and multi-catch
propagate(Throwable, Class<R>) - Static method in class io.atlassian.fugue.deprecated.Throwables
Deprecated.
since 2.4, no need in Java7 with closeWithResources and multi-catch
PSetter<S,T,A,B> - Class in io.atlassian.fugue.optic
A PSetter is a generalisation of Functor map: - `map: (A => B) => F[A] => F[B]` - `modify: (A => B) => S => T`
pSetter(Function<Function<A, B>, Function<S, T>>) - Static method in class io.atlassian.fugue.optic.PSetter
 
pSome() - Static method in class io.atlassian.fugue.optic.std.OptionOptics
 
PTraversal<S,T,A,B> - Class in io.atlassian.fugue.optic
A PTraversal can be seen as a POptional generalised to 0 to n targets where n can be infinite.
PTraversal() - Constructor for class io.atlassian.fugue.optic.PTraversal
 
pTraversal(Function<S, A>, Function<S, A>, BiFunction<B, B, Function<S, T>>) - Static method in class io.atlassian.fugue.optic.PTraversal
 
pTraversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<B, Function<B, Function<B, Function<S, T>>>>) - Static method in class io.atlassian.fugue.optic.PTraversal
 
pTraversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<B, Function<B, Function<B, Function<B, Function<S, T>>>>>) - Static method in class io.atlassian.fugue.optic.PTraversal
 
pTraversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<B, Function<B, Function<B, Function<B, Function<B, Function<S, T>>>>>>) - Static method in class io.atlassian.fugue.optic.PTraversal
 
pTraversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<B, Function<B, Function<B, Function<B, Function<B, Function<B, Function<S, T>>>>>>>) - Static method in class io.atlassian.fugue.optic.PTraversal
 

R

rangeTo(int, int) - Static method in class io.atlassian.fugue.Iterables
Creates a sequence of integers from start up to and including end.
rangeTo(int, int, int) - Static method in class io.atlassian.fugue.Iterables
Creates a sequence of integers from start up to and including end with the the supplied step between them.
rangeUntil(int, int) - Static method in class io.atlassian.fugue.Iterables
Creates a sequence of integers from start up to but not including end.
rangeUntil(int, int, int) - Static method in class io.atlassian.fugue.Iterables
Creates a sequence of integers from start up to but not including end with the the supplied step between them.
re() - Method in class io.atlassian.fugue.optic.PPrism
create a Getter from the modified target to the modified source of a PPrism
recover(Function<? super Exception, A>) - Method in class io.atlassian.fugue.Try
Applies the given function `f` if this is a `Failure` otherwise this unchanged if a 'Success'.
recover(Class<X>, Function<? super X, A>) - Method in class io.atlassian.fugue.Try
Applies the given function `f` if this is a `Failure` with certain exception type otherwise leaves this unchanged.
recoverWith(Function<? super Exception, Try<A>>) - Method in class io.atlassian.fugue.Try
Binds the given function across the failure value if it is one, otherwise this unchanged if a 'Success'.
recoverWith(Class<X>, Function<? super X, Try<A>>) - Method in class io.atlassian.fugue.Try
Binds the given function across certain exception type if it is one, otherwise this unchanged.
RetryFactory - Class in io.atlassian.fugue.retry
Provides factory methods for RetryFunction, RetryTask, and RetrySupplier.
RetryFunction<F,T> - Class in io.atlassian.fugue.retry
A Function which wraps the apply method of another Function and attempts it up to a fixed number of times.
RetryFunction(Function<F, T>, int) - Constructor for class io.atlassian.fugue.retry.RetryFunction
An instance that does nothing before retrying and ignores exceptions that occur.
RetryFunction(Function<F, T>, int, ExceptionHandler) - Constructor for class io.atlassian.fugue.retry.RetryFunction
An instance that does nothing before retrying.
RetryFunction(Function<F, T>, int, ExceptionHandler, Runnable) - Constructor for class io.atlassian.fugue.retry.RetryFunction
Constructor for RetryFunction.
RetrySupplier<T> - Class in io.atlassian.fugue.retry
A Supplier which wraps the apply method of another Supplier and attempts it up to a fixed number of times.
RetrySupplier(Supplier<T>, int) - Constructor for class io.atlassian.fugue.retry.RetrySupplier
An instance that does nothing before retrying and ignores exceptions that occur.
RetrySupplier(Supplier<T>, int, ExceptionHandler) - Constructor for class io.atlassian.fugue.retry.RetrySupplier
An instance that does nothing before retrying.
RetrySupplier(Supplier<T>, int, ExceptionHandler, Runnable) - Constructor for class io.atlassian.fugue.retry.RetrySupplier
Constructor for RetrySupplier.
RetryTask - Class in io.atlassian.fugue.retry
A Runnable which wraps the apply method of another Runnable and attempts it a fixed number of times.
RetryTask(Runnable, int) - Constructor for class io.atlassian.fugue.retry.RetryTask
An instance that does nothing before retrying and ignores exceptions that occur.
RetryTask(Runnable, int, ExceptionHandler) - Constructor for class io.atlassian.fugue.retry.RetryTask
An instance that does nothing before retrying.
RetryTask(Runnable, int, ExceptionHandler, Runnable) - Constructor for class io.atlassian.fugue.retry.RetryTask
Constructor for RetryTask.
reverse() - Method in class io.atlassian.fugue.optic.Iso
 
reverse() - Method in class io.atlassian.fugue.optic.PIso
reverse a PIso: the source becomes the target and the target becomes the source
reverseGet(A) - Method in class io.atlassian.fugue.optic.Iso
 
reverseGet(B) - Method in class io.atlassian.fugue.optic.PIso
get the modified source of a PIso
reverseGet(B) - Method in class io.atlassian.fugue.optic.PPrism
get the modified source of a PPrism
reverseGet(A) - Method in class io.atlassian.fugue.optic.Prism
 
revMap(Iterable<? extends Function<A, B>>, A) - Static method in class io.atlassian.fugue.Iterables
Applies each function in fs to arg.
rhs() - Method in class io.atlassian.fugue.law.IsEq
Access the right element
right(R) - Static method in class io.atlassian.fugue.Either
right.
right() - Method in class io.atlassian.fugue.Either
Projects this either as a right.
right() - Static method in class io.atlassian.fugue.optic.std.EitherOptics
 
right() - Method in class io.atlassian.fugue.Pair
Accessor method for the right value of the pair.q
rightMapper() - Static method in class io.atlassian.fugue.Eithers
A function that maps an either to an option of its right type.
rightOr(Function<L, ? extends R>) - Method in class io.atlassian.fugue.Either
If this is a right return the contained value, else return the result of applying leftTransformer on left
rightValue() - Static method in class io.atlassian.fugue.Pair
Function for accessing the right value of pairs.
roundTripOneWay(S) - Method in class io.atlassian.fugue.optic.law.IsoLaws
get and reverseGet forms an Isomorphism: round trip one way
roundTripOtherWay(A) - Method in class io.atlassian.fugue.optic.law.IsoLaws
get and reverseGet forms an Isomorphism: round trip other way
roundTripOtherWay(A) - Method in class io.atlassian.fugue.optic.law.PrismLaws
reverseGet produces a value
run() - Method in class io.atlassian.fugue.retry.BeforeRetryExponentialBackoffTask
This method causes the current thread to sleep for a duration which doubles after each successive call.
run() - Method in class io.atlassian.fugue.retry.BeforeRetryLinearBackoffTask
This method causes the current thread to sleep for the time specified when the instance is constructed.
run() - Method in class io.atlassian.fugue.retry.RetryTask
Attempt to run the wrapped Runnable tries number of times.

S

second() - Method in class io.atlassian.fugue.optic.Getter
 
second() - Method in class io.atlassian.fugue.optic.Iso
 
second() - Method in class io.atlassian.fugue.optic.Optional
 
second() - Method in class io.atlassian.fugue.optic.PIso
 
second() - Method in class io.atlassian.fugue.optic.POptional
 
Semigroup<A> - Interface in io.atlassian.fugue
A Semigroup is an algebraic structure consisting of an associative binary operation across the values of a given type (the Semigroup type argument).
semigroupAssociative(A, A, A) - Method in class io.atlassian.fugue.law.MonoidLaws
A monoid must not care about the order elements are combined.
semigroupAssociative(A, A, A) - Method in class io.atlassian.fugue.law.SemigroupLaws
A semigroup must not care about the order elements are combined.
SemigroupLaws<A> - Class in io.atlassian.fugue.law
Laws for a semigroup
SemigroupLaws(Semigroup<A>) - Constructor for class io.atlassian.fugue.law.SemigroupLaws
Build a law instance to check semigroup properties
Semigroups - Class in io.atlassian.fugue
Semigroup instances.
sequence(Either<X, R>) - Method in class io.atlassian.fugue.Either.LeftProjection
Anonymous bind through this projection.
sequence(Either<L, X>) - Method in class io.atlassian.fugue.Either.RightProjection
Anonymous bind through this projection.
sequence(Either<L, X>) - Method in class io.atlassian.fugue.Either
Will return the supplied Either if this one is right, otherwise this one if left.
sequence(Iterable<Try<A>>) - Static method in class io.atlassian.fugue.Try
Returns a success wrapping all of the values if all of the arguments were a success, otherwise this returns the first failure
sequence(Iterable<Try<T>>, Collector<T, A, R>) - Static method in class io.atlassian.fugue.Try
Returns a success wrapping all of the values if all of the arguments were a success, otherwise this returns the first failure
sequenceLeft(Iterable<Either<L, R>>) - Static method in class io.atlassian.fugue.Eithers
Collect the left values if there are only lefts, otherwise return the first right encountered.
sequenceLeft(Iterable<Either<L, R>>, Collector<L, A, C>) - Static method in class io.atlassian.fugue.Eithers
Collect the left values if there are only lefts, otherwise return the first right encountered.
sequenceRight(Iterable<Either<L, R>>) - Static method in class io.atlassian.fugue.Eithers
Collect the right values if there are only rights, otherwise return the first left encountered.
sequenceRight(Iterable<Either<L, R>>, Collector<R, A, C>) - Static method in class io.atlassian.fugue.Eithers
Collect the right values if there are only rights, otherwise return the first left encountered.
set(S, A) - Method in class io.atlassian.fugue.optic.law.IsoLaws
set is a weaker version of reverseGet
set(A) - Method in class io.atlassian.fugue.optic.Lens
 
set(A) - Method in class io.atlassian.fugue.optic.Optional
 
set(B) - Method in class io.atlassian.fugue.optic.PIso
set polymorphically the target of a PIso with a value
set(B) - Method in class io.atlassian.fugue.optic.PLens
set polymorphically the target of a PLens using a function
set(B) - Method in class io.atlassian.fugue.optic.POptional
get the modified source of a POptional
set(B) - Method in class io.atlassian.fugue.optic.PPrism
set polymorphically the target of a PPrism with a value
set(B) - Method in class io.atlassian.fugue.optic.PSetter
set polymorphically the target of a PSetter with a value
set(B) - Method in class io.atlassian.fugue.optic.PTraversal
set polymorphically the target of a PTraversal with a value
set(A) - Method in class io.atlassian.fugue.optic.Setter
 
setGet(S, A) - Method in class io.atlassian.fugue.optic.law.LensLaws
get what you set
setGetAll(S, A) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
get what you set.
setGetOption(S, A) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
get what you set
setIdempotent(S, A) - Method in class io.atlassian.fugue.optic.law.LensLaws
set idempotent
setIdempotent(S, A) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
set idempotent
setIdempotent(S, A) - Method in class io.atlassian.fugue.optic.law.SetterLaws
set idempotent
setIdempotent(S, A) - Method in class io.atlassian.fugue.optic.law.TraversalLaws
set idempotent
setOption(S, A) - Method in class io.atlassian.fugue.optic.law.OptionalLaws
setOption only succeeds when the Optional is matching
setOption(S, A) - Method in class io.atlassian.fugue.optic.law.PrismLaws
setOption only succeeds when the Prism is matching
setOption(B) - Method in class io.atlassian.fugue.optic.POptional
set polymorphically the target of a POptional with a value.
setOption(B) - Method in class io.atlassian.fugue.optic.PPrism
set polymorphically the target of a PPrism with a value.
Setter<S,A> - Class in io.atlassian.fugue.optic
PSetter with a monomorphic modify function
Setter(PSetter<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.Setter
 
setter(Function<Function<A, A>, Function<S, S>>) - Static method in class io.atlassian.fugue.optic.Setter
alias for PSetter constructor with a monomorphic modify function
SetterLaws<S,A> - Class in io.atlassian.fugue.optic.law
 
SetterLaws(PSetter<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.law.SetterLaws
 
size(Iterable<A>) - Static method in class io.atlassian.fugue.Iterables
Return the size of an iterable.
some() - Static method in class io.atlassian.fugue.optic.std.OptionOptics
 
some(A) - Static method in class io.atlassian.fugue.Option
Factory method for Some instances.
Steps - Class in io.atlassian.fugue.extensions.step
This provides an entry point for a "for-comprehension" styled syntax shortcut of fugue Option, Either, Try and Java 8 Optional.
string - Static variable in class io.atlassian.fugue.Monoids
A monoid that appends strings.
successful(A) - Static method in class io.atlassian.fugue.Try
Creates a new Success
sum(Iterable<A>) - Method in interface io.atlassian.fugue.Monoid
Sums the given values.
sum(Fold<S1, A>) - Method in class io.atlassian.fugue.optic.Fold
join two Fold with the same target
sum(Getter<S1, A>) - Method in class io.atlassian.fugue.optic.Getter
join two Getter with the same target
sum(Lens<S1, A>) - Method in class io.atlassian.fugue.optic.Lens
join two Lens with the same target
sum(Optional<S1, A>) - Method in class io.atlassian.fugue.optic.Optional
join two Optional with the same target
sum(PLens<S1, T1, A, B>) - Method in class io.atlassian.fugue.optic.PLens
join two PLens with the same target
sum(POptional<S1, T1, A, B>) - Method in class io.atlassian.fugue.optic.POptional
join two POptional with the same target
sum(PSetter<S1, T1, A, B>) - Method in class io.atlassian.fugue.optic.PSetter
join two PSetter with the same target
sum(PTraversal<S1, T1, A, B>) - Method in class io.atlassian.fugue.optic.PTraversal
join two PTraversal with the same target
sum(Setter<S1, A>) - Method in class io.atlassian.fugue.optic.Setter
join two Setter with the same target
sum(Traversal<S1, A>) - Method in class io.atlassian.fugue.optic.Traversal
join two Traversal with the same target
sumEqualFold(Iterable<A>) - Method in class io.atlassian.fugue.law.MonoidLaws
The sum function of your monoid must be equal to Functions.fold(BiFunction, Object, Iterable) using append as the folding function and zero() as the initial value
sumNonEmpty(A, Iterable<A>) - Method in interface io.atlassian.fugue.Monoid
 
sumNonEmpty(A, Iterable<A>) - Method in interface io.atlassian.fugue.Semigroup
Reduce a 'non-empty' Iterable with Semigroup.append(Object, Object)
sumNonEmptyEqualFold(A, Iterable<A>) - Method in class io.atlassian.fugue.law.SemigroupLaws
The Semigroup.sumNonEmpty(Object, Iterable) function of your semigroup must be equal to a Functions.fold(BiFunction, Object, Iterable) where append is used as the combining function, head is used as the initial value and tail is the iterable to check
Suppliers - Class in io.atlassian.fugue
Provide utility functions for the class of functions that supply a return value when invoked.
Suppliers() - Constructor for class io.atlassian.fugue.Suppliers
 
swap() - Method in class io.atlassian.fugue.Either
If this is a left, then return the left value in right, or vice versa.

T

take(int, Iterable<A>) - Static method in class io.atlassian.fugue.Iterables
Aakes the first n as and returns them.
takeWhile(Iterable<A>, Predicate<A>) - Static method in class io.atlassian.fugue.Iterables
Return a new iterable containing only the first elements of as for which p#test returns true.
test(A, B, C) - Method in interface io.atlassian.fugue.extensions.functions.Predicate3
Evaluates this predicate on the given arguments.
test(A, B, C, D) - Method in interface io.atlassian.fugue.extensions.functions.Predicate4
Evaluates this predicate on the given arguments.
test(A, B, C, D, E) - Method in interface io.atlassian.fugue.extensions.functions.Predicate5
Evaluates this predicate on the given arguments.
test(A, B, C, D, E, F) - Method in interface io.atlassian.fugue.extensions.functions.Predicate6
Evaluates this predicate on the given arguments.
then(Function<? super A, Either<LL, B>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep1
Apply the provided function with the previous Step results.
then(Supplier<Either<LL, B>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep1
Apply the provided supplier with the previous Step results.
then(BiFunction<? super A, ? super B, Either<LL, C>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep2
Apply the provided function with the previous Step results.
then(Supplier<Either<LL, C>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep2
Apply the provided supplier with the previous Step results.
then(Function3<? super A, ? super B, ? super C, Either<LL, D>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep3
Apply the provided function with the previous Step results.
then(Supplier<Either<LL, D>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep3
Apply the provided supplier with the previous Step results.
then(Function4<? super A, ? super B, ? super C, ? super D, Either<LL, E>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep4
Apply the provided function with the previous Step results.
then(Supplier<Either<LL, E>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep4
Apply the provided supplier with the previous Step results.
then(Function5<? super A, ? super B, ? super C, ? super D, ? super E, Either<LL, F>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep5
Apply the provided function with the previous Step results.
then(Supplier<Either<LL, F>>) - Method in class io.atlassian.fugue.extensions.step.EitherStep5
Apply the provided supplier with the previous Step results.
then(Function<? super A, Optional<B>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep1
Apply the provided function with the previous Step results.
then(Supplier<Optional<B>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep1
Apply the provided supplier with the previous Step results.
then(BiFunction<? super A, ? super B, Optional<C>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep2
Apply the provided function with the previous Step results.
then(Supplier<Optional<C>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep2
Apply the provided supplier with the previous Step results.
then(Function3<? super A, ? super B, ? super C, Optional<D>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep3
Apply the provided function with the previous Step results.
then(Supplier<Optional<D>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep3
Apply the provided supplier with the previous Step results.
then(Function4<? super A, ? super B, ? super C, ? super D, Optional<E>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep4
Apply the provided function with the previous Step results.
then(Supplier<Optional<E>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep4
Apply the provided supplier with the previous Step results.
then(Function5<? super A, ? super B, ? super C, ? super D, ? super E, Optional<F>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep5
Apply the provided function with the previous Step results.
then(Supplier<Optional<F>>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep5
Apply the provided supplier with the previous Step results.
then(Function<? super A, ? extends Option<? extends B>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep1
Apply the provided function with the previous Step results.
then(Supplier<? extends Option<? extends B>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep1
Apply the provided supplier with the previous Step results.
then(BiFunction<? super A, ? super B, ? extends Option<? extends C>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep2
Apply the provided function with the previous Step results.
then(Supplier<? extends Option<? extends C>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep2
Apply the provided supplier with the previous Step results.
then(Function3<? super A, ? super B, ? super C, ? extends Option<? extends D>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep3
Apply the provided function with the previous Step results.
then(Supplier<? extends Option<? extends D>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep3
Apply the provided supplier with the previous Step results.
then(Function4<? super A, ? super B, ? super C, ? super D, ? extends Option<? extends E>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep4
Apply the provided function with the previous Step results.
then(Supplier<? extends Option<? extends E>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep4
Apply the provided supplier with the previous Step results.
then(Function5<? super A, ? super B, ? super C, ? super D, ? super E, ? extends Option<? extends F>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep5
Apply the provided function with the previous Step results.
then(Supplier<? extends Option<? extends F>>) - Method in class io.atlassian.fugue.extensions.step.OptionStep5
Apply the provided supplier with the previous Step results.
then(Function<? super A, Try<B>>) - Method in class io.atlassian.fugue.extensions.step.TryStep1
Apply the provided function with the previous Step results.
then(Supplier<Try<B>>) - Method in class io.atlassian.fugue.extensions.step.TryStep1
Apply the provided supplier with the previous Step results.
then(BiFunction<? super A, ? super B, Try<C>>) - Method in class io.atlassian.fugue.extensions.step.TryStep2
Apply the provided function with the previous Step results.
then(Supplier<Try<C>>) - Method in class io.atlassian.fugue.extensions.step.TryStep2
Apply the provided supplier with the previous Step results.
then(Function3<? super A, ? super B, ? super C, Try<D>>) - Method in class io.atlassian.fugue.extensions.step.TryStep3
Apply the provided function with the previous Step results.
then(Supplier<Try<D>>) - Method in class io.atlassian.fugue.extensions.step.TryStep3
Apply the provided supplier with the previous Step results.
then(Function4<? super A, ? super B, ? super C, ? super D, Try<E>>) - Method in class io.atlassian.fugue.extensions.step.TryStep4
Apply the provided function with the previous Step results.
then(Supplier<Try<E>>) - Method in class io.atlassian.fugue.extensions.step.TryStep4
Apply the provided supplier with the previous Step results.
then(Function5<? super A, ? super B, ? super C, ? super D, ? super E, Try<F>>) - Method in class io.atlassian.fugue.extensions.step.TryStep5
Apply the provided function with the previous Step results.
then(Supplier<Try<F>>) - Method in class io.atlassian.fugue.extensions.step.TryStep5
Apply the provided supplier with the previous Step results.
Throwables - Class in io.atlassian.fugue.deprecated
Deprecated.
since 2.4, no need in Java7 with closeWithResources and multi-catch
Throwables() - Constructor for class io.atlassian.fugue.deprecated.Throwables
Deprecated.
 
toBiFunction(Function<Pair<A, B>, C>) - Static method in class io.atlassian.fugue.Functions
Converts a function that takes a pair of arguments to a function that takes two arguments
toEither() - Method in class io.atlassian.fugue.Try
Convert this Try to an Either, becoming a left if this is a failure and a right if this is a success.
toLeft() - Static method in class io.atlassian.fugue.Eithers
Function to convert from an value to a Either.Left containing that value.
toLeft(Class<L>, Class<R>) - Static method in class io.atlassian.fugue.Eithers
Function to convert from a value to a Either.Left containing that value.
toLeft(L) - Static method in class io.atlassian.fugue.Eithers
Supplier returning a Either.Left.
toLeft(L, Class<R>) - Static method in class io.atlassian.fugue.Eithers
Supplier returning a Either.Left.
toLeft(Supplier<X>) - Method in class io.atlassian.fugue.Option
Creates an Either from this Option.
toMap(Iterable<Map.Entry<K, V>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Builds an immutable map from the given iterable of Map.Entry.
toMap(Iterable<T>, Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Builds an immutable map from the given iterable, with key derived from the application of the iterable to the keyTransformer, and value derived from the application of the iterable to the valueTransformer.
toOption() - Method in interface io.atlassian.fugue.Either.Projection
Returns this projection's value in Some if it exists, otherwise None.
toOption() - Method in class io.atlassian.fugue.Either
Convert this Either to an Option.
toOption() - Static method in class io.atlassian.fugue.Options
Function for wrapping values in a Some or None.
toOption() - Method in class io.atlassian.fugue.Try
Convert this Try to an Option.
toOptional() - Method in interface io.atlassian.fugue.Either.Projection
Returns this projection's value in Optional.of(T) if it exists, otherwise Optional.empty().
toOptional() - Method in class io.atlassian.fugue.Either
Convert this Either to an Optional.
toOptional() - Method in class io.atlassian.fugue.Option
Create an Optional from this option.
toOptional() - Method in class io.atlassian.fugue.Try
Create a Optional from this try.
toRight() - Static method in class io.atlassian.fugue.Eithers
Function to convert from an value to a Either.Right.
toRight(Class<L>, Class<R>) - Static method in class io.atlassian.fugue.Eithers
Function to convert from a value to a Either.Right containing that value.
toRight(R) - Static method in class io.atlassian.fugue.Eithers
Supplier returning a Either.Right.
toRight(Class<L>, R) - Static method in class io.atlassian.fugue.Eithers
Supplier returning a Either.Right.
toRight(Supplier<X>) - Method in class io.atlassian.fugue.Option
Creates an Either from this Option.
toStream() - Method in interface io.atlassian.fugue.Either.Projection
Returns this projection's value in Stream.of(T) if it exists, otherwise Stream.empty().
toStream() - Method in class io.atlassian.fugue.Either
Convert this Either to a Stream.
toStream() - Method in class io.atlassian.fugue.Option
Create a Stream from this option.
toStream() - Method in class io.atlassian.fugue.Try
Create a Stream from this try.
toString() - Method in class io.atlassian.fugue.Option
toString() - Method in class io.atlassian.fugue.Pair
transform(Map<K1, V1>, Function<Map.Entry<K1, V1>, Map.Entry<K2, V2>>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Returns an immutable map that applies function to each entry of fromMap.
transform(Map<K1, V1>, Function<? super K1, ? extends K2>, Function<? super V1, ? extends V2>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Returns an immutable map that applies the keyTransformer and valueTransformer functions to each entry of fromMap.
transform(Iterable<A>, Function<? super A, ? extends B>) - Static method in class io.atlassian.fugue.Iterables
Deprecated.
function provided to make migration easier prefer to use #map where possible
transformKey(Map<K1, V>, Function<? super K1, ? extends K2>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Returns an immutable map that applies keyTransformer to the key of each entry of the source map.
transformValue(Map<K, V1>, Function<? super V1, ? extends V2>) - Static method in class io.atlassian.fugue.extras.ImmutableMaps
Returns an immutable map that applies valueTransformer to the value of each entry of the source map.
Traversal<S,A> - Class in io.atlassian.fugue.optic
 
Traversal(PTraversal<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.Traversal
 
traversal(Function<S, A>, Function<S, A>, BiFunction<A, A, Function<S, S>>) - Static method in class io.atlassian.fugue.optic.Traversal
 
traversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<A, Function<A, Function<A, Function<S, S>>>>) - Static method in class io.atlassian.fugue.optic.Traversal
 
traversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<A, Function<A, Function<A, Function<A, Function<S, S>>>>>) - Static method in class io.atlassian.fugue.optic.Traversal
 
traversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<A, Function<A, Function<A, Function<A, Function<A, Function<S, S>>>>>>) - Static method in class io.atlassian.fugue.optic.Traversal
 
traversal(Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<S, A>, Function<A, Function<A, Function<A, Function<A, Function<A, Function<A, Function<S, S>>>>>>>) - Static method in class io.atlassian.fugue.optic.Traversal
 
TraversalLaws<S,A> - Class in io.atlassian.fugue.optic.law
 
TraversalLaws(PTraversal<S, S, A, A>) - Constructor for class io.atlassian.fugue.optic.law.TraversalLaws
 
Try<A> - Class in io.atlassian.fugue
A Try represents a computation that may either throw an exception or return a value.
Try() - Constructor for class io.atlassian.fugue.Try
 
TryMatchers - Class in io.atlassian.fugue.hamcrest
 
TryStep1<A> - Class in io.atlassian.fugue.extensions.step
The first step of the Try type.
TryStep2<A,B> - Class in io.atlassian.fugue.extensions.step
The second step of the Try type.
TryStep3<A,B,C> - Class in io.atlassian.fugue.extensions.step
The third step of the Try type.
TryStep4<A,B,C,D> - Class in io.atlassian.fugue.extensions.step
The fourth step of the Try type.
TryStep5<A,B,C,D,E> - Class in io.atlassian.fugue.extensions.step
The fifth step of the Try type.
TryStep6<A,B,C,D,E,F> - Class in io.atlassian.fugue.extensions.step
The sixth step of the Try type.

U

unfold(Function<? super B, Option<Pair<A, B>>>, B) - Static method in class io.atlassian.fugue.Iterables
Builds an Iterable from a seed value until f returns none() .
unit - Static variable in class io.atlassian.fugue.Monoids
A monoid for the Unit value.
Unit - Enum in io.atlassian.fugue
An alternative to Void that is actually once inhabited (whereas Void is inhabited by null, which causes NPEs).
Unit() - Static method in enum io.atlassian.fugue.Unit
Provide ability to statically import Unit.UNIT and then use UNIT() within your code, primarily for readability purposes.
unzip(Iterable<Pair<A, B>>) - Static method in class io.atlassian.fugue.Iterables
Unzips an iterable of pairs into a pair of iterables.
upcast(Option<A>) - Static method in class io.atlassian.fugue.Options
Upcasts an option of type A to an option of its super type AA.
upcastLeft(Either<L, R>) - Static method in class io.atlassian.fugue.Eithers
Upcasts an either of left type L to an either of left type LL, which is a super type of L, keeping the right type unchanged.
upcastRight(Either<L, R>) - Static method in class io.atlassian.fugue.Eithers
Upcasts an either of right type R to an either of right type RR, which is a super type of R, keeping the left type unchanged.

V

valueOf(String) - Static method in enum io.atlassian.fugue.Unit
Returns the enum constant of this type with the specified name.
valueOr(Function<L, ? extends R>) - Method in class io.atlassian.fugue.Either
Deprecated.
In favor of rightOr
values() - Static method in enum io.atlassian.fugue.Unit
Returns an array containing the constants of this enum type, in the order they are declared.

W

weakMemoize(Function<A, B>) - Static method in class io.atlassian.fugue.Functions
Takes a Function and memoizes (caches) the result for each input.
weakMemoize(Supplier<A>) - Static method in class io.atlassian.fugue.Suppliers
A supplier that weakly memoize the value return by another Supplier , The returned Supplier is thread-safe

Y

yield(Function<? super A, Z>) - Method in class io.atlassian.fugue.extensions.step.EitherStep1
Terminating step expression, that will provide the previous steps to this function and return the result as a Right
yield(BiFunction<? super A, ? super B, Z>) - Method in class io.atlassian.fugue.extensions.step.EitherStep2
Terminating step expression, that will provide the previous steps to this function and return the result as a Right
yield(Function3<? super A, ? super B, ? super C, Z>) - Method in class io.atlassian.fugue.extensions.step.EitherStep3
Terminating step expression, that will provide the previous steps to this function and return the result as a Right
yield(Function4<? super A, ? super B, ? super C, ? super D, Z>) - Method in class io.atlassian.fugue.extensions.step.EitherStep4
Terminating step expression, that will provide the previous steps to this function and return the result as a Right
yield(Function5<? super A, ? super B, ? super C, ? super D, ? super E, Z>) - Method in class io.atlassian.fugue.extensions.step.EitherStep5
Terminating step expression, that will provide the previous steps to this function and return the result as a Right
yield(Function6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, Z>) - Method in class io.atlassian.fugue.extensions.step.EitherStep6
Terminating step expression, that will provide the previous steps to this function and return the result as a Right
yield(Function<? super A, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep1
Terminating step expression, that will provide the previous steps to this function and return the result as a of
yield(BiFunction<? super A, ? super B, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep2
Terminating step expression, that will provide the previous steps to this function and return the result as a of
yield(Function3<? super A, ? super B, ? super C, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep3
Terminating step expression, that will provide the previous steps to this function and return the result as a of
yield(Function4<? super A, ? super B, ? super C, ? super D, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep4
Terminating step expression, that will provide the previous steps to this function and return the result as a of
yield(Function5<? super A, ? super B, ? super C, ? super D, ? super E, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep5
Terminating step expression, that will provide the previous steps to this function and return the result as a of
yield(Function6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionalStep6
Terminating step expression, that will provide the previous steps to this function and return the result as a of
yield(Function<? super A, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionStep1
Terminating step expression, that will provide the previous steps to this function and return the result as a some
yield(BiFunction<? super A, ? super B, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionStep2
Terminating step expression, that will provide the previous steps to this function and return the result as a some
yield(Function3<? super A, ? super B, ? super C, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionStep3
Terminating step expression, that will provide the previous steps to this function and return the result as a some
yield(Function4<? super A, ? super B, ? super C, ? super D, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionStep4
Terminating step expression, that will provide the previous steps to this function and return the result as a some
yield(Function5<? super A, ? super B, ? super C, ? super D, ? super E, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionStep5
Terminating step expression, that will provide the previous steps to this function and return the result as a some
yield(Function6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, Z>) - Method in class io.atlassian.fugue.extensions.step.OptionStep6
Terminating step expression, that will provide the previous steps to this function and return the result as a some
yield(Function<? super A, Z>) - Method in class io.atlassian.fugue.extensions.step.TryStep1
Terminating step expression, that will provide the previous steps to this function and return the result as a Success
yield(BiFunction<? super A, ? super B, Z>) - Method in class io.atlassian.fugue.extensions.step.TryStep2
Terminating step expression, that will provide the previous steps to this function and return the result as a Success
yield(Function3<? super A, ? super B, ? super C, Z>) - Method in class io.atlassian.fugue.extensions.step.TryStep3
Terminating step expression, that will provide the previous steps to this function and return the result as a Success
yield(Function4<? super A, ? super B, ? super C, ? super D, Z>) - Method in class io.atlassian.fugue.extensions.step.TryStep4
Terminating step expression, that will provide the previous steps to this function and return the result as a Success
yield(Function5<? super A, ? super B, ? super C, ? super D, ? super E, Z>) - Method in class io.atlassian.fugue.extensions.step.TryStep5
Terminating step expression, that will provide the previous steps to this function and return the result as a Success
yield(Function6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, Z>) - Method in class io.atlassian.fugue.extensions.step.TryStep6
Terminating step expression, that will provide the previous steps to this function and return the result as a Success

Z

zero() - Method in interface io.atlassian.fugue.Monoid
The identity element value for this monoid.
zip(Iterable<A>, Iterable<B>) - Static method in class io.atlassian.fugue.Iterables
Zips two iterables into a single iterable that produces pairs.
zip(Iterable<A>, Iterable<B>) - Static method in class io.atlassian.fugue.Pair
Zips two iterables into a single iterable that produces pairs.
zip(Optional<A>, Optional<B>) - Static method in class io.atlassian.fugue.Pair
Zips the two given optionals into an optional of a pair.
zipWith(BiFunction<A, B, C>) - Static method in class io.atlassian.fugue.Iterables
Takes a two-arg function that returns a third type and reurn a new function that takes iterables of the two input types and combines them into a new iterable.
zipWithIndex(Iterable<A>) - Static method in class io.atlassian.fugue.Iterables
Takes an Iterable, and returns an Iterable of a Pair of the original element and its index starting at zero.

_

_right() - Static method in class io.atlassian.fugue.optic.std.PairOptics
 
A B C D E F G H I J L M N O P R S T U V W Y Z _ 

Copyright © 2018 Atlassian. All rights reserved.