- recover(Function<? super B, ? extends G>) - Method in class com.github.javactic.Bad
-
- recover(Function<? super B, ? extends G>) - Method in interface com.github.javactic.futures.OrFuture
-
Creates a new future that will recover any potential Bad into a Good using
the supplied function.
- recover(Function<? super B, ? extends G>) - Method in class com.github.javactic.Good
-
- recover(Function<? super B, ? extends G>) - Method in interface com.github.javactic.Or
-
Maps the given function to this
Or
's value if it is a
Bad
, transforming it into a
Good
, or returns
this
if it is already a
Good
.
- recoverWith(Function<? super B, ? extends Or<? extends G, ? extends C>>) - Method in class com.github.javactic.Bad
-
- recoverWith(Function<? super B, ? extends OrFuture<? extends G, ? extends C>>) - Method in interface com.github.javactic.futures.OrFuture
-
Creates a new future that will recover any potential Bad into the a new future.
- recoverWith(Function<? super B, ? extends Or<? extends G, ? extends C>>) - Method in class com.github.javactic.Good
-
- recoverWith(Function<? super B, ? extends Or<? extends G, ? extends C>>) - Method in interface com.github.javactic.Or
-
Maps the given function to this
Or
's value if it is a
Bad
, returning the result, or
returns
this
if it is already a
Good
.
- reduce(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.github.javactic.Every
-
Reduces the elements of this Every using the specified associative binary
operator.
- reduceLeft(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.github.javactic.Every
-
Applies a binary operator to all elements of this Every, going left to
right.
- reduceLeftOption(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.github.javactic.Every
-
Applies a binary operator to all elements of this Every, going left to
right, returning the result in a Some.
- reduceOption(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.github.javactic.Every
-
Reduces the elements of this Every using the specified associative binary
operator returning the result in a Some.
- reduceRight(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.github.javactic.Every
-
Applies a binary operator to all elements of this Every, going right to
left.
- reduceRightOption(BiFunction<? super T, ? super T, ? extends T>) - Method in interface com.github.javactic.Every
-
Applies a binary operator to all elements of this Every, going right to
left, returning the result in a Some.
- reverse() - Method in interface com.github.javactic.Every
-
Returns new Every wih elements in reverse order.
- reverseIterator() - Method in interface com.github.javactic.Every
-
An iterator yielding elements in reverse order.
- reverseMap(Function<? super T, ? extends U>) - Method in interface com.github.javactic.Every
-
Builds a new Every by applying a function to all elements of this Every
and collecting the results in reverse order.
- runWith(Consumer<? super T>) - Method in interface com.github.javactic.Every
-
Composes this partial function with an action function which gets applied
to results of this partial function.