| Interface | Description |
|---|---|
| ThrowingBiFunction<T,R,S,E extends Throwable> | |
| ThrowingConsumer<T,E extends Throwable> | |
| ThrowingFunction<T,R,E extends Throwable> | |
| ThrowingSupplier<T,E extends Throwable> |
| Class | Description |
|---|---|
| Either<L,R> |
Represents a value of one of two possible types (a disjoint union.) Instances of Either are either an instance of Left or Right.
|
| Either.LeftProjection<L,R> |
Projects an Either into a Left.
|
| Either.RightProjection<L,R> |
Projects an Either into a Right.
|
| ExtendedStream<T> |
Wrapper around an
Stream that provides some missed functions like
ExtendedStream.foldRight(java.util.function.BiFunction, Object), ExtendedStream.toList() and ExtendedStream.toSet() |
| Failure<T> | |
| Functions | |
| Optionals | |
| Pair<L,R> |
Represents two values of two possible types together (a union of 2.)
|
| StreamableOptional<T> |
Wrapper around an usual
Optional that provides the very missed StreamableOptional.stream() method useful for
flatMapping a Stream of Optional (i.e. |
| Streams | |
| Success<T> | |
| Try<T> |
Try is a right-biased datatype for wrapping function calls that might fail with an Throwable.
|
Copyright © 2014–2015. All rights reserved.