All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paritytrading.parity.match.BidComparator Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
package com.paritytrading.parity.match;

import it.unimi.dsi.fastutil.longs.AbstractLongComparator;

class BidComparator extends AbstractLongComparator {

    public static final BidComparator INSTANCE = new BidComparator();

    @Override
    public int compare(long left, long right) {
        return Long.signum(right - left);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy