public class CSpellScoreNw1To1Comparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
History:
CSpellScore
Modifier and Type | Field and Description |
---|---|
static int |
COMPARE_BY_COMBO |
static int |
COMPARE_BY_CONTEXT |
static int |
COMPARE_BY_ENSEMBLE |
static int |
COMPARE_BY_FREQUENCY |
static int |
COMPARE_BY_ORTHOGRAPHICS |
Constructor and Description |
---|
CSpellScoreNw1To1Comparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2)
Compare two object o1 and o2.
|
void |
SetCompareMode(int compareMode) |
public static final int COMPARE_BY_COMBO
public static final int COMPARE_BY_ORTHOGRAPHICS
public static final int COMPARE_BY_FREQUENCY
public static final int COMPARE_BY_CONTEXT
public static final int COMPARE_BY_ENSEMBLE
public int compare(T o1, T o2)
compare
in interface java.util.Comparator<T>
o1
- first object to be comparedo2
- second object to be comparedpublic void SetCompareMode(int compareMode)
Submit a bug or feature
Copyright © 2018 National Library of Medicine