Package io.hekate.util
Interface StateGuard.GuardedSupplier<T,E extends Exception>
-
- Type Parameters:
T
- Result type.E
- Error type.
- Enclosing class:
- StateGuard
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface StateGuard.GuardedSupplier<T,E extends Exception>
Guarded supplier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
get()
Returns a value.
-