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

org.davidmoten.kool.function.BiPredicate Maven / Gradle / Ivy

There is a newer version: 0.1.35
Show newest version
package org.davidmoten.kool.function;

import org.davidmoten.kool.internal.util.Exceptions;

@FunctionalInterface
public interface BiPredicate {

    boolean test(T t, R r) throws Exception;

    default boolean testUnchecked(T t, R r) {
        try {
            return test(t, r);
        } catch (Exception e) {
            return Exceptions.rethrow(e);
        }
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy