mincapacity专题

解读ArrayList中的grow(int minCapacity)方法

查看源码: /*** Increases the capacity to ensure that it can hold at least the* number of elements specified by the minimum capacity argument.** @param minCapacity the desired minimum capacity*/privat