modnlp.tec.client
public class RightComparer extends Comparator
halfConcordance, punctuation, sortContextHorizon
Constructor and Description |
---|
RightComparer() |
RightComparer(int ctx,
int half) |
RightComparer(int ctx,
int half,
boolean pton) |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare two objects for sorting.
|
public RightComparer()
public RightComparer(int ctx, int half)
public RightComparer(int ctx, int half, boolean pton)
public int compare(java.lang.Object o1, java.lang.Object o2)
Comparator
compare
in interface java.util.Comparator
compare
in class Comparator