
org.nlab.xml.stream.consumer.CheckedConsumeAndContinueConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xml-stream-css Show documentation
Show all versions of xml-stream-css Show documentation
Stream Xml using StAX and Css matcher
package org.nlab.xml.stream.consumer;
import java.util.function.Consumer;
import java.util.function.Function;
import org.jooq.lambda.fi.util.function.CheckedConsumer;
import org.jooq.lambda.fi.util.function.CheckedFunction;
import org.nlab.exception.UncheckedExecutionException;
/**
* Created by nlabrot on 19/03/15.
*/
@FunctionalInterface
public interface CheckedConsumeAndContinueConsumer extends CheckedConsumer, CheckedFunction {
void accept(T t) throws Throwable;
@Override
default Boolean apply(T t) throws Throwable {
accept(t);
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy