Package edu.wpi.grip.ui.util
Interface SupplierWithIO<T>
-
- Type Parameters:
T
- The type that the supplier returns.
- 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 SupplierWithIO<T>
A supplier that can throw an IO exception. Thus putting it on the caller to handle it instead of on the creator of the lambda function.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getWithIO()
-
-
-
Method Detail
-
getWithIO
T getWithIO() throws java.io.IOException
- Throws:
java.io.IOException
-
-