MCPcopy Create free account
hub / github.com/antlr/codebuff / referenceEquals

Method referenceEquals

output/java/1.4.17/Misc.java:45–47  ·  view source on GitHub ↗

Makes it clear when a comparison is intended as reference equality.

(Object x, Object y)

Source from the content-addressed store, hash-verified

43 /** Makes it clear when a comparison is intended as reference equality.
44 */
45 public static boolean referenceEquals(Object x, Object y) {
46 return x==y;
47 }
48
49 // Seriously: why isn't this built in to java?
50

Callers 1

traceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected