The ensureCapacity(int minCapacity) method of java.util.Vector class increases the capacity of the vector, if necessary.This is to ensure that the vector can hold at least the number of components specified by the minimum capacity argument. … [Read more...]