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

Method eq

chapter10/src/main/java/com/seaofnodes/simple/Utils.java:59–64  ·  view source on GitHub ↗
(String s0, String s1)

Source from the content-addressed store, hash-verified

57 public static int fold( long x ) { return (int)((x>>32) ^ x); }
58
59 public static boolean eq(String s0, String s1) {
60 if( s0==s1 ) return true;
61 assert s0==s0.intern();
62 assert s1==s1.intern();
63 return false;
64 }
65}

Callers 3

eqMethod · 0.95
idealizeMethod · 0.95
idealizeMethod · 0.95

Calls 1

internMethod · 0.45

Tested by

no test coverage detected