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

Method add

classpath/java/util/AbstractQueue.java:19–26  ·  view source on GitHub ↗
(T element)

Source from the content-addressed store, hash-verified

17 }
18
19 @Override
20 public boolean add(T element) {
21 if (offer(element)) {
22 return true;
23 } else {
24 throw new IllegalStateException();
25 }
26 }
27
28 @Override
29 public boolean addAll(Collection <? extends T> collection) {

Callers 1

addAllMethod · 0.95

Calls 1

offerMethod · 0.65

Tested by

no test coverage detected