public interface IndexComparator
Modifier and Type | Method and Description |
---|---|
int |
compare(int index1,
int index2)
Returns >0 if the value pointed to by index1 is greater than the value
pointed to by index2, or &tl; 0 if the value pointed to by index 1 is less
than the value pointed to by index 2.
|
int |
compare(int index1,
Object val)
Returns > 0 if the value pointed to by index1 is greater than 'val',
or < 0 if the value pointed to by index 1 is less than 'val'.
|
int compare(int index1, Object val)
int compare(int index1, int index2)
Copyright © 2015. All rights reserved.