|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.ComboFeature
edu.northwestern.at.monk.model.HeadWord
public class HeadWord
A headword combination feature.
| Constructor Summary | |
|---|---|
HeadWord(Lemma lemma)
Creates a new headword. |
|
| Method Summary | |
|---|---|
int |
compareTo(HeadWord other)
Compares this instance with another. |
boolean |
equals(java.lang.Object obj)
Returns true if this object equals some other object. |
java.lang.String |
getHeadWord()
Gets the headword. |
int |
hashCode()
Returns a hash code for this object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeadWord(Lemma lemma)
lemma - Lemma.| Method Detail |
|---|
public java.lang.String getHeadWord()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Other object.
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(HeadWord other)
Headwords are ordered in case and diacritical-insensitive increasing alphabetical order.
compareTo in interface java.lang.Comparable<HeadWord>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||