Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beanshell/beanshell
/ hashCode
Method
hashCode
src/bsh/BshMethod.java:456–463 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
454
455
456
@Override
457
public
int
hashCode() {
458
int
h = name.hashCode();
459
for
(Class<?> cparamType : cparamTypes) {
460
h = h * 31 + cparamType.hashCode();
461
}
462
return
h;
463
}
464
}
Callers
4
testHashCode_contract
Method · 0.95
getInterface
Method · 0.45
getInterface
Method · 0.45
invokeMethod
Method · 0.45
Calls
no outgoing calls
Tested by
1
testHashCode_contract
Method · 0.76