MCPcopy Index your code
hub / github.com/davidgiven/luje / equals

Method equals

lib/java/util/MapEntry.java:50–63  ·  view source on GitHub ↗
(Object object)

Source from the content-addressed store, hash-verified

48 }
49
50 @Override
51 public boolean equals(Object object) {
52 if (this == object) {
53 return true;
54 }
55 if (object instanceof Map.Entry) {
56 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object;
57 return (key == null ? entry.getKey() == null : key.equals(entry
58 .getKey()))
59 && (value == null ? entry.getValue() == null : value
60 .equals(entry.getValue()));
61 }
62 return false;
63 }
64
65 public K getKey() {
66 return key;

Callers

nothing calls this directly

Calls 3

getKeyMethod · 0.65
equalsMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected