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

org.wildfly.swarm.config.neo4jdriver.neo4j.HostConsumer Maven / Gradle / Ivy

package org.wildfly.swarm.config.neo4jdriver.neo4j;

import org.wildfly.swarm.config.neo4jdriver.neo4j.Host;
import java.lang.FunctionalInterface;

@FunctionalInterface
public interface HostConsumer> {

	/**
	 * Configure a pre-constructed instance of Host resource
	 * 
	 * @parameter Instance of Host to configure
	 * @return nothing
	 */
	void accept(T value);

	default HostConsumer andThen(HostConsumer after) {
		return (c) -> {
			this.accept(c);
			after.accept(c);
		};
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy