Package jadex.commons.future
Class TupleResult
- java.lang.Object
- 
- jadex.commons.future.TupleResult
 
- 
 public class TupleResult extends java.lang.ObjectUsed by tuple futures as internal result wrappers. Helper struct for results that saves the result number.
- 
- 
Constructor SummaryConstructors Constructor Description TupleResult()Create a new TupleResult.TupleResult(int num, java.lang.Object result)Create a new SequenceResult.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNum()Get the num.java.lang.ObjectgetResult()Get the result.voidsetNum(int num)Set the num.voidsetResult(java.lang.Object result)Set the result.java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Method Detail- 
getNumpublic int getNum() Get the num.- Returns:
- The num.
 
 - 
setNumpublic void setNum(int num) Set the num.- Parameters:
- num- The num to set.
 
 - 
getResultpublic java.lang.Object getResult() Get the result.- Returns:
- The result.
 
 - 
setResultpublic void setResult(java.lang.Object result) Set the result.- Parameters:
- result- The result to set.
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-