Package jadex.future
Class TupleResult
java.lang.Object
jadex.future.TupleResult
Used by tuple futures as internal result wrappers.
Helper struct for results that saves the result number.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new TupleResult.TupleResult
(int num, Object result) Create a new SequenceResult. -
Method Summary
-
Field Details
-
num
protected int numThe number. -
result
The result.
-
-
Constructor Details
-
TupleResult
public TupleResult()Create a new TupleResult. -
TupleResult
Create a new SequenceResult.
-
-
Method Details
-
getNum
public int getNum()Get the num.- Returns:
- The num.
-
setNum
public void setNum(int num) Set the num.- Parameters:
num
- The num to set.
-
getResult
Get the result.- Returns:
- The result.
-
setResult
Set the result.- Parameters:
result
- The result to set.
-
toString
Get the string representation.
-