|
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.Jdi.Count2fJdComparator<T>
public class Count2fJdComparator<T>
This class provides methods to compare Jd Score records (Count2f).
History:
| Field Summary | |
|---|---|
static int |
BY_COUNT1
|
static int |
BY_COUNT2
|
static int |
BY_DC
|
static int |
BY_DC_NAME
|
static int |
BY_ID
|
static int |
BY_NAME
|
static int |
BY_WC
|
static int |
BY_WC_NAME
|
| Constructor Summary | |
|---|---|
Count2fJdComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(T o1,
T o2)
This method compares two Count2f JD scores objects by the specified compare flag. |
void |
SetCompareFlag(int flag)
Set the comparing flag |
void |
SetJournalDescriptors(JournalDescriptors jds)
Set the Journal Descriptors |
void |
SetVerbose(boolean verbose)
Set verbose flag for reading in JD 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_NAME
public static final int BY_WC
public static final int BY_COUNT1
public static final int BY_DC
public static final int BY_COUNT2
public static final int BY_WC_NAME
public static final int BY_DC_NAME
| Constructor Detail |
|---|
public Count2fJdComparator()
| Method Detail |
|---|
public void SetJournalDescriptors(JournalDescriptors jds)
jds - Journal descriptorspublic void SetVerbose(boolean verbose)
verbose - verbose flag for reading in JD filepublic void SetCompareFlag(int flag)
flag - comparing flag:
BY_ID|BY_NAME|BY_WC|BY_COUNT1|BY_DC|BY_COUNT2|BY_WC_NAME|BY_DC_NAME
public int compare(T o1,
T o2)
compare in interface java.util.Comparator<T>o1 - the first Count2f object to be comparedo2 - the second Count2f object to be compared
|
TC Java 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||