MCPcopy Create free account
hub / github.com/ReadyTalk/avian / add

Method add

classpath/java/util/TreeMap.java:191–193  ·  view source on GitHub ↗
(K key)

Source from the content-addressed store, hash-verified

189 }
190
191 public boolean add(K key) {
192 return set.addAndReplace(new MyEntry(key, null)) != null;
193 }
194
195 public boolean addAll(Collection<? extends K> collection) {
196 boolean change = false;

Callers 1

addAllMethod · 0.95

Calls 1

addAndReplaceMethod · 0.80

Tested by

no test coverage detected