org.rx.util.function.PredicateAction 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;
@FunctionalInterface
public interface PredicateAction {
boolean invoke() throws Throwable;
@SneakyThrows
default boolean test() {
return invoke();
}
}