public class Result<T> extends java.lang.Object implements Referable<T>
BiFunction
.
The Result
object can then contain a pointer to any instance, which can be shared with lamda calls
and across other objects (i.e. DecisionBook and Decision objects)Modifier and Type | Method and Description |
---|---|
T |
getValue()
The method getValue() returns the object contained in the Result object.
|
void |
setValue(T value)
The method setValue() sets the object to be contained in the Result object.
|
java.lang.String |
toString() |
public Result()
public Result(T value)
public T getValue()
public void setValue(T value)
public java.lang.String toString()
toString
in class java.lang.Object