All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nlab.json.stream.consumer.CheckedConsumeAndContinueConsumer Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy