|
VTT Java 2010 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.nls.vtt.Model.TagComparator<T>
public class TagComparator<T>
This class provides methods to compare Tag objects.
History:
Constructor Summary | |
---|---|
TagComparator()
|
Method Summary | |
---|---|
int |
compare(T o1,
T o2)
This method compares two Tag objects by the name|category. |
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 |
Constructor Detail |
---|
public TagComparator()
Method Detail |
---|
public int compare(T o1, T o2)
compare
in interface java.util.Comparator<T>
o1
- the first Tag object to be comparedo2
- the second Tag object to be compared
|
VTT Java 2010 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |