|
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.MarkupComparator<T>
public class MarkupComparator<T>
This class provides methods to compare Markup object.
History:
Constructor Summary | |
---|---|
MarkupComparator()
|
Method Summary | |
---|---|
int |
compare(T o1,
T o2)
This method compares two Markup objects by the order of offset, and then length (smaller last). |
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 MarkupComparator()
Method Detail |
---|
public int compare(T o1, T o2)
compare
in interface java.util.Comparator<T>
o1
- the first Markup object to be comparedo2
- the second Markup object to be compared
|
VTT Java 2010 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |