org.rx.util.function.PredicateFunc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxlib Show documentation
Show all versions of rxlib Show documentation
A set of utilities for Java
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);
}
}