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

Method hash

chapter12/src/main/java/com/seaofnodes/simple/node/Node.java:530–530  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

528 while( lhs != rhs ) {
529 if( lhs==null || rhs==null ) return null;
530 int comp = lhs.idepth() - rhs.idepth();
531 if( comp >= 0 ) lhs = lhs.idom();
532 if( comp <= 0 ) rhs = rhs.idom();
533 }

Callers 1

hashCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected