public class SubtermComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
History:
| Constructor and Description |
|---|
SubtermComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2)
Comparator for subterm object, sort subterm by start indext first,
then end index.
|
public int compare(T o1, T o2)
compare in interface java.util.Comparator<T>o1 - the first subterm to compareo2 - the second subterm to compare Submit a bug or feature
Copyright © 2015 National Library of Medicine