Index

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

A

accept(T) - Method in interface com.dudko.tools.safejavastreams.function.ThrowingConsumer
Performs the action.
accept(T, U) - Method in interface com.dudko.tools.safejavastreams.function.ThrowingBiConsumer
Performs the action.
apply(T) - Method in interface com.dudko.tools.safejavastreams.function.ThrowingFunction
Applies the function.
apply(T, U) - Method in interface com.dudko.tools.safejavastreams.function.ThrowingBiFunction
Applies the function.

C

CheckedAdapters - Class in com.dudko.tools.safejavastreams.adapter
Utility class for working with lambdas and stream functions that throw checked exceptions.
CheckedAdapters() - Constructor for class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
 
com.dudko.tools.safejavastreams.adapter - package com.dudko.tools.safejavastreams.adapter
 
com.dudko.tools.safejavastreams.core - package com.dudko.tools.safejavastreams.core
 
com.dudko.tools.safejavastreams.demo.core - package com.dudko.tools.safejavastreams.demo.core
 
com.dudko.tools.safejavastreams.demo.extensions - package com.dudko.tools.safejavastreams.demo.extensions
 
com.dudko.tools.safejavastreams.extensions - package com.dudko.tools.safejavastreams.extensions
 
com.dudko.tools.safejavastreams.function - package com.dudko.tools.safejavastreams.function
 

E

Either<L,R> - Class in com.dudko.tools.safejavastreams.core
Functional-style container type that represents a value of one of two possible types.
Either() - Constructor for class com.dudko.tools.safejavastreams.core.Either
 
Either.Left<L,R> - Class in com.dudko.tools.safejavastreams.core
 
Either.Right<L,R> - Class in com.dudko.tools.safejavastreams.core
 
EitherDemo - Class in com.dudko.tools.safejavastreams.demo.core
Example of using Either
EitherDemo() - Constructor for class com.dudko.tools.safejavastreams.demo.core.EitherDemo
 
EitherExtensions - Class in com.dudko.tools.safejavastreams.extensions
Utility methods to convert from other types to Either.
EitherExtensions() - Constructor for class com.dudko.tools.safejavastreams.extensions.EitherExtensions
 
EitherExtensionsDemo - Class in com.dudko.tools.safejavastreams.demo.extensions
 
EitherExtensionsDemo() - Constructor for class com.dudko.tools.safejavastreams.demo.extensions.EitherExtensionsDemo
 
error - Variable in class com.dudko.tools.safejavastreams.core.Result.Failure
 
exception - Variable in class com.dudko.tools.safejavastreams.core.Try.Failure
 

F

failure(E) - Static method in class com.dudko.tools.safejavastreams.core.Result
Creates a failure result.
failure(Throwable) - Static method in class com.dudko.tools.safejavastreams.core.Try
Creates a Failure instance.
Failure(E) - Constructor for class com.dudko.tools.safejavastreams.core.Result.Failure
 
Failure(Throwable) - Constructor for class com.dudko.tools.safejavastreams.core.Try.Failure
 
filter(Predicate<? super T>, Function<? super T, ? extends E>) - Method in class com.dudko.tools.safejavastreams.core.Result
Applies predicate to the value, turning success into failure if predicate fails.
filter(Predicate<? super T>, Supplier<Throwable>) - Method in class com.dudko.tools.safejavastreams.core.Try
Applies a predicate to value if Success.
flatMap(Function<? super R, Either<L, T>>) - Method in class com.dudko.tools.safejavastreams.core.Either
Applies a function that returns another Either to Right value.
flatMap(Function<? super R, Either<L, T>>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
flatMap(Function<? super R, Either<L, T>>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
flatMap(Function<? super T, Result<U, E>>) - Method in class com.dudko.tools.safejavastreams.core.Result.Failure
 
flatMap(Function<? super T, Result<U, E>>) - Method in class com.dudko.tools.safejavastreams.core.Result
Applies the function to the success value, returning another Result.
flatMap(Function<? super T, Result<U, E>>) - Method in class com.dudko.tools.safejavastreams.core.Result.Success
 
flatMap(Function<? super T, Try<U>>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
flatMap(Function<? super T, Try<U>>) - Method in class com.dudko.tools.safejavastreams.core.Try
Applies a function that returns Try if Success, otherwise propagates the Failure.
flatMap(Function<? super T, Try<U>>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
fold(Function<? super E, ? extends U>, Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Result.Failure
 
fold(Function<? super E, ? extends U>, Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Result
Applies one of two functions depending on the result type.
fold(Function<? super E, ? extends U>, Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Result.Success
 
fold(Function<? super Throwable, ? extends U>, Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
fold(Function<? super Throwable, ? extends U>, Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Try
Applies one of two functions depending on whether it's a Success or Failure.
fold(Function<? super Throwable, ? extends U>, Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
fold(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Either
Reduces this Either into a single value by applying one of the provided functions.
fold(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
fold(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
from(ThrowingSupplier<T>) - Static method in class com.dudko.tools.safejavastreams.extensions.TryExtensions
Wraps a ThrowingSupplier into Try.
fromChecked(Supplier<R>, Function<Throwable, ? extends L>) - Static method in class com.dudko.tools.safejavastreams.extensions.EitherExtensions
Wraps a Supplier that may throw, producing an Either.
fromChecked(Supplier<T>, Function<Throwable, ? extends E>) - Static method in class com.dudko.tools.safejavastreams.extensions.ResultExtensions
Wraps a supplier that may throw, producing a Result.
fromFuture(CompletableFuture<R>, Function<Throwable, ? extends L>) - Static method in class com.dudko.tools.safejavastreams.extensions.EitherExtensions
Converts a CompletableFuture to an Either.
fromFuture(CompletableFuture<T>) - Static method in class com.dudko.tools.safejavastreams.extensions.TryExtensions
Converts a CompletableFuture into Try synchronously.
fromFuture(CompletableFuture<T>, Function<Throwable, ? extends E>) - Static method in class com.dudko.tools.safejavastreams.extensions.ResultExtensions
Converts a CompletableFuture into a Result.
fromOptional(Optional<R>, Supplier<? extends L>) - Static method in class com.dudko.tools.safejavastreams.extensions.EitherExtensions
Converts an Optional to an Either.
fromOptional(Optional<T>, Supplier<? extends E>) - Static method in class com.dudko.tools.safejavastreams.extensions.ResultExtensions
Converts an Optional to a Result.
fromOptional(Optional<T>, Supplier<? extends Throwable>) - Static method in class com.dudko.tools.safejavastreams.extensions.TryExtensions
Converts an Optional to Try.
fromSupplier(Supplier<R>, Function<Throwable, ? extends L>) - Static method in class com.dudko.tools.safejavastreams.extensions.EitherExtensions
Wraps a supplier that may throw, producing an Either.
fromSupplier(Supplier<T>, Function<Throwable, ? extends E>) - Static method in class com.dudko.tools.safejavastreams.extensions.ResultExtensions
Wraps a supplier that may throw, producing a Result.

G

get() - Method in class com.dudko.tools.safejavastreams.core.Either
Converts this Either to a Stream.
get() - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
get() - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
get() - Method in class com.dudko.tools.safejavastreams.core.Result.Failure
 
get() - Method in class com.dudko.tools.safejavastreams.core.Result
Returns the success value or throws if failure.
get() - Method in class com.dudko.tools.safejavastreams.core.Result.Success
 
get() - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
get() - Method in class com.dudko.tools.safejavastreams.core.Try
Returns the value if this is a Success, otherwise throws the exception.
get() - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
get() - Method in interface com.dudko.tools.safejavastreams.function.ThrowingSupplier
Supplies a value.
getError() - Method in class com.dudko.tools.safejavastreams.core.Result.Failure
 
getError() - Method in class com.dudko.tools.safejavastreams.core.Result
Returns the error value or throws if success.
getError() - Method in class com.dudko.tools.safejavastreams.core.Result.Success
 
getError() - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
getError() - Method in class com.dudko.tools.safejavastreams.core.Try
 
getError() - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
getLeft() - Method in class com.dudko.tools.safejavastreams.core.Either
Gets the Left value if present.
getLeft() - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
getLeft() - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
getOrElse(R) - Method in class com.dudko.tools.safejavastreams.core.Either
Converts this Either to a Stream.
getOrElse(T) - Method in class com.dudko.tools.safejavastreams.core.Result
Returns the success value or a default if failure.
getOrElse(T) - Method in class com.dudko.tools.safejavastreams.core.Try
Returns value or default if Failure.
getOrElseGet(Function<? super E, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Result
Returns the success value or result of a supplier if failure.
getOrElseGet(Function<? super L, ? extends R>) - Method in class com.dudko.tools.safejavastreams.core.Either
Converts this Either to a Stream.
getOrElseGet(Function<Throwable, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Try
Returns value or result of supplier if Failure.
getOrThrow() - Method in class com.dudko.tools.safejavastreams.core.Try
Returns value or throws RuntimeException if Failure.
getOrThrow(Function<Throwable, ? extends RuntimeException>) - Method in class com.dudko.tools.safejavastreams.core.Try
Returns value or throws custom RuntimeException from mapper.
getRight() - Method in class com.dudko.tools.safejavastreams.core.Either
Gets the Right value if present.
getRight() - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
getRight() - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
getUserToken() - Static method in class com.dudko.tools.safejavastreams.demo.core.TryDemo
 

I

ifLeft(Consumer<? super L>) - Method in class com.dudko.tools.safejavastreams.core.Either
Executes action if this is Left.
ifLeft(Consumer<? super L>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
ifLeft(Consumer<? super L>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
ifRight(Consumer<? super R>) - Method in class com.dudko.tools.safejavastreams.core.Either
Executes action if this is Right.
ifRight(Consumer<? super R>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
ifRight(Consumer<? super R>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
isFailure() - Method in class com.dudko.tools.safejavastreams.core.Result
Returns true if this is a failure result.
isFailure() - Method in class com.dudko.tools.safejavastreams.core.Try
Returns true if this is a Failure.
isFailureOf(Class<? extends Throwable>) - Method in class com.dudko.tools.safejavastreams.core.Try
Checks if this Try is a Failure of specific exception type.
isLeft() - Method in class com.dudko.tools.safejavastreams.core.Either
Checks whether the value is a Left.
isLeft() - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
isLeft() - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
isRight() - Method in class com.dudko.tools.safejavastreams.core.Either
Checks whether the value is a Right.
isRight() - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
isRight() - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
isSuccess() - Method in class com.dudko.tools.safejavastreams.core.Result.Failure
 
isSuccess() - Method in class com.dudko.tools.safejavastreams.core.Result
Returns true if this is a success result.
isSuccess() - Method in class com.dudko.tools.safejavastreams.core.Result.Success
 
isSuccess() - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
isSuccess() - Method in class com.dudko.tools.safejavastreams.core.Try
Returns true if this is a Success.
isSuccess() - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 

L

left(L) - Static method in class com.dudko.tools.safejavastreams.core.Either
Creates a Left instance.
Left(L) - Constructor for class com.dudko.tools.safejavastreams.core.Either.Left
 

M

main(String[]) - Static method in class com.dudko.tools.safejavastreams.demo.core.EitherDemo
 
main(String[]) - Static method in class com.dudko.tools.safejavastreams.demo.core.ResultDemo
 
main(String[]) - Static method in class com.dudko.tools.safejavastreams.demo.core.TryDemo
 
main(String[]) - Static method in class com.dudko.tools.safejavastreams.demo.extensions.EitherExtensionsDemo
 
main(String[]) - Static method in class com.dudko.tools.safejavastreams.demo.extensions.ResultExtensionsDemo
 
main(String[]) - Static method in class com.dudko.tools.safejavastreams.demo.extensions.TryExtensionsDemo
 
map(Function<? super R, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
map(Function<? super R, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Either
Maps Right value to another type if present.
map(Function<? super R, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
map(Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Result.Failure
 
map(Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Result
Applies the function to the success value.
map(Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Result.Success
 
map(Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
map(Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Try
Applies a function to the value if Success, otherwise propagates the Failure.
map(Function<? super T, ? extends U>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
mapError(Function<? super E, ? extends F>) - Method in class com.dudko.tools.safejavastreams.core.Result.Failure
 
mapError(Function<? super E, ? extends F>) - Method in class com.dudko.tools.safejavastreams.core.Result
Maps the error value if this is a failure.
mapError(Function<? super E, ? extends F>) - Method in class com.dudko.tools.safejavastreams.core.Result.Success
 

O

of(ThrowingSupplier<T>) - Static method in class com.dudko.tools.safejavastreams.core.Try
Executes given code block and wraps result in Try.
onFailure(Consumer<? super E>) - Method in class com.dudko.tools.safejavastreams.core.Result
Executes action if failure.
onFailure(Consumer<? super Throwable>) - Method in class com.dudko.tools.safejavastreams.core.Try
Executes an action if Failure.
onSuccess(Consumer<? super T>) - Method in class com.dudko.tools.safejavastreams.core.Result
Executes action if success.
onSuccess(Consumer<? super T>) - Method in class com.dudko.tools.safejavastreams.core.Try
Executes an action if Success.
orElseThrow(Function<? super E, ? extends RuntimeException>) - Method in class com.dudko.tools.safejavastreams.core.Result
Returns the success value or throws mapped exception if failure.

P

peek(Consumer<? super Either<L, R>>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
peek(Consumer<? super Either<L, R>>) - Method in class com.dudko.tools.safejavastreams.core.Either
Allows observing the value (for logging, debugging, etc.).
peek(Consumer<? super Either<L, R>>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
peek(Consumer<? super Result<T, E>>) - Method in class com.dudko.tools.safejavastreams.core.Result
Executes action regardless of result type.
peek(Consumer<? super T>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
peek(Consumer<? super T>) - Method in class com.dudko.tools.safejavastreams.core.Try
Performs side-effecting operation on Success.
peek(Consumer<? super T>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
peekFailure(Consumer<? super Throwable>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
peekFailure(Consumer<? super Throwable>) - Method in class com.dudko.tools.safejavastreams.core.Try
Performs side-effecting operation on Failure.
peekFailure(Consumer<? super Throwable>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
propagate(Exception) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Propagates a checked exception as unchecked RuntimeException.

R

recover(Function<? super E, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Result
Recovers from failure with a fallback value.
recover(Function<? super Throwable, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
recover(Function<? super Throwable, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Try
Applies a recovery function if this is a Failure.
recover(Function<? super Throwable, ? extends T>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
recover(Function<? super L, ? extends R>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
recover(Function<? super L, ? extends R>) - Method in class com.dudko.tools.safejavastreams.core.Either
Converts Left into Right using a recovery function.
recover(Function<? super L, ? extends R>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
recoverWith(Function<? super E, Result<T, E>>) - Method in class com.dudko.tools.safejavastreams.core.Result
Recovers from failure with another Result.
recoverWith(Function<? super Throwable, Try<T>>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
recoverWith(Function<? super Throwable, Try<T>>) - Method in class com.dudko.tools.safejavastreams.core.Try
Applies a recovery function that returns Try if this is a Failure.
recoverWith(Function<? super Throwable, Try<T>>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
recoverWith(Function<? super L, Either<L, R>>) - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
recoverWith(Function<? super L, Either<L, R>>) - Method in class com.dudko.tools.safejavastreams.core.Either
Converts Left into another Either using a recovery function.
recoverWith(Function<? super L, Either<L, R>>) - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
Result<T,E> - Class in com.dudko.tools.safejavastreams.core
Result is a container for a computation that may either result in a value (Success) or an error (Failure).
Result() - Constructor for class com.dudko.tools.safejavastreams.core.Result
 
Result.Failure<T,E> - Class in com.dudko.tools.safejavastreams.core
Failure branch implementation.
Result.Success<T,E> - Class in com.dudko.tools.safejavastreams.core
Success branch implementation.
ResultDemo - Class in com.dudko.tools.safejavastreams.demo.core
 
ResultDemo() - Constructor for class com.dudko.tools.safejavastreams.demo.core.ResultDemo
 
ResultExtensions - Class in com.dudko.tools.safejavastreams.extensions
Utility methods to convert from other types to Result.
ResultExtensions() - Constructor for class com.dudko.tools.safejavastreams.extensions.ResultExtensions
 
ResultExtensionsDemo - Class in com.dudko.tools.safejavastreams.demo.extensions
 
ResultExtensionsDemo() - Constructor for class com.dudko.tools.safejavastreams.demo.extensions.ResultExtensionsDemo
 
right(R) - Static method in class com.dudko.tools.safejavastreams.core.Either
Creates a Right instance.
Right(R) - Constructor for class com.dudko.tools.safejavastreams.core.Either.Right
 
run() - Method in interface com.dudko.tools.safejavastreams.function.ThrowingRunnable
Executes the runnable.

S

safeFunctionEither(ThrowingFunction<T, R>) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Converts a ThrowingFunction into one that returns Either<Exception, R>.
safeFunctionOptional(ThrowingFunction<T, R>) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Converts a ThrowingFunction into one that returns Optional.
success(T) - Static method in class com.dudko.tools.safejavastreams.core.Result
Creates a success result.
success(T) - Static method in class com.dudko.tools.safejavastreams.core.Try
Creates a Success instance.
Success(T) - Constructor for class com.dudko.tools.safejavastreams.core.Result.Success
 
Success(T) - Constructor for class com.dudko.tools.safejavastreams.core.Try.Success
 

T

ThrowingBiConsumer<T,U> - Interface in com.dudko.tools.safejavastreams.function
Like BiConsumer<T, U> but allows checked exceptions.
ThrowingBiFunction<T,U,R> - Interface in com.dudko.tools.safejavastreams.function
Like BiFunction<T, U, R> but allows checked exceptions.
ThrowingConsumer<T> - Interface in com.dudko.tools.safejavastreams.function
Like Consumer<T> but allows checked exceptions.
ThrowingFunction<T,R> - Interface in com.dudko.tools.safejavastreams.function
Like Function<T, R> but allows checked exceptions.
ThrowingRunnable - Interface in com.dudko.tools.safejavastreams.function
Like Runnable but allows checked exceptions.
ThrowingSupplier<T> - Interface in com.dudko.tools.safejavastreams.function
Like Supplier<T> but allows checked exceptions.
toEither() - Method in class com.dudko.tools.safejavastreams.core.Result
Converts this Result to an Either.
toEither(Function<? super Throwable, ? extends L>) - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
toEither(Function<? super Throwable, ? extends L>) - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
toEither(Function<? super Throwable, ? extends L>) - Method in class com.dudko.tools.safejavastreams.core.Try
 
toOptional() - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
toOptional() - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
toOptional() - Method in class com.dudko.tools.safejavastreams.core.Either
Converts Right value to Optional, or empty if Left.
toOptional() - Method in class com.dudko.tools.safejavastreams.core.Result
Returns success value as Optional or empty if failure.
toOptional() - Method in class com.dudko.tools.safejavastreams.core.Try.Failure
 
toOptional() - Method in class com.dudko.tools.safejavastreams.core.Try.Success
 
toOptional() - Method in class com.dudko.tools.safejavastreams.core.Try
Returns the value as Optional if Success, otherwise empty.
toStream() - Method in class com.dudko.tools.safejavastreams.core.Try
Converts to Java Stream with 0 or 1 element.
toString() - Method in class com.dudko.tools.safejavastreams.core.Either.Left
 
toString() - Method in class com.dudko.tools.safejavastreams.core.Either.Right
 
Try<T> - Class in com.dudko.tools.safejavastreams.core
Try is a container for a computation that may either result in a value (Success) or an exception (Failure).
Try() - Constructor for class com.dudko.tools.safejavastreams.core.Try
 
Try.Failure<T> - Class in com.dudko.tools.safejavastreams.core
Represents a failed computation.
Try.Success<T> - Class in com.dudko.tools.safejavastreams.core
Represents a successful computation.
TryDemo - Class in com.dudko.tools.safejavastreams.demo.core
Example of using Try
TryDemo() - Constructor for class com.dudko.tools.safejavastreams.demo.core.TryDemo
 
TryExtensions - Class in com.dudko.tools.safejavastreams.extensions
 
TryExtensions() - Constructor for class com.dudko.tools.safejavastreams.extensions.TryExtensions
 
TryExtensionsDemo - Class in com.dudko.tools.safejavastreams.demo.extensions
 
TryExtensionsDemo() - Constructor for class com.dudko.tools.safejavastreams.demo.extensions.TryExtensionsDemo
 

V

value - Variable in class com.dudko.tools.safejavastreams.core.Either.Left
 
value - Variable in class com.dudko.tools.safejavastreams.core.Either.Right
 
value - Variable in class com.dudko.tools.safejavastreams.core.Result.Success
 
value - Variable in class com.dudko.tools.safejavastreams.core.Try.Success
 

W

wrapBiConsumer(ThrowingBiConsumer<T, U>) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Wraps a ThrowingBiConsumer into a regular BiConsumer.
wrapBiFunction(ThrowingBiFunction<T, U, R>) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Wraps a ThrowingBiFunction and rethrows as unchecked RuntimeException.
wrapConsumer(ThrowingConsumer<T>) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Wraps a ThrowingConsumer into a regular Consumer.
wrapFunction(ThrowingFunction<T, R>) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Wraps a ThrowingFunction and rethrows as unchecked RuntimeException.
wrapRunnable(ThrowingRunnable) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Wraps a ThrowingRunnable into a regular Runnable.
wrapSupplier(ThrowingSupplier<T>) - Static method in class com.dudko.tools.safejavastreams.adapter.CheckedAdapters
Wraps a ThrowingSupplier into a regular Supplier.
A C E F G I L M O P R S T V W 
All Classes and Interfaces|All Packages