org.jvirtanen.parity.match.AskComparator Maven / Gradle / Ivy
The newest version!
package org.jvirtanen.parity.match;
import it.unimi.dsi.fastutil.longs.AbstractLongComparator;
class AskComparator extends AbstractLongComparator {
public static final AskComparator INSTANCE = new AskComparator();
@Override
public int compare(long left, long right) {
return Long.signum(left - right);
}
}