MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / hashCode

Method hashCode

Ports/CLDC11/src/java/util/AbstractMap.java:444–452  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442 ///
443 /// - #equals(Object)
444 @Override
445 public int hashCode() {
446 int result = 0;
447 Iterator<Map.Entry<K, V>> it = entrySet().iterator();
448 while (it.hasNext()) {
449 result += it.next().hashCode();
450 }
451 return result;
452 }
453
454 /// Returns whether this map is empty.
455 ///

Callers

nothing calls this directly

Calls 5

entrySetMethod · 0.95
iteratorMethod · 0.65
hasNextMethod · 0.65
hashCodeMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected