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

Method equals

output/java_guava/1.4.13/Functions.java:341–348  ·  view source on GitHub ↗
(@Nullable Object obj)

Source from the content-addressed store, hash-verified

339 }
340
341 @Override
342 public boolean equals(@Nullable Object obj) {
343 if (obj instanceof ConstantFunction) {
344 ConstantFunction<?> that = (ConstantFunction<?>) obj;
345 return Objects.equal(value, that.value);
346 }
347 return false;
348 }
349
350 @Override
351 public int hashCode() {

Callers

nothing calls this directly

Calls 1

equalMethod · 0.95

Tested by

no test coverage detected