MCPcopy Create free account
hub / github.com/dariuszseweryn/RxAndroidBle / equals

Method equals

rxandroidble/src/test/java/android/util/Pair.java:13–20  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

11 this.second = second;
12 }
13 @Override
14 public boolean equals(Object o) {
15 if (!(o instanceof Pair)) {
16 return false;
17 }
18 Pair<?, ?> p = (Pair<?, ?>) o;
19 return Objects.equals(p.first, first) && Objects.equals(p.second, second);
20 }
21 @Override
22 public int hashCode() {
23 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.65

Tested by

no test coverage detected