MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / find

Method find

chapter06/src/main/java/com/seaofnodes/simple/node/Node.java:404–404  ·  view source on GitHub ↗

Debugging utility to find a Node by index

(int nid)

Source from the content-addressed store, hash-verified

402 * Debugging utility to find a Node by index
403 */
404 public Node find(int nid) { return _find(new BitSet(),nid); }
405 private Node _find(BitSet visit, int nid) {
406 if( _nid==nid ) return this;
407 if( visit.get(_nid) ) return null;

Callers

nothing calls this directly

Calls 1

_findMethod · 0.95

Tested by

no test coverage detected