Searched refs:elementData (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | ArrayList.java | 148 transient Object[] elementData; // non-private to simplify nested class access field in ArrayList 166 this.elementData = new Object[initialCapacity]; in ArrayList() 168 this.elementData = EMPTY_ELEMENTDATA; in ArrayList() 179 this.elementData = DEFAULTCAPACITY_EMPTY_ELEMENTDATA; in ArrayList() 191 elementData = c.toArray(); in ArrayList() 192 if ((size = elementData.length) != 0) { in ArrayList() 194 if (elementData.getClass() != Object[].class) in ArrayList() 195 elementData = Arrays.copyOf(elementData, size, Object[].class); in ArrayList() 198 this.elementData = EMPTY_ELEMENTDATA; in ArrayList() 209 if (size < elementData.length) { in trimToSize() [all …]
|
D | Vector.java | 96 protected Object[] elementData; field in Vector 135 this.elementData = new Object[initialCapacity]; in Vector() 171 elementData = c.toArray(); in Vector() 172 elementCount = elementData.length; in Vector() 174 if (elementData.getClass() != Object[].class) in Vector() 175 elementData = Arrays.copyOf(elementData, elementCount, Object[].class); in Vector() 192 System.arraycopy(elementData, 0, anArray, 0, elementCount); in copyInto() 205 int oldCapacity = elementData.length; in trimToSize() 207 elementData = Arrays.copyOf(elementData, elementCount); in trimToSize() 245 if (minCapacity - elementData.length > 0) in ensureCapacityHelper() [all …]
|
D | Collections.java | 210 Arrays.sort((T[]) ((ArrayList) list).elementData, 0, list.size(), c); in sort()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Vector.java | 166 E elementData(int index) { in elementData() method in Vector 280 protected java.lang.Object[] elementData; field in Vector
|
D | ArrayList.java | 232 transient java.lang.Object[] elementData; field in ArrayList
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Vector.annotated.java | 145 protected java.lang.@libcore.util.Nullable Object @libcore.util.NonNull [] elementData; field in Vector
|