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

Method trimToSize

Ports/CLDC11/src/java/util/Vector.java:1184–1188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1182 ///
1183 /// - #size
1184 public synchronized void trimToSize() {
1185 if (elementData.length != elementCount) {
1186 grow(elementCount);
1187 }
1188 }
1189}

Callers

nothing calls this directly

Calls 1

growMethod · 0.95

Tested by

no test coverage detected