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

Method addElement

Ports/CLDC11/src/java/util/Vector.java:221–227  ·  view source on GitHub ↗
(E object)

Source from the content-addressed store, hash-verified

219 ///
220 /// - `object`: the object to add to the vector.
221 public synchronized void addElement(E object) {
222 if (elementCount == elementData.length) {
223 growByOne();
224 }
225 elementData[elementCount++] = object;
226 modCount++;
227 }
228
229 /// Returns the number of elements this vector can hold without growing.
230 ///

Callers 15

getValidSBEntriesMethod · 0.95
getHeaderFieldNamesMethod · 0.95
getHeaderFieldsMethod · 0.95
resaveFatMethod · 0.95
enumToStringArrMethod · 0.95
getAllContactsMethod · 0.95
getAllContactsMethod · 0.95
getHeaderFieldNamesMethod · 0.95
getHeaderFieldsMethod · 0.95
resaveFatMethod · 0.95
enumToStringArrMethod · 0.95
pushMethod · 0.45

Calls 1

growByOneMethod · 0.95

Tested by

no test coverage detected