hydra.langs.tinkerpop.dsl.ElementBuilder Maven / Gradle / Ivy
package hydra.langs.tinkerpop.dsl;
import hydra.langs.tinkerpop.propertyGraph.PropertyKey;
import java.util.HashMap;
import java.util.Map;
public abstract class ElementBuilder> {
protected final Map properties = new HashMap();
protected abstract B getThis();
public abstract S build();
public B property(String key, V value) {
properties.put(new PropertyKey(key), value);
return getThis();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy