MCPcopy Create free account
hub / github.com/apache/thrift / equals

Method equals

lib/java/src/main/java/org/apache/thrift/protocol/TField.java:55–62  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

53 }
54
55 @Override
56 public boolean equals(Object obj) {
57 if (this == obj) return true;
58 if (obj == null) return false;
59 if (getClass() != obj.getClass()) return false;
60 TField otherField = (TField) obj;
61 return type == otherField.type && id == otherField.id;
62 }
63}

Callers 15

handleMethod · 0.45
test.tsFile · 0.45
test-int64.tsFile · 0.45
test.jsFile · 0.45
test-int64.jsFile · 0.45
handleMethod · 0.45
testDeepCopyMethod · 0.45
testBasicMethod · 0.45
testEqualityMethod · 0.45
testSerializationMethod · 0.45
processMethod · 0.45

Calls

no outgoing calls

Tested by 15

handleMethod · 0.36
testDeepCopyMethod · 0.36
testBasicMethod · 0.36
testEqualityMethod · 0.36
testSerializationMethod · 0.36
processMethod · 0.36
createSaslClientMethod · 0.36
createSaslServerMethod · 0.36
mainMethod · 0.36
mainMethod · 0.36
testRoundtripMethod · 0.36