Specifications

Sun Services
Java™ Programming Language
Module 9, slide 29 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Collections in JDK™ Version 1.1
Collections in the Java Development Kit (JDK™) include:
The class Vector implements the List interface.
The class Stack is a subclass of Vector and supports
the push, pop, and peek methods.
The class Hashtable implements the Map interface.
The Enumeration interface is a variation on the
Iterator interface.
An enumeration is returned by the elements
method in Vector, Stack, and Hashtable.
Classes are thread-safe, and therefore, heavy weight.
These classes also support generics.