public class BaseComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
History:
Constructor and Description |
---|
BaseComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2)
Compare two objects by base order
|
static void |
main(java.lang.String[] args)
Test driver for this class.
|
public int compare(T o1, T o2)
compare
in interface java.util.Comparator<T>
o1
- the first object to be comparedo2
- the second object to be comparedpublic static void main(java.lang.String[] args)
args
- argumentsSubmit a bug or feature
Copyright © 2019 National Library of Medicine