Creates an ArrayList instance to hold estimatedSize elements, plus an unspecified amount of padding; you almost certainly mean to call #newArrayListWithCapacity (see that method for further advice on usage). Note: This method will soon be deprecated. Even in
(int estimatedSize)
| 212 | */ |
| 213 | |
| 214 | @GwtCompatible(serializable = true) |
| 215 | public static <E> ArrayList<E> newArrayListWithExpectedSize(int estimatedSize) { |
| 216 | return new ArrayList<E>(computeArrayListCapacity(estimatedSize)); |
| 217 | } |
| 218 | |
| 219 | // LinkedList |
| 220 |
no test coverage detected