Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

HashSet Class Reference

Inheritance diagram for HashSet:
[legend]
Collaboration diagram for HashSet:
[legend]
List of all members.

Public Methods

 HashSet ()
 HashSet (Object[] elements)
 HashSet (int cap)
 HashSet (int cap, float load)
boolean add (Object obj)
void clear ()
boolean contains (Object obj)
boolean isEmpty ()
Iterator iterator ()
boolean remove (Object obj)
int size ()

Private Attributes

HashMap table

Detailed Description

Provides an implementation of the Set object using java.util.Hashtable.

@author: Raja Vallee-Rai

Definition at line 79 of file HashSet.java.


Constructor & Destructor Documentation

HashSet::HashSet Object   elements[] [inline]
 

Create a set which contains the given elements.

Definition at line 91 of file HashSet.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:12:16 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001