Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Syncleus/aparapi
/ hashCode
Method
hashCode
src/main/java/com/aparapi/device/Device.java:178–181 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
176
}
177
178
@Override
179
public
int
hashCode() {
180
return
Long.valueOf(getDeviceId()).hashCode();
181
}
182
183
public
int
compareTo(Device other) {
184
if
(type.rank < other.type.rank) {
Callers
1
hash
Method · 0.45
Calls
1
getDeviceId
Method · 0.95
Tested by
1
hash
Method · 0.36