public class Candidate extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
actionCode
The integer representation of the predicted action
|
Constructor and Description |
---|
Candidate()
Constructs a candidate object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getActionCode()
Returns an integer representation of the predicted action
|
int |
hashCode() |
void |
reset()
Resets the candidate object
|
void |
setActionCode(int actionCode)
Sets the integer representation of the predicted action
|
java.lang.String |
toString() |
protected int actionCode
public Candidate()
public int getActionCode()
public void setActionCode(int actionCode)
actionCode
- an integer representation of the predicted actionpublic void reset()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.