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

org.rx.util.function.PredicateFunc Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package org.rx.util.function;

import lombok.SneakyThrows;

import java.util.function.Predicate;

@FunctionalInterface
public interface PredicateFunc extends Predicate {
    boolean invoke(T t) throws Throwable;

    @SneakyThrows
    @Override
    default boolean test(T t) {
        return invoke(t);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy