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

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

package hydra.lib.equality;

import hydra.lib.PrimitiveType;

import java.util.function.Function;


public class EqualInt32 extends EqualityFunction {
    public EqualInt32() {
        super(PrimitiveType.int32(), Relation.EQUALS);
    }

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

    public static Boolean apply(Integer first, Integer second) {
        return first.equals(second);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy