|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.LemmaBigram
public class LemmaBigram
A lemma bigram.
| Constructor Summary | |
|---|---|
LemmaBigram(Lemma lemma1,
Lemma lemma2)
Creates a new lemma bigram. |
|
| Method Summary | |
|---|---|
int |
compareTo(LemmaBigram other)
Compares this instance with another. |
boolean |
equals(java.lang.Object obj)
Returns true if this object equals some other object. |
Lemma |
getLemma1()
Gets the first lemma. |
Lemma |
getLemma2()
Gets the second lemma. |
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 LemmaBigram(Lemma lemma1,
Lemma lemma2)
lemma1 - First lemma.lemma2 - Second lemma.| Method Detail |
|---|
public Lemma getLemma1()
public Lemma getLemma2()
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(LemmaBigram other)
Lemma bigrams are orderd by the frist lemma, then by the second lemma.
compareTo in interface java.lang.Comparable<LemmaBigram>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||