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

Method addFirst

classpath/java/util/AbstractDeque.java:28–33  ·  view source on GitHub ↗
(T element)

Source from the content-addressed store, hash-verified

26 }
27
28 @Override
29 public void addFirst(T element) {
30 if (! offerFirst(element)) {
31 throw new IllegalStateException();
32 }
33 }
34
35 @Override
36 public boolean offer(T element) {

Callers 1

pushMethod · 0.95

Calls 1

offerFirstMethod · 0.65

Tested by

no test coverage detected