public class Item
extends java.lang.Object
implements java.lang.Comparable
Title: Item
Description: This class contains the representation of a item
Copyright: Copyright KEEL (c) 2007
Company: KEEL
Constructor and Description |
---|
Item()
Default constructor.
|
Item(int variable,
int value)
Builder
|
Modifier and Type | Method and Description |
---|---|
Item |
clone() |
int |
compareTo(java.lang.Object a) |
int |
getValue() |
int |
getVariable() |
boolean |
isEqual(Item a) |
void |
setValues(int variable,
int value) |
public Item()
public Item(int variable, int value)
Builder
variable
- Variablevalue
- Value or Label of the variablepublic void setValues(int variable, int value)
public int getVariable()
public int getValue()
public Item clone()
clone
in class java.lang.Object
public boolean isEqual(Item a)
public int compareTo(java.lang.Object a)
compareTo
in interface java.lang.Comparable