Class VectorExample
java.lang.Object
topics.introduction.examples.VectorExample
Demonstrates the legacy thread-safe
Vector collection.
Vector is a synchronized dynamic array. In modern Java, ArrayList
(unsynchronized) or CopyOnWriteArrayList
(concurrent) are generally preferred.- Author:
- vicegd
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VectorExample
public VectorExample()
-
-
Method Details
-
main
-