Home
last modified time | relevance | path

Searched refs:elementCount (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DVector.java105 protected int elementCount; field in Vector
172 elementCount = elementData.length; in Vector()
175 elementData = Arrays.copyOf(elementData, elementCount, Object[].class); in Vector()
192 System.arraycopy(elementData, 0, anArray, 0, elementCount); in copyInto()
206 if (elementCount < oldCapacity) { in trimToSize()
207 elementData = Arrays.copyOf(elementData, elementCount); in trimToSize()
288 if (newSize > elementCount) { in setSize()
291 for (int i = newSize ; i < elementCount ; i++) { in setSize()
295 elementCount = newSize; in setSize()
315 return elementCount; in size()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DStackTest.java175 public void setLength(int elementCount) { in setLength() argument
176 this.elementCount = elementCount; in setLength()
180 return elementCount; in getLength()
/libcore/ojluni/annotations/hiddenapi/java/util/
DVector.java278 protected int elementCount; field in Vector
/libcore/ojluni/annotations/sdk/nullability/java/util/
DVector.annotated.java143 protected int elementCount; field in Vector