|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.PosTrigram
public class PosTrigram
A pos trigram.
| Constructor Summary | |
|---|---|
PosTrigram(Pos pos1,
Pos pos2,
Pos pos3)
Creates a new pos trigram. |
|
| Method Summary | |
|---|---|
int |
compareTo(PosTrigram other)
Compares this instance with another. |
boolean |
equals(java.lang.Object obj)
Returns true if this object equals some other object. |
Pos |
getPos1()
Gets the first pos. |
Pos |
getPos2()
Gets the second pos. |
Pos |
getPos3()
Gets the third pos. |
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 PosTrigram(Pos pos1,
Pos pos2,
Pos pos3)
pos1 - First pos.pos2 - Second pos.pos3 - Third pos.| Method Detail |
|---|
public Pos getPos1()
public Pos getPos2()
public Pos getPos3()
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(PosTrigram other)
Pos trigrams are orderd by the frist pos, then by the second pos, then by the third pos.
compareTo in interface java.lang.Comparable<PosTrigram>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||