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

Method ensureCapacity

classpath/java/util/ArrayList.java:72–74  ·  view source on GitHub ↗
(int capacity)

Source from the content-addressed store, hash-verified

70 }
71
72 public void ensureCapacity(int capacity) {
73 grow(capacity);
74 }
75
76 public boolean contains(Object element) {
77 for (int i = 0; i < size; ++i) {

Callers

nothing calls this directly

Calls 1

growMethod · 0.95

Tested by

no test coverage detected