question: private void grow ( int minCapacity ) { int oldCapacity = elementData . length ; int newCapacity = oldCapacity + ( oldCapacity > > 1 ) ; if ( newCapacity - minCapacity < 0 ) { newCapacity = minCapacity ; } if ( newCapacity - MAX_ARRAY_SIZE > 0 ) { newCapacity = hugeCapacity ( minCapacity ) ; } elementData = Arrays . copyOf ( elementData , newCapacity ) ; }
target:  Increases the capacity to ensure that it can hold at least the number of elements specified by the minimum capacity argument.