public interface IndexComparator
Modifier and Type | Method | 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,
java.lang.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, java.lang.Object val)
int compare(int index1, int index2)
Copyright © 2018. All rights reserved.