Package com.illumon.util
Class FunctionalInterfaces
java.lang.Object
com.illumon.util.FunctionalInterfaces
Holder for functional interfaces not defined in the java.util.function package.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
Represents an operation that accepts no input and returns a boolean result, throwing an exception.static interface
Represents an operation that accepts a single input argument and returns no result, throwing an exception.static interface
static interface
Represents an operation that accepts no input and returns a result, throwing an exception.static interface
static interface
Represents a function that accepts three arguments and produces a result. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
E extends Exception>
TunexpectedException
(FunctionalInterfaces.ThrowingSupplier<T, E> operator)
-
Constructor Details
-
FunctionalInterfaces
public FunctionalInterfaces()
-
-
Method Details
-
unexpectedException
public static <T,E extends Exception> T unexpectedException(FunctionalInterfaces.ThrowingSupplier<T, E> operator)
-