Index

A B C D E F G H I L M N O P R S T V W Z 
All Classes and Interfaces|All Packages

A

accept(Consumer<? super L>, Consumer<? super R>) - Method in interface com.github.skopylov58.functional.Either
Produces side effects for Either
accept(T) - Method in interface com.github.skopylov58.functional.Try.CheckedConsumer
 
addValidation(Function<T, R>, Validation<R, E>) - Method in class com.github.skopylov58.functional.Validation.Builder
Deprecated.
Add new validation of the R type field.
addValidation(Predicate<T>, E) - Method in class com.github.skopylov58.functional.Validation.Builder
Deprecated.
Adds new validation to the validator.
addValidation(Predicate<T>, Function<T, E>) - Method in class com.github.skopylov58.functional.Validation.Builder
Deprecated.
Adds new validation to the validator.
after(Function<T, R>, Consumer<R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
andFinally(Try.CheckedRunnable) - Method in interface com.github.skopylov58.functional.Try
Behaves like finally block in Java's try/catch/finally.
apply(S) - Method in interface com.github.skopylov58.functional.State
State monad is just function S -> (T, S)
apply(T) - Method in class com.github.skopylov58.functional.Decorator
 
apply(T) - Method in interface com.github.skopylov58.functional.FPUtils.CheckedFunction
 
apply(T) - Method in class com.github.skopylov58.functional.Memo
 
apply(T) - Method in interface com.github.skopylov58.functional.Try.CheckedFunction
 
asCloseable() - Method in interface com.github.skopylov58.functional.Either
Converts this Either to Closeable which is handy to use in try-with-resources block.

B

before(Function<T, R>, Consumer<T>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
bind(Function<? super T, ? extends Monad<R>>) - Method in interface com.github.skopylov58.functional.Monad
 
bind(Function<? super T, ? extends Monad<R>>) - Method in record class com.github.skopylov58.functional.Option.None
 
bind(Function<? super T, ? extends Monad<R>>) - Method in record class com.github.skopylov58.functional.Option.Some
 
bind(Function<? super T, ? extends Monad<R>>) - Method in class com.github.skopylov58.functional.Result.Failure
 
bind(Function<? super T, ? extends Monad<R>>) - Method in class com.github.skopylov58.functional.Result.Success
 
build() - Method in class com.github.skopylov58.functional.Validation.Builder
Deprecated.
Builds validator.
builder() - Static method in class com.github.skopylov58.functional.Validation
Deprecated.
Creates validation builder.

C

call(Callable<T>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
catching(Try.CheckedConsumer<? super R>) - Static method in interface com.github.skopylov58.functional.Either
Lifts throwing consumer to total R->Either<Exception,R> function.
catching(Try.CheckedFunction<? super R, ? extends T>) - Static method in interface com.github.skopylov58.functional.Either
Lifts throwing R->T function to total R->Either<Exception,R> function.
catching(Try.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.Try
Higher order function to transform partial T->R function to the total T->Try<R> function.
catching(Try.CheckedSupplier<? extends R>) - Static method in interface com.github.skopylov58.functional.Either
Factory method to produce Either<Exception,R> from throwing supplier
catchingMapper(FPUtils.CheckedFunction<T, R>, BiFunction<T, Exception, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
catchingMapper(FPUtils.CheckedFunction<T, R>, Supplier<R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
cause() - Method in class com.github.skopylov58.functional.FPUtils.ResultJava8
 
close() - Method in interface com.github.skopylov58.functional.Try
 
close() - Method in class com.github.skopylov58.functional.Try.Failure
 
close() - Method in class com.github.skopylov58.functional.Try.Success
 
com.github.skopylov58.functional - package com.github.skopylov58.functional
This package provides interfaces for functional exception handling Try<T>, Either<R, L>, Validation<T, E> and some useful high order functions.
consumeCatching(Try.CheckedConsumer<T>) - Static method in interface com.github.skopylov58.functional.Try
 
ctou(Consumer<T>) - Static method in interface com.github.skopylov58.functional.FPUtils
Consumer to UnaryOperator conversion.

D

decorate(Function<T, R>, Consumer<T>) - Static method in class com.github.skopylov58.functional.Decorator
 
Decorator<T,R> - Class in com.github.skopylov58.functional
 

E

Either<L,R> - Interface in com.github.skopylov58.functional
Minimal functional Either implementation.
Either.Left<L,R> - Record Class in com.github.skopylov58.functional
Left side of Either.
Either.Right<L,R> - Record Class in com.github.skopylov58.functional
Right side of Either.
equals(Object) - Method in record class com.github.skopylov58.functional.Either.Left
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.skopylov58.functional.Either.Right
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.skopylov58.functional.FPUtils.Result
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.skopylov58.functional.Option.None
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.skopylov58.functional.Option.Some
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.skopylov58.functional.ZIO
Indicates whether some other object is "equal to" this one.
exception() - Method in record class com.github.skopylov58.functional.FPUtils.Result
Returns the value of the exception record component.
exponentialBackoff(long, long) - Static method in interface com.github.skopylov58.functional.FPUtils
Backoff strategy that starts with min value, increasing delay twice on each step, with max upper threshold.

F

fail(E) - Static method in record class com.github.skopylov58.functional.ZIO
 
failed() - Method in class com.github.skopylov58.functional.FPUtils.ResultJava8
 
failure(Exception) - Static method in record class com.github.skopylov58.functional.FPUtils.Result
 
failure(Exception) - Static method in interface com.github.skopylov58.functional.Result
 
failure(Exception) - Static method in interface com.github.skopylov58.functional.Try
Factory method to produce Try from value of Exception.
filter(Predicate<? super R>) - Method in interface com.github.skopylov58.functional.Either
 
filter(Predicate<? super R>, Function<? super R, ? extends L>) - Method in interface com.github.skopylov58.functional.Either
Filters right side of Either, does not have effect if it is left side.
filter(Predicate<? super T>) - Method in interface com.github.skopylov58.functional.Try
Filters current Try, has no action for failure.
filter(Predicate<T>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
first - Variable in class com.github.skopylov58.functional.Tuple
 
fixedDelay(Duration) - Static method in interface com.github.skopylov58.functional.FPUtils
Fixed delay backoff strategy
flatMap(Function<? super A, ZIO<R, E, B>>) - Method in record class com.github.skopylov58.functional.ZIO
 
flatMap(Function<? super R, ? extends Either<? extends L, ? extends T>>) - Method in interface com.github.skopylov58.functional.Either
Flat maps right side of the Either.
flatMap(Function<? super T, ? extends Option<R>>) - Method in record class com.github.skopylov58.functional.Option.None
 
flatMap(Function<? super T, ? extends Option<R>>) - Method in record class com.github.skopylov58.functional.Option.Some
 
flatMap(Function<? super T, ? extends Result<R>>) - Method in class com.github.skopylov58.functional.Result.Failure
 
flatMap(Function<? super T, ? extends Result<R>>) - Method in class com.github.skopylov58.functional.Result.Success
 
flatMap(Function<? super T, IO2<C, R>>) - Method in interface com.github.skopylov58.functional.IO2
 
flatMap(Function<? super T, Reader<C, R>>) - Method in interface com.github.skopylov58.functional.Reader
 
flatMap(Function<? super T, State<R, S>>) - Method in interface com.github.skopylov58.functional.State
 
flatMap(Function<? super T, Try<R>>) - Method in interface com.github.skopylov58.functional.Try
Maps Try of type T to try of type R
flatMap(Function<T, FPUtils.Result<R>>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
fold(Consumer<T>, Consumer<Exception>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
fold(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in interface com.github.skopylov58.functional.Either
Folds Either to type T
fold(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in record class com.github.skopylov58.functional.Either.Left
 
fold(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in record class com.github.skopylov58.functional.Either.Right
 
fold(Function<? super T, ? extends R>, Function<? super Exception, ? extends R>) - Method in class com.github.skopylov58.functional.Try.Failure
 
fold(Function<? super T, ? extends R>, Function<? super Exception, ? extends R>) - Method in interface com.github.skopylov58.functional.Try
 
fold(Function<? super T, ? extends R>, Function<? super Exception, ? extends R>) - Method in class com.github.skopylov58.functional.Try.Success
 
fold(Function<T, R>, Function<Exception, R>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
FPUtils - Interface in com.github.skopylov58.functional
Collection of useful higher-order functions to handle exceptions in functional style.
FPUtils.Backoff - Interface in com.github.skopylov58.functional
 
FPUtils.CheckedFunction<T,R> - Interface in com.github.skopylov58.functional
Function that may throw an exception.
FPUtils.CheckedSupplier<T> - Interface in com.github.skopylov58.functional
Supplier that may throw an exception.
FPUtils.Result<T> - Record Class in com.github.skopylov58.functional
Try Result for Java 14+
FPUtils.ResultJava8<T> - Class in com.github.skopylov58.functional
Try Result for Java 8+
Functor<T> - Interface in com.github.skopylov58.functional
 

G

get() - Method in interface com.github.skopylov58.functional.FPUtils.CheckedSupplier
 
get() - Method in interface com.github.skopylov58.functional.Try.CheckedSupplier
 
get() - Method in interface com.github.skopylov58.functional.Try
Synonym for Try.orElseThrow()
getCatching(Try.CheckedSupplier<T>) - Static method in interface com.github.skopylov58.functional.Try
 
getErrors() - Method in interface com.github.skopylov58.functional.Validator
Returns validation errors.
getErrors() - Method in class com.github.skopylov58.functional.Validator.ValidatorImpl
 
getOrDefault(T) - Method in interface com.github.skopylov58.functional.MonadAccessor
 
getOrDefault(T) - Method in record class com.github.skopylov58.functional.Option.None
 
getOrDefault(T) - Method in record class com.github.skopylov58.functional.Option.Some
 
getOrDefault(T) - Method in class com.github.skopylov58.functional.Result.Failure
 
getOrDefault(T) - Method in class com.github.skopylov58.functional.Result.Success
 

H

handle(BiFunction<T, Exception, FPUtils.Result<R>>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
hasErrors() - Method in interface com.github.skopylov58.functional.Validator
Checks if object is valid
hasErrors() - Method in class com.github.skopylov58.functional.Validator.ValidatorImpl
 
hashCode() - Method in record class com.github.skopylov58.functional.Either.Left
Returns a hash code value for this object.
hashCode() - Method in record class com.github.skopylov58.functional.Either.Right
Returns a hash code value for this object.
hashCode() - Method in record class com.github.skopylov58.functional.FPUtils.Result
Returns a hash code value for this object.
hashCode() - Method in record class com.github.skopylov58.functional.Option.None
Returns a hash code value for this object.
hashCode() - Method in record class com.github.skopylov58.functional.Option.Some
Returns a hash code value for this object.
hashCode() - Method in record class com.github.skopylov58.functional.ZIO
Returns a hash code value for this object.

I

IO2<C,T> - Interface in com.github.skopylov58.functional
 
isFailure() - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
isFailure() - Method in interface com.github.skopylov58.functional.Try
Checks if it is failure try.
isLeft() - Method in interface com.github.skopylov58.functional.Either
Checks if this is left side.
isRight() - Method in interface com.github.skopylov58.functional.Either
Checks if this is right side.
isSuccess() - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
isSuccess() - Method in interface com.github.skopylov58.functional.Try
Checks if it is success try.

L

left() - Method in record class com.github.skopylov58.functional.Either.Left
Returns the value of the left record component.
left(L) - Static method in interface com.github.skopylov58.functional.Either
Factory method to produce left side of Either from L value
Left(L) - Constructor for record class com.github.skopylov58.functional.Either.Left
Creates an instance of a Left record class.
lift(FPUtils.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.Result
 
liftM2(Monad<A>, Monad<B>, BiFunction<A, B, C>) - Static method in interface com.github.skopylov58.functional.Monad
 

M

map(Try.CheckedFunction<? super T, ? extends R>) - Method in interface com.github.skopylov58.functional.Try
Maps Try of type T to type R
map(Function<? super A, ? extends B>) - Method in record class com.github.skopylov58.functional.ZIO
 
map(Function<? super R, ? extends T>) - Method in interface com.github.skopylov58.functional.Either
Maps right side of the Either.
map(Function<? super T, ? extends R>) - Method in interface com.github.skopylov58.functional.IO2
 
map(Function<? super T, ? extends R>) - Method in interface com.github.skopylov58.functional.Monad
 
map(Function<? super T, ? extends R>) - Method in record class com.github.skopylov58.functional.Option.None
 
map(Function<? super T, ? extends R>) - Method in record class com.github.skopylov58.functional.Option.Some
 
map(Function<? super T, ? extends R>) - Method in interface com.github.skopylov58.functional.Reader
 
map(Function<? super T, ? extends R>) - Method in class com.github.skopylov58.functional.Result.Failure
 
map(Function<? super T, ? extends R>) - Method in class com.github.skopylov58.functional.Result.Success
 
map(Function<? super T, ? extends R>) - Method in interface com.github.skopylov58.functional.State
 
map(Function<T, R>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
map(Function<T, R>) - Method in interface com.github.skopylov58.functional.Functor
 
measure(Runnable) - Static method in interface com.github.skopylov58.functional.FPUtils
 
Memo<T,R> - Class in com.github.skopylov58.functional
Simple memoizer.
memoize(Function<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
memoize(Function<T, R>, Map<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
memoize(Supplier<T>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
memoize(Supplier<T>, AtomicReference<T>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
Monad<T> - Interface in com.github.skopylov58.functional
 
MonadAccessor<T> - Interface in com.github.skopylov58.functional
 

N

none() - Static method in interface com.github.skopylov58.functional.Option
 
None() - Constructor for record class com.github.skopylov58.functional.Option.None
Creates an instance of a None record class.
NONE - Static variable in interface com.github.skopylov58.functional.Option
 
notNull(Function<T, R>, E) - Method in interface com.github.skopylov58.functional.Validator
 
notNull(Function<T, R>, Supplier<E>) - Method in interface com.github.skopylov58.functional.Validator
 
notNull(Function<T, R>, Supplier<E>) - Method in class com.github.skopylov58.functional.Validator.ValidatorImpl
 

O

of(Try.CheckedRunnable) - Static method in interface com.github.skopylov58.functional.Try
Factory method to produce Try from runnable that may throw an exception.
of(Try.CheckedSupplier<? extends T>) - Static method in interface com.github.skopylov58.functional.Try
Factory method to produce Try from supplier that may throw an exception.
of(T) - Static method in interface com.github.skopylov58.functional.IO2
 
of(T) - Static method in interface com.github.skopylov58.functional.Option
 
of(T) - Static method in interface com.github.skopylov58.functional.Validator
Factory method to create validator of type T and errors type E
once(Runnable) - Static method in interface com.github.skopylov58.functional.FPUtils
Runs runnable exactly once.
once(Runnable, AtomicBoolean) - Static method in interface com.github.skopylov58.functional.FPUtils
 
onFailure(Consumer<Exception>) - Method in interface com.github.skopylov58.functional.Try
Executes action on failure, has no action for success.
onSuccess(Try.CheckedConsumer<? super T>) - Method in interface com.github.skopylov58.functional.Try
Executes action on success, has no action for failure.
onSuccessCatching(FPUtils.Result<T>, Try.CheckedConsumer<T>) - Method in interface com.github.skopylov58.functional.FPUtils
 
Option<T> - Interface in com.github.skopylov58.functional
 
Option.None<T> - Record Class in com.github.skopylov58.functional
 
Option.Some<T> - Record Class in com.github.skopylov58.functional
 
optional() - Method in interface com.github.skopylov58.functional.Either
Converts Either to Optional
optional() - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
optional() - Method in interface com.github.skopylov58.functional.MonadAccessor
 
optional() - Method in record class com.github.skopylov58.functional.Option.None
 
optional() - Method in record class com.github.skopylov58.functional.Option.Some
 
optional() - Method in class com.github.skopylov58.functional.Result.Failure
 
optional() - Method in class com.github.skopylov58.functional.Result.Success
 
optional() - Method in interface com.github.skopylov58.functional.Try
 
orElseThrow() - Method in class com.github.skopylov58.functional.Try.Failure
 
orElseThrow() - Method in interface com.github.skopylov58.functional.Try
Gets Try's value or throws exception
orElseThrow() - Method in class com.github.skopylov58.functional.Try.Success
 

P

peek(Try.CheckedConsumer<Try<T>>) - Method in interface com.github.skopylov58.functional.Try
Gives access to current Try.
pure(T) - Static method in interface com.github.skopylov58.functional.Reader
Creates Reader monad from value of type T
pure(T) - Static method in interface com.github.skopylov58.functional.State
Creates state monad from pure value

R

Reader<C,T> - Interface in com.github.skopylov58.functional
Reader monad.
recover(Try.CheckedSupplier<? extends T>) - Method in interface com.github.skopylov58.functional.Try
Tries recover failed try with given supplier, has no action for success.
recover(Try.CheckedSupplier<? extends T>, Predicate<Exception>) - Method in interface com.github.skopylov58.functional.Try
Tries recover failed try with given supplier, has no action for success.
recover(Function<Exception, FPUtils.Result<T>>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
recover(Supplier<FPUtils.Result<T>>) - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
result() - Method in record class com.github.skopylov58.functional.FPUtils.Result
Returns the value of the result record component.
result() - Method in class com.github.skopylov58.functional.FPUtils.ResultJava8
 
Result<T> - Interface in com.github.skopylov58.functional
Result monad
Result(T, Exception) - Constructor for record class com.github.skopylov58.functional.FPUtils.Result
Creates an instance of a Result record class.
Result.Failure<T> - Class in com.github.skopylov58.functional
 
Result.Success<T> - Class in com.github.skopylov58.functional
 
ResultJava8(Exception) - Constructor for class com.github.skopylov58.functional.FPUtils.ResultJava8
 
ResultJava8(T) - Constructor for class com.github.skopylov58.functional.FPUtils.ResultJava8
 
retry(Callable<V>, long, FPUtils.Backoff) - Static method in interface com.github.skopylov58.functional.FPUtils
Retry with backoff strategy.
retry(Callable<V>, long, FPUtils.Backoff, Predicate<V>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
retry(Callable<V>, long, Duration) - Static method in interface com.github.skopylov58.functional.FPUtils
Retry with fixed delay.
retry2(Callable<V>, LongPredicate, FPUtils.Backoff, Predicate<V>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
right() - Method in record class com.github.skopylov58.functional.Either.Right
Returns the value of the right record component.
right(R) - Static method in interface com.github.skopylov58.functional.Either
Factory method to produce right side of Either from R value
Right(R) - Constructor for record class com.github.skopylov58.functional.Either.Right
Creates an instance of a Right record class.
run() - Method in interface com.github.skopylov58.functional.IO2
 
run() - Method in interface com.github.skopylov58.functional.Try.CheckedRunnable
 
run() - Method in record class com.github.skopylov58.functional.ZIO
Returns the value of the run record component.
run(C) - Method in interface com.github.skopylov58.functional.IO2
 
run(C) - Method in interface com.github.skopylov58.functional.Reader
Reader monad is just function C -> T where C is context, T is value
runCatching(Try.CheckedRunnable) - Static method in interface com.github.skopylov58.functional.Try
 

S

second - Variable in class com.github.skopylov58.functional.Tuple
 
simpleJitter(Duration) - Static method in interface com.github.skopylov58.functional.FPUtils
Simple jitter using system timer.
sleep(Duration) - Static method in interface com.github.skopylov58.functional.FPUtils
 
sneakyThrow(Throwable) - Static method in interface com.github.skopylov58.functional.FPUtils
 
some(T) - Static method in interface com.github.skopylov58.functional.Option
 
Some(T) - Constructor for record class com.github.skopylov58.functional.Option.Some
Creates an instance of a Some record class.
State<T,S> - Interface in com.github.skopylov58.functional
State monad.
stream() - Method in interface com.github.skopylov58.functional.Either
Converts Either to Stream
stream() - Method in record class com.github.skopylov58.functional.FPUtils.Result
 
stream() - Method in interface com.github.skopylov58.functional.MonadAccessor
 
stream() - Method in record class com.github.skopylov58.functional.Option.None
 
stream() - Method in record class com.github.skopylov58.functional.Option.Some
 
stream() - Method in class com.github.skopylov58.functional.Result.Failure
 
stream() - Method in class com.github.skopylov58.functional.Result.Success
 
stream() - Method in interface com.github.skopylov58.functional.Try
 
succeed(A) - Static method in record class com.github.skopylov58.functional.ZIO
 
success(T) - Static method in record class com.github.skopylov58.functional.FPUtils.Result
 
success(T) - Static method in interface com.github.skopylov58.functional.Result
 
success(T) - Static method in interface com.github.skopylov58.functional.Try
Factory method to produce Try from value of T type.
swap() - Method in interface com.github.skopylov58.functional.Either
Swaps Either

T

t() - Method in record class com.github.skopylov58.functional.Option.Some
Returns the value of the t record component.
third - Variable in class com.github.skopylov58.functional.Tuple3
 
throwingMapper(FPUtils.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
toEither(FPUtils.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
Higher-order function to convert partial function T=>R to total function T=>Either<R, Exception>
toFunction(Try.CheckedConsumer<? super T>) - Static method in interface com.github.skopylov58.functional.Try
 
toFunction(Try.CheckedSupplier<? extends U>) - Static method in interface com.github.skopylov58.functional.Try
Converts supplier to function.
toFuture(FPUtils.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
toOptional(FPUtils.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
Higher-order function to convert partial function T=>R to total function T=>Optional<R>
toOptional(FPUtils.CheckedFunction<T, R>, BiConsumer<T, Exception>) - Static method in interface com.github.skopylov58.functional.FPUtils
Higher-order function to convert partial function T=>R to total function T=>Optional<R> Gives access to Exception and corresponding input value.
toOptional(FPUtils.CheckedSupplier<T>) - Static method in interface com.github.skopylov58.functional.FPUtils
Higher-order function to convert partial supplier ()=>T to total supplier ()=>Optional<T>
toOptional(FPUtils.CheckedSupplier<T>, Consumer<Exception>) - Static method in interface com.github.skopylov58.functional.FPUtils
Higher-order function to convert partial supplier ()=>T to total supplier ()=>Optional<T>
toResult(FPUtils.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
Higher-order function to convert partial function T=>R to total function T=>Result<R>
toResultJava8(FPUtils.CheckedFunction<T, R>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
toString() - Method in record class com.github.skopylov58.functional.Either.Left
Returns a string representation of this record class.
toString() - Method in record class com.github.skopylov58.functional.Either.Right
Returns a string representation of this record class.
toString() - Method in record class com.github.skopylov58.functional.FPUtils.Result
Returns a string representation of this record class.
toString() - Method in record class com.github.skopylov58.functional.Option.None
Returns a string representation of this record class.
toString() - Method in record class com.github.skopylov58.functional.Option.Some
Returns a string representation of this record class.
toString() - Method in class com.github.skopylov58.functional.Result.Failure
 
toString() - Method in class com.github.skopylov58.functional.Result.Success
 
toString() - Method in class com.github.skopylov58.functional.Tuple
 
toString() - Method in class com.github.skopylov58.functional.Tuple3
 
toString() - Method in record class com.github.skopylov58.functional.ZIO
Returns a string representation of this record class.
toSupplier(FPUtils.CheckedSupplier<T>) - Static method in interface com.github.skopylov58.functional.FPUtils
 
Try<T> - Interface in com.github.skopylov58.functional
Interface to handle exceptions in a functional way.
Try.CheckedConsumer<T> - Interface in com.github.skopylov58.functional
 
Try.CheckedFunction<T,R> - Interface in com.github.skopylov58.functional
 
Try.CheckedRunnable - Interface in com.github.skopylov58.functional
 
Try.CheckedSupplier<T> - Interface in com.github.skopylov58.functional
 
Try.Failure<T> - Class in com.github.skopylov58.functional
Try's failure projection.
Try.Success<T> - Class in com.github.skopylov58.functional
Try's success projection.
Tuple<F,S> - Class in com.github.skopylov58.functional
Container for pair (first, second) objects.
Tuple(F, S) - Constructor for class com.github.skopylov58.functional.Tuple
Constructor.
Tuple3<F,S,T> - Class in com.github.skopylov58.functional
 
Tuple3(F, S, T) - Constructor for class com.github.skopylov58.functional.Tuple3
 

V

validate(Function<T, Optional<E>>) - Method in interface com.github.skopylov58.functional.Validator
 
validate(Function<T, Optional<E>>) - Method in class com.github.skopylov58.functional.Validator.ValidatorImpl
 
validate(Function<T, R>, Predicate<R>, E) - Method in interface com.github.skopylov58.functional.Validator
 
validate(Function<T, R>, Predicate<R>, Function<R, E>) - Method in interface com.github.skopylov58.functional.Validator
 
validate(Function<T, R>, Predicate<R>, Function<R, E>) - Method in class com.github.skopylov58.functional.Validator.ValidatorImpl
 
validate(Function<T, R>, Predicate<R>, Supplier<E>) - Method in interface com.github.skopylov58.functional.Validator
Validates some internal state (class members, etc.) of validator's object.
validate(Function<T, R>, Predicate<R>, Supplier<E>) - Method in class com.github.skopylov58.functional.Validator.ValidatorImpl
 
validate(Predicate<T>, E) - Method in interface com.github.skopylov58.functional.Validator
 
validate(Predicate<T>, Supplier<E>) - Method in interface com.github.skopylov58.functional.Validator
Validates validator's object of type T.
validate(Predicate<T>, Supplier<E>) - Method in class com.github.skopylov58.functional.Validator.ValidatorImpl
 
validate(T) - Method in class com.github.skopylov58.functional.Validation
Deprecated.
Validates data.
validateToEither(T) - Method in class com.github.skopylov58.functional.Validation
Deprecated.
Validates data
Validation<T,E> - Class in com.github.skopylov58.functional
Deprecated.
Use Validator instead.
Validation.Builder<T,E> - Class in com.github.skopylov58.functional
Deprecated.
Validator builder.
Validator<T,E> - Interface in com.github.skopylov58.functional
Simple validator that can collect validation errors.
Validator.ValidatorImpl<T,E> - Class in com.github.skopylov58.functional
 

W

withJitter(Supplier<Duration>) - Method in interface com.github.skopylov58.functional.FPUtils.Backoff
 

Z

ZIO<R,E,A> - Record Class in com.github.skopylov58.functional
Minimalistic ZIO effects
ZIO(Function<R, Either<E, A>>) - Constructor for record class com.github.skopylov58.functional.ZIO
Creates an instance of a ZIO record class.
A B C D E F G H I L M N O P R S T V W Z 
All Classes and Interfaces|All Packages