Package net.groboclown.retval.function
Interface NonnullReturnFunction<T,R>
-
- Type Parameters:
T- value 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 NonnullReturnFunction<T,R>A version of theFunctioninterface with an explicitly non-null return value, but nullable parameter value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(T value)Run the function.
-