|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.MultiColumnComparator
edu.northwestern.at.monk.model.Pos.Comparator
public static class Pos.Comparator
A multi-column part of speech comparator.
MultiColumnComparator| Constructor Summary | |
|---|---|
Pos.Comparator(Pos.SortOption... sortOptions)
Creates a new lemma comparator. |
|
| Method Summary | |
|---|---|
int |
compare(Pos pos1,
Pos pos2)
Compares two parts of speech. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public Pos.Comparator(Pos.SortOption... sortOptions)
sortOptions - Part of speech sort options, or null to use the natural
ordering.| Method Detail |
|---|
public int compare(Pos pos1,
Pos pos2)
compare in interface java.util.Comparator<Pos>pos1 - First part of speech.pos2 - Second part of speech.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||