Home | Modules | Class Hierarchy | Alphabetical List | Compound List | Related Pages

# Hashtable< T > Class Template Reference
[Common interfaces]

Inheritance diagram for Hashtable< T >:

## Detailed Description

### template<class T>
class Hashtable< T >

Hashtable template class, stores nullable objects.

Assumes, that stored objects can be nullable (so, null object is returned, when no match is found).

## Public Member Functions
| Hashtable (int capacity, double loadFactor=DEFAULT_LOAD_FACTOR)
T | get (const String *key) const
T | enumerate () const
| Starts internal hashtable enumeration procedure.
T | next () const
| Returns the next value object with current enumeration procedure.

## Member Function Documentation

template<class T>
T Hashtable< T >::enumerate | ( |  | ) | const`[inline]`

| Starts internal hashtable enumeration procedure. Returns first element value in a sequence, or null, if hashtable is empty.

template<class T>
T Hashtable< T >::next | ( |  | ) | const`[inline]`

| Returns the next value object with current enumeration procedure. If hashtable state is changed, and next() call occurs, exception is thrown. If end of hash is reached, exception is thrown.

Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.
Generated at Fri Nov 24 17:13:13 2006 by doxygen 1.4.6.