Package io.trino.array
Interface IntComparator
public interface IntComparator
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(int k1, int k2) Compares the given primitive types.
-
Method Details
-
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:
-