org.wildfly.swarm.config.neo4jdriver.Neo4jConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.neo4jdriver;
import org.wildfly.swarm.config.neo4jdriver.Neo4j;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface Neo4jConsumer> {
/**
* Configure a pre-constructed instance of Neo4j resource
*
* @parameter Instance of Neo4j to configure
* @return nothing
*/
void accept(T value);
default Neo4jConsumer andThen(Neo4jConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy