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

Method hash

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

Source from the content-addressed store, hash-verified

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

Callers 1

hashCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected