MCPcopy Index your code
hub / github.com/apache/groovy / hashCode

Method hashCode

src/main/java/groovy/lang/SpreadMap.java:137–146  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

135 * {@inheritDoc}
136 */
137 @Override
138 public int hashCode() {
139 if (hashCode == 0) {
140 for (Object key : keySet()) {
141 int hash = (key != null) ? key.hashCode() : 0xbabe;
142 hashCode ^= hash;
143 }
144 }
145 return hashCode;
146 }
147
148 /**
149 * @return the string expression of <code>this</code>

Callers

nothing calls this directly

Calls 1

keySetMethod · 0.45

Tested by

no test coverage detected