modnlp.tec.client
public class LeftComparer extends Comparator
halfConcordance, punctuation, sortContextHorizon
Constructor and Description |
---|
LeftComparer() |
LeftComparer(int ctx,
int half) |
LeftComparer(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 LeftComparer()
public LeftComparer(int ctx, int half)
public LeftComparer(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