Package 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.-
ClassDescriptionDecorator<T,
R> Either<L,R> Minimal functional Either implementation.Either.Left<L,R> Left side of Either.Either.Right<L,R> Right side of Either.Collection of useful higher-order functions to handle exceptions in functional style.Function that may throw an exception.Supplier that may throw an exception.Try Result for Java 14+Try Result for Java 8+Functor<T>IO2<C,T> Memo<T,R> Simple memoizer.Monad<T>Option<T>Option.None<T>Option.Some<T>Reader<C,T> Reader monad.Result<T>Result monadState<T,S> State monad.Try<T>Interface to handle exceptions in a functional way.Try.CheckedFunction<T,R> Try.Failure<T>Try's failure projection.Try.Success<T>Try's success projection.Tuple<F,S> Container for pair (first, second) objects.Tuple3<F,S, T> Validation<T,E> Deprecated.Validation.Builder<T,E> Validator builder.Validator<T,E> Simple validator that can collect validation errors.ZIO<R,E, A> Minimalistic ZIO effects
Validatorinstead.