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

Method hashCode

Ports/CLDC11/src/java/util/AbstractSet.java:81–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 ///
80 /// - #equals
81 @Override
82 public int hashCode() {
83 int result = 0;
84 Iterator<?> it = iterator();
85 while (it.hasNext()) {
86 Object next = it.next();
87 result += next == null ? 0 : next.hashCode();
88 }
89 return result;
90 }
91
92 /// Removes all occurrences in this collection which are contained in the
93 /// specified collection.

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected