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

Method add

Ports/CLDC11/src/java/util/HashSet.java:81–84  ·  view source on GitHub ↗
(E object)

Source from the content-addressed store, hash-verified

79 /// @return `true` when this `HashSet` did not already contain
80 /// the object, `false` otherwise
81 @Override
82 public boolean add(E object) {
83 return backingMap.put(object, this) == null;
84 }
85
86 /// Removes all elements from this `HashSet`, leaving it empty.
87 ///

Callers 5

HashSetMethod · 0.95
deliverTagMethod · 0.95
runMethod · 0.95
decodeTechMaskMethod · 0.95

Calls 1

putMethod · 0.65

Tested by

no test coverage detected