See: Description
| Interface | Description |
|---|---|
| Either<L,R> |
Represents a value of one of two possible types.
|
| Option<T> |
Represents optional values.
|
| ThrowableFunction0<T> |
A function that takes no arguments and returns a value of type T.
|
| ThrowableFunction1<T,R> |
A function that takes a single argument of type R and returns a value of type T.
|
| Try<T> |
The Try type represents a computation that may either result in an exception, or return a successfully computed value.
|
| VoidFunction0 |
A FunctionalInterface that takes no parameters and has no return but is allowed to throw exceptions.
|
| Class | Description |
|---|---|
| EitherCompanion | |
| Failure<T> |
Represents the failure implementation of
Try. |
| Left<L,R> | |
| LeftProjection<L,R> |
This is a left-biased wrapper for an instance of
Either. |
| None<T> |
Represents an empty
Option. |
| OptionCompanion | |
| Right<L,R> | |
| RightProjection<L,R> |
This is a right-biased wrapper for an instance of
Either. |
| Some<T> |
Represents an
Option holding a value. |
| Success<T> |
Represents the successful implementation of
Try. |
| TryCompanion | |
| Unit |
Represents the type scala.Unit.
|
| Validator |
Used internally to validate parameters
|
Option), one of two values (Either) and value or exception (Try)
The aim with these utility classes is to provide neat and concise programming patterns. 
Copyright © 2016, Peter Nerg Apache License v2.0