First page Back Continue Last page Overview Graphics
The Vector Collection
java.util.vector
- much like an array however vector is expandable
- extra high-level operations make vector very flexible in use
- vector can hold any subtype of Object.
Operations
- size() , capacity() - returns the number of elements in the collection
- isEmpty()
- setSize(int) – set the size, trancuting or expanding as necessary
Notes: