![JAR search and dependency download from the Maven repository](/logo.png)
com.github.lwhite1.tablesaw.sorting.LongComparisonUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tablesaw Show documentation
Show all versions of tablesaw Show documentation
High-performance Java Dataframe with integrated columnar storage
package com.github.lwhite1.tablesaw.sorting;
/**
*
*/
public class LongComparisonUtil {
private static LongComparisonUtil instance = new LongComparisonUtil();
public static LongComparisonUtil getInstance() {
return instance;
}
private LongComparisonUtil() {
}
public int compare(long a, long b) {
if (a > b)
return 1;
if (b > a)
return -1;
return 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy