Package io.trino.array
Interface IntComparator
-
public interface IntComparator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
compare(int k1, int k2)
Compares the given primitive types.
-
-
-
Method Detail
-
compare
int compare(int k1, int k2)
Compares the given primitive types.- Returns:
- A positive integer, zero, or a negative integer if the first argument is greater than, equal to, or smaller than, respectively, the second one.
- See Also:
Comparator
-
-