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

Method hash

chapter23/src/main/java/com/seaofnodes/simple/type/Field.java:111–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109
110 // Override in subclasses
111 int hash() { return _fname.hashCode() ^ _t.hashCode() ^ _alias ^ (_final ? 1024 : 0) ^ (_one ? 2048 : 0); }
112
113 private boolean static_eq( Field f ) {
114 return _fname.equals(f._fname) && _alias==f._alias && _final==f._final && _one==f._one && _t !=null && f._t !=null;

Callers

nothing calls this directly

Calls 1

hashCodeMethod · 0.45

Tested by

no test coverage detected