Package com.vladris.maki
Interface ThrowingSupplier<T>
-
- Type Parameters:
T- Represents the type returned byget.
- 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 interface ThrowingSupplier<T>Declares an interface similar toSupplier<T>which can also throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tget()Gets a result.
-
-
-
Method Detail
-
get
T get() throws java.lang.Exception
Gets a result.- Returns:
- A result.
- Throws:
java.lang.Exception- as determined by the implementing type.
-
-