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

hydra.lib.equality.GteInt32 Maven / Gradle / Ivy

package hydra.lib.equality;

import hydra.lib.PrimitiveType;

import java.util.function.Function;


public class GteInt32 extends EqualityFunction {
    public GteInt32() {
        super(PrimitiveType.int32(), Relation.GREATER_THAN_OR_EQUAL);
    }

    public static Function apply(Integer second) {
        return first -> apply(first, second);
    }

    public static Boolean apply(Integer first, Integer second) {
        return first.compareTo(second) >= 0;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy