Class ValueArgument
- java.lang.Object
-
- de.rwth.swc.coffee4j.algorithmic.report.ValueArgument
-
public final class ValueArgument extends Object
Used to encapsulate two ints as a value for a parameter. This is used to distinguish normal ints and values for eventual argument conversion using anArgumentConverter
. Therefore, all values should be reported in aReport
using this class.
-
-
Constructor Summary
Constructors Constructor Description ValueArgument(int parameter, int value)
Creates a new argument for the value uniquely defined by both ints.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
int
getParameter()
int
getValue()
int
hashCode()
String
toString()
static ValueArgument
value(int parameter, int value)
-
-
-
Method Detail
-
value
public static ValueArgument value(int parameter, int value)
-
getParameter
public int getParameter()
-
getValue
public int getValue()
-
-