Creates a new backing array with the specified size containing the current items.
(int newSize)
| 484 | |
| 485 | /** Creates a new backing array with the specified size containing the current items. */ |
| 486 | protected T[] resize (int newSize) { |
| 487 | items = Arrays.copyOf(items, newSize); |
| 488 | return items; |
| 489 | } |
| 490 | |
| 491 | /** Sorts this array. The array elements must implement {@link Comparable}. This method is not thread safe (uses |
| 492 | * {@link Sort#instance()}). */ |
no outgoing calls
no test coverage detected