org.rx.util.function.BiAction 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.Consumer;
@FunctionalInterface
public interface BiAction extends Consumer {
void invoke(T t) throws Throwable;
@SneakyThrows
@Override
default void accept(T t) {
invoke(t);
}
}