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

ArraySet Class Reference

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

Public Methods

 ArraySet ()
 ArraySet (Object[] elements)
boolean add (Object e)
void clear ()
boolean contains (Object obj)
Iterator iterator ()
int size ()
Object[] toArray ()
void toArray (Object[] array)

Private Methods

void doubleCapacity ()
void removeElementAt (int index)

Private Attributes

int numElements
int maxElements
Object[] elements

Static Private Attributes

final int DEFAULT_SIZE = 8

Detailed Description

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

Definition at line 80 of file ArraySet.java.


Constructor & Destructor Documentation

ArraySet::ArraySet Object   elements[] [inline]
 

Create a set which contains the given elements.

Definition at line 132 of file ArraySet.java.


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