Source File Hashtable.tesla
namespace Tesla.Collections

include Tesla.stdc

class Hashtable

Modifiers: public
Implements: Iterable

protected static int[] primelist
protected HashtableNode[] table
protected int multval
protected int addval
protected int curprime
protected int numElements
protected float loadFactor
public Hashtable ( )
public Hashtable ( float loadFactor )
protected void rehash ( )
protected uint hash ( int hashcode )
protected Object add ( HashtableNode newnode )
public Object add ( Object key, Object data )
public void addPairs ( KeyValuePair[] pairs )
public Object getValue ( Object key )
public Object getKey ( Object data )
public Object removeValue ( Object key )
public Object removeKeys ( Object data )
public boolean containsValue ( Object data )
public boolean containsKey ( Object key )
public int size ( )
public boolean isEmpty ( )
public void empty ( )
public Iterator iterator ( )
public Object copyObject ( )

class KeyValuePair

Modifiers: public

public Object key
public Object data
public KeyValuePair ( )
public KeyValuePair ( Object key, Object data )
public String toString ( )
public int compare ( Object o )

class HashtableNode

Modifiers: protected
Extends: KeyValuePair

public HashtableNode next
public HashtableNode ( Object key, Object data, HashtableNode next )


Produce by t2html tool written by Eric Kerfoot © 2004