-
- Type Parameters:
R
- the return type
- Enclosing class:
- Functions
- 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 Functions.Supplier<R>
Supplier that can throw an exeption
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
get()
Gets a result.
-
-
-
Method Detail
-
get
R get() throws java.lang.Exception
Gets a result.- Returns:
- the return value
- Throws:
java.lang.Exception
- if an error happens
-
-