|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mark.nlp.data.Instance
A base class for representations of an instance. Every instance has a category. The class follows the Immutable design pattern.
| Constructor Summary | |
Instance(int category)
Initializes the instance. |
|
| Method Summary | |
int |
category()
Returns the instance's category. |
void |
setCategory(int category)
Sets the instance's category. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Instance(int category)
category - the instance's category.| Method Detail |
public int category()
public void setCategory(int category)
category - the new category.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||