MCPcopy Index your code
hub / github.com/ShiftLeftSecurity/overflowdb / addNode

Method addNode

core/src/main/java/overflowdb/Graph.java:132–134  ·  view source on GitHub ↗

Add a node with given label and properties Will automatically assign an ID - this is the safest option to avoid ID clashes.

(final String label, final Object... keyValues)

Source from the content-addressed store, hash-verified

130 * Will automatically assign an ID - this is the safest option to avoid ID clashes.
131 */
132 public Node addNode(final String label, final Object... keyValues) {
133 return addNodeInternal(currentId.incrementAndGet(), label, keyValues);
134 }
135
136 /**
137 * Add a node with given id, label and properties.

Calls 3

addNodeInternalMethod · 0.95
containsMethod · 0.80
getMethod · 0.80