Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ hash
Method
hash
chapter11/src/main/java/com/seaofnodes/simple/type/Field.java:46–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
// Override in subclasses
45
int
hash() {
return
_fname.hashCode() ^ _type.hashCode(); }
46
47
boolean eq(Type t) {
48
Field f = (Field)t;
49
return
Utils.eq(_fname,f._fname) && _type==f._type;
Callers
nothing calls this directly
Calls
1
hashCode
Method · 0.45
Tested by
no test coverage detected