- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess
public class ResizeableArrayList
extends java.util.ArrayList
implements java.util.List, java.lang.Cloneable, java.io.Serializable
ResizableArrayList is the same as ArrayList except that ensureSize not only
increases the size of the array (super.ensureCapacity), but it also fills the
empty space with null. This way, the size method will return the length of
the array and not just the number of elements in it. I guess.
- See Also:
- Serialized Form