MCPcopy Create free account
hub / github.com/Syncleus/aparapi / equals

Method equals

src/main/java/com/aparapi/device/Device.java:164–176  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

162 public abstract long getDeviceId();
163
164 @Override
165 public boolean equals(Object o) {
166 if (this == o) {
167 return true;
168 }
169 if (!(o instanceof Device)) {
170 return false;
171 }
172
173 Device device = (Device) o;
174
175 return getDeviceId() == device.getDeviceId();
176 }
177
178 @Override
179 public int hashCode() {

Callers 11

sameMethod · 0.45
SourceMethod · 0.45
ConfigClass · 0.45
createRangeMethod · 0.45
getMappedMethodNameMethod · 0.45
isMappedMethodMethod · 0.45
usesAtomic32Method · 0.45
computeMethod · 0.45
invokeMethod · 0.45

Calls 1

getDeviceIdMethod · 0.95

Tested by 2

sameMethod · 0.36
SourceMethod · 0.36