| Interface | Description |
|---|---|
| Box<T> |
Provides get/set access to a mutable non-null value.
|
| Box.Dbl |
A Box for primitive doubles.
|
| Box.Int |
A Box for primitive ints.
|
| Box.Nullable<T> |
Provides get/set access to a mutable nullable value.
|
| Either<L,R> |
A minimal implementation of Either.
|
| Errors.Plugins |
Namespace for the plugins which Errors supports.
|
| Errors.Plugins.Dialog |
Plugin interface for
Errors.dialog. |
| Errors.Plugins.Log |
Plugin interface for
Errors.log. |
| Throwing |
Variations on the standard functional interfaces which throw Throwable.
|
| Throwing.BiConsumer<T,U> | |
| Throwing.BiFunction<T,U,R> | |
| Throwing.BiPredicate<T,U> | |
| Throwing.Consumer<T> | |
| Throwing.Function<T,R> | |
| Throwing.Predicate<T> | |
| Throwing.Runnable | |
| Throwing.Specific |
Variations on the standard functional interfaces which throw a specific subclass of Throwable.
|
| Throwing.Specific.BiConsumer<T,U,E extends Throwable> | |
| Throwing.Specific.BiFunction<T,U,R,E extends Throwable> | |
| Throwing.Specific.BiPredicate<T,U,E extends Throwable> | |
| Throwing.Specific.Consumer<T,E extends Throwable> | |
| Throwing.Specific.Function<T,R,E extends Throwable> | |
| Throwing.Specific.Predicate<T,E extends Throwable> | |
| Throwing.Specific.Runnable<E extends Throwable> | |
| Throwing.Specific.Supplier<T,E extends Throwable> | |
| Throwing.Supplier<T> | |
| TreeComparison.SameType<T> |
An API for comparing trees which have been mapped to the same type.
|
| TreeDef<T> |
A function which defines a tree structure.
|
| TreeDef.Parented<T> |
A pair of functions which define a doubly-linked tree, where nodes know about both their parent and their children.
|
| Class | Description |
|---|---|
| Box.Dbl.Default |
A simple implementation of Box.Double.
|
| Box.Default<T> |
A simple implementation of Box.
|
| Box.Int.Default |
A simple implementation of Box.Int.
|
| Box.Nullable.Default<T> |
A simple implementation of Box.Nullable.
|
| Consumers |
Helper functions for manipulating
Consumer. |
| DurianPlugins |
A programmatic and pluggable implementation of
public static final. |
| Either.Left<L,R> |
Implementation of left.
|
| Either.Right<L,R> |
Implementation of right.
|
| Errors |
Executes code and wraps functions, sending any errors to a
Consumer<Throwable> error handler,
see ErrorsExample. |
| Errors.Handling |
An
Errors which is free to rethrow the exception, but it might not. |
| Errors.Plugins.OnErrorThrowAssertion |
An implementation of all of the
Errors plugins which throws an AssertionError
on any exception. |
| Errors.Rethrowing |
An
Errors which is guaranteed to always throw a RuntimeException. |
| FieldsAndGetters |
Utilities for obtaining the fields and getter methods of an object using reflection.
|
| FieldsAndGetters.ObjectIsNull |
Sentinel class for null objects.
|
| Functions |
Helper functions for manipulating
Function, copied from Guava. |
| MoreCollectors |
Useful collectors which aren't included as Java 8 built-ins.
|
| Predicates |
Helper functions for manipulating
Predicate, copied from Guava. |
| StackDumper |
Utility methods for dumping the stack - arbitrarily or at specific trigger points (such as when a certain string prints to console).
|
| StringPrinter |
Pipes strings to a
Consumer<String> through an API similar to PrintWriter and PrintStream. |
| Suppliers |
Helper functions for manipulating
Supplier, copied from Guava. |
| TreeComparison<E,A> |
A mechanism for comparing trees.
|
| TreeIterable |
Creates
Iterables that iterate across a tree defined by a TreeDef in various orders. |
| TreeNode<T> |
Class for manually constructing a tree, or for copying an existing tree.
|
| TreeQuery |
Queries against
TreeDef trees, e.g. |
| TreeStream |
Creates
Streams that iterate across a tree defined by a TreeDef in various orders. |
| Enum | Description |
|---|---|
| Comparison |
Safe representation of the result of a comparison (better than int).
|
| Exception | Description |
|---|---|
| Errors.WrappedAsRuntimeException |
A RuntimeException specifically for the purpose of wrapping non-runtime Throwables as RuntimeExceptions.
|
| Unhandled |
Exceptions designed for checking programming errors (e.g.
|