| 
 TC Java 2011 Version  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.tc.Stri.Count1fStComparator<T>
public class Count1fStComparator<T>
This class provides methods to compare St Score records (Count1f).
History:
| Field Summary | |
|---|---|
static int | 
BY_ABBR
 | 
static int | 
BY_COUNT1
 | 
static int | 
BY_DC
 | 
static int | 
BY_DC_ABBR
 | 
static int | 
BY_ID
 | 
| Constructor Summary | |
|---|---|
Count1fStComparator()
 | 
|
| Method Summary | |
|---|---|
 int | 
compare(T o1,
        T o2)
This method compares two Count1f ST scores objects by the specified compare flag.  | 
 void | 
SetCompareFlag(int flag)
Set the comparing flag  | 
 void | 
SetSemanticTypes(SemanticTypes sts)
Set the Semantic Types  | 
 void | 
SetVerbose(boolean verbose)
Set verbose flag for reading in ST file  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface java.util.Comparator | 
|---|
equals | 
| Field Detail | 
|---|
public static final int BY_ID
public static final int BY_ABBR
public static final int BY_DC
public static final int BY_COUNT1
public static final int BY_DC_ABBR
| Constructor Detail | 
|---|
public Count1fStComparator()
| Method Detail | 
|---|
public void SetSemanticTypes(SemanticTypes sts)
sts - Semantic Typespublic void SetVerbose(boolean verbose)
verbose - verbose flag for reading in ST filepublic void SetCompareFlag(int flag)
flag - comparing flag:
 BY_ID|BY_ABBR|BY_DC|BY_COUNT1|BY_DC_ABBR
public int compare(T o1,
                   T o2)
compare in interface java.util.Comparator<T>o1 - the first Count1f object to be comparedo2 - the second Count1f object to be compared
  | 
 TC Java 2011 Version  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||