
org.nlab.json.stream.consumer.CheckedConsumeAndContinueConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-stream Show documentation
Show all versions of json-stream Show documentation
Json Streaming / JsonPath Matcher
The newest version!
package org.nlab.json.stream.consumer;
import org.jooq.lambda.fi.util.function.CheckedConsumer;
import org.jooq.lambda.fi.util.function.CheckedFunction;
/**
* 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