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

Method LRG

chapter20/src/main/java/com/seaofnodes/simple/codegen/LRG.java:82–82  ·  view source on GitHub ↗
( short lrg )

Source from the content-addressed store, hash-verified

80
81 boolean leader() { return _leader == null; }
82
83 // Fast-path Find from the Union-Find algorithm
84 LRG find() {
85 if( _leader==null ) return this; // I am the leader

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected