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