TemplateHashtable< T > class Reference

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).

Todo:
  Normal enumerator.

## Public Methods
| 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.

Colorer-take5 Library. Copyright © 1999-2003 Cail Lomecb.
Generated at Fri Sep 12 18:54:56 2003 by doxygen 1.3-rc2.