@FunctionalInterface public interface IntComparator
Comparator
but the items compared
are primitive integer values rather than Objects.Modifier and Type | Method and Description |
---|---|
int |
compare(int i1,
int i2)
Compares its two arguments for order.
|
int compare(int i1, int i2)
i1
- first integer to comparei2
- second integer to compareCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.