MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / eq

Method eq

chapter16/src/main/java/com/seaofnodes/simple/type/Field.java:59–62  ·  view source on GitHub ↗
(Type t)

Source from the content-addressed store, hash-verified

57 int hash() { return _fname.hashCode() ^ _type.hashCode() ^ _alias ^ (_final ? 1024 : 0); }
58
59 boolean eq(Type t) {
60 Field f = (Field)t;
61 return _fname.equals(f._fname) && _type==f._type && _alias==f._alias && _final==f._final;
62 }
63
64
65 @Override

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected