- 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
-
- 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
-
- apply(Either<L, Function<R, X>>) - Method in class io.atlassian.fugue.Either.RightProjection
-
- 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
-
- asFold() - Method in class io.atlassian.fugue.optic.PIso
-
- asFold() - Method in class io.atlassian.fugue.optic.PLens
-
- asFold() - Method in class io.atlassian.fugue.optic.POptional
-
- asFold() - Method in class io.atlassian.fugue.optic.PPrism
-
- asFold() - Method in class io.atlassian.fugue.optic.PTraversal
-
- asGetter() - Method in class io.atlassian.fugue.optic.PIso
-
- asGetter() - Method in class io.atlassian.fugue.optic.PLens
-
- asLens() - Method in class io.atlassian.fugue.optic.Iso
-
- asLens() - Method in class io.atlassian.fugue.optic.PIso
-
- asOptional() - Method in class io.atlassian.fugue.optic.Iso
-
- asOptional() - Method in class io.atlassian.fugue.optic.Lens
-
- asOptional() - Method in class io.atlassian.fugue.optic.PIso
-
- asOptional() - Method in class io.atlassian.fugue.optic.PLens
-
- asOptional() - Method in class io.atlassian.fugue.optic.PPrism
-
- asOptional() - Method in class io.atlassian.fugue.optic.Prism
-
- asPrism() - Method in class io.atlassian.fugue.optic.Iso
-
- asPrism() - Method in class io.atlassian.fugue.optic.PIso
-
- asSetter() - Method in class io.atlassian.fugue.optic.Iso
-
- asSetter() - Method in class io.atlassian.fugue.optic.Lens
-
- asSetter() - Method in class io.atlassian.fugue.optic.Optional
-
- asSetter() - Method in class io.atlassian.fugue.optic.PIso
-
- asSetter() - Method in class io.atlassian.fugue.optic.PLens
-
- asSetter() - Method in class io.atlassian.fugue.optic.POptional
-
- asSetter() - Method in class io.atlassian.fugue.optic.PPrism
-
- asSetter() - Method in class io.atlassian.fugue.optic.Prism
-
- asSetter() - Method in class io.atlassian.fugue.optic.PTraversal
-
- asSetter() - Method in class io.atlassian.fugue.optic.Traversal
-
- asTraversal() - Method in class io.atlassian.fugue.optic.Iso
-
- asTraversal() - Method in class io.atlassian.fugue.optic.Lens
-
- asTraversal() - Method in class io.atlassian.fugue.optic.Optional
-
- asTraversal() - Method in class io.atlassian.fugue.optic.PIso
-
- asTraversal() - Method in class io.atlassian.fugue.optic.PLens
-
- asTraversal() - Method in class io.atlassian.fugue.optic.POptional
-
- asTraversal() - Method in class io.atlassian.fugue.optic.PPrism
-
- asTraversal() - Method in class io.atlassian.fugue.optic.Prism
-
- attempt() - Method in interface io.atlassian.fugue.Checked.Supplier
-
- 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
-
- Checked.Supplier<A,E extends Exception> - Interface in io.atlassian.fugue
-
- 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
-
- 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
-
- composeFold(Fold<A, B>) - Method in class io.atlassian.fugue.optic.Fold
-
- composeFold(Fold<A, B>) - Method in class io.atlassian.fugue.optic.Getter
-
- composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PIso
-
- composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PLens
-
- composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.POptional
-
- composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composeFold(Fold<A, C>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- composeFold(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.Fold
-
- composeGetter(Getter<A, B>) - Method in class io.atlassian.fugue.optic.Getter
-
- composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PIso
-
- composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PLens
-
- composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.POptional
-
- composeGetter(Getter<A, C>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Fold
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
-
- composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Iso
-
- composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Lens
-
- composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Optional
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Prism
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
-
- composeIso(PIso<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- composeIso(Iso<A, C>) - Method in class io.atlassian.fugue.optic.Setter
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Fold
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
-
- composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Iso
-
- composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Lens
-
- composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Optional
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composeLens(Lens<A, C>) - Method in class io.atlassian.fugue.optic.Prism
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
-
- composeLens(PLens<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- 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
-
- composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
-
- composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Iso
-
- composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Lens
-
- composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Optional
-
- composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
-
- composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
-
- composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
-
- composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composeOptional(Optional<A, C>) - Method in class io.atlassian.fugue.optic.Prism
-
- composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
-
- composeOptional(POptional<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Fold
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.Getter
-
- composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Iso
-
- composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Lens
-
- composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Optional
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composePrism(Prism<A, C>) - Method in class io.atlassian.fugue.optic.Prism
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
-
- composePrism(PPrism<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Iso
-
- composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Lens
-
- composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Optional
-
- composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
-
- composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
-
- composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
-
- composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Prism
-
- composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
-
- composeSetter(PSetter<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Setter
-
- composeSetter(Setter<A, C>) - Method in class io.atlassian.fugue.optic.Traversal
-
- composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Iso
-
- composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Lens
-
- composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Optional
-
- composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PIso
-
- composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PLens
-
- composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.POptional
-
- composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PPrism
-
- composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Prism
-
- composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PSetter
-
- composeTraversal(PTraversal<A, B, C, D>) - Method in class io.atlassian.fugue.optic.PTraversal
-
- composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.Setter
-
- composeTraversal(Traversal<A, C>) - Method in class io.atlassian.fugue.optic.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.
- 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(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.
- 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
-
- 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
Left and successF if this is a Right.
- 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
-
- foreach(Effect<? super R>) - Method in class io.atlassian.fugue.Either
-
- 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
- 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
-
- 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
-
- Functions - Class in io.atlassian.fugue
-
Utility methods for Functions
- 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(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(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
-
- 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
-
- 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
-
- 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
-
- 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.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() - 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
-
- 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
- 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.
- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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.
- 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
-
- 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
- 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.
- 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.
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- sumEqualFold(Iterable<A>) - Method in class io.atlassian.fugue.law.MonoidLaws
-
- sumNonEmpty(A, Iterable<A>) - Method in interface io.atlassian.fugue.Monoid
-
- sumNonEmpty(A, Iterable<A>) - Method in interface io.atlassian.fugue.Semigroup
-
- sumNonEmptyEqualFold(A, Iterable<A>) - Method in class io.atlassian.fugue.law.SemigroupLaws
-
- 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.
- 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.
- Throwables - Class in io.atlassian.fugue.deprecated
-
- 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
-
- toOptional() - Method in class io.atlassian.fugue.Either
-
- toOptional() - Method in class io.atlassian.fugue.Option
-
- 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
-
- 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.
- 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
-
- 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
-