Package net.groboclown.retval.function
Interface NonnullFunction<T,R>
-
- Type Parameters:
T- argument typeR- return type
- 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 NonnullFunction<T,R>A version ofFunctionthat explicitly returns a non-null value, and takes a non-null parameter value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T value)Run the function.
-