Package ste.lloop
Class ReturnValue<R>
java.lang.Object
ste.lloop.ReturnValue<R>
- Type Parameters:
R- the type of the return value
A holder for a return value that can be used in a lambda expression.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newReturnValueinstance with a null value.ReturnValue(R value) Constructs a newReturnValueinstance with the given value. -
Method Summary
-
Field Details
-
value
The value of the return value.
-
-
Constructor Details
-
ReturnValue
Constructs a newReturnValueinstance with the given value.- Parameters:
value- the initial value
-
ReturnValue
public ReturnValue()Constructs a newReturnValueinstance with a null value.
-
-
Method Details