![JAR search and dependency download from the Maven repository](/logo.png)
com.carrotsearch.hppcrt.sorting.IntComparator Maven / Gradle / Ivy
package com.carrotsearch.hppcrt.sorting;
import java.util.Comparator;
@javax.annotation.Generated(date = "2014-10-25T20:54:12+0200", value = "HPPC-RT generated from: IntComparator.java")
public interface IntComparator
{
/**
* Defines the relative ordering of e1 and e2:
* @return 0 if e1 is "equal" to e2, or else < 0 if e1 is "smaller" than e2, or else > 0 if e1 is "bigger" than e2
*/
int compare(int e1, int e2);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy