gov.nih.nlm.nls.tc.Jdi
Class Count1fJdComparator<T>
java.lang.Object
gov.nih.nlm.nls.tc.Jdi.Count1fJdComparator<T>
- All Implemented Interfaces:
- java.util.Comparator<T>
public class Count1fJdComparator<T>
- extends java.lang.Object
- implements java.util.Comparator<T>
This class provides methods to compare Jd Score records (Count1f).
- Version:
- V-2008
- Author:
- NLM Lexical Systems Group
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 |
BY_ID
public static final int BY_ID
- See Also:
- Constant Field Values
BY_NAME
public static final int BY_NAME
- See Also:
- Constant Field Values
BY_DC
public static final int BY_DC
- See Also:
- Constant Field Values
BY_COUNT1
public static final int BY_COUNT1
- See Also:
- Constant Field Values
BY_DC_NAME
public static final int BY_DC_NAME
- See Also:
- Constant Field Values
Count1fJdComparator
public Count1fJdComparator()
compare
public int compare(T o1,
T o2)
- This method compare two Count1f objects by the specified compare flag.
- Specified by:
compare
in interface java.util.Comparator<T>
- Parameters:
o1
- the first Count1f object to be comparedo2
- the second Count1f object to be compared
- Returns:
- a negative interger, zero, or a positive integer as the
first argument is less than, equal to, or greater than the second.
SetCompareFlag
public void SetCompareFlag(int flag)
- Set the comparing flag
- Parameters:
flag
- comparing flag: BY_ID|BY_NAME|BY_DC|BY_COUNT1|BY_DC_NAME
SetJournalDescriptors
public void SetJournalDescriptors(JournalDescriptors jds)
- Set the Journal Descriptors
- Parameters:
jds
- Journal descriptors
Submit a bug or feature
Copyright © 2008 National Library of Medicine