MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / equals

Method equals

java/src/org/openqa/selenium/DeviceRotation.java:102–113  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

100 }
101
102 @Override
103 public boolean equals(Object o) {
104 if (!(o instanceof DeviceRotation)) {
105 return false;
106 }
107 if (o == this) {
108 return true;
109 }
110
111 DeviceRotation obj = (DeviceRotation) o;
112 return obj.getX() == this.getX() && obj.getY() == this.getY() && obj.getZ() == this.getZ();
113 }
114
115 @Override
116 public int hashCode() {

Callers

nothing calls this directly

Calls 3

getXMethod · 0.95
getYMethod · 0.95
getZMethod · 0.95

Tested by

no test coverage detected