Searched refs:minCapacity (Results 1 – 2 of 2) sorted by relevance
63 public void ensureCapacity(int minCapacity) { in ensureCapacity() argument65 list.ensureCapacity(minCapacity); in ensureCapacity()83 public void ensureCapacityAndFill(int minCapacity, int fillValue) { in ensureCapacityAndFill() argument85 list.ensureCapacity(minCapacity); in ensureCapacityAndFill()87 int needToAdd = minCapacity - list.size(); in ensureCapacityAndFill()
152 synchronized public void ensureCapacity(int minCapacity) in ensureCapacity() argument155 if (minCapacity > oldCapacity) in ensureCapacity()159 if (newCapacity < minCapacity) in ensureCapacity()160 newCapacity = minCapacity; in ensureCapacity()
Completed in 18 milliseconds