Package de.marcely.bedwars.tools
Interface ThrowingSupplier<T>
- Type Parameters:
T
- The type of the input to the operation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Based on Java's Supplier with the difference that this class may permit the throwing of an Exception.
- See Also:
-
Method Summary
-
Method Details
-
get
Gets a result.- Returns:
- a result
- Throws:
Exception
- in case an exception occurs while it is being run
-