< prev index next >
modules/javafx.base/src/main/java/javafx/collections/ObservableArray.java
Print this page
*** 71,81 ****
/**
* Grows the capacity of this array if the current capacity is less than
* given {@code capacity}, does nothing if it already exceeds
* the {@code capacity}.
! * @param capacity
*/
public void ensureCapacity(int capacity);
/**
* Shrinks the capacity to the current size of data in the array.
--- 71,81 ----
/**
* Grows the capacity of this array if the current capacity is less than
* given {@code capacity}, does nothing if it already exceeds
* the {@code capacity}.
! * @param capacity the {@code capacity} of this array
*/
public void ensureCapacity(int capacity);
/**
* Shrinks the capacity to the current size of data in the array.
< prev index next >