Simias::Sync::Delta::StrongWeakHashtable Class Reference

Hashtable class that contains a strong and a weak hash code for the value. Elements are stored in an ArrayList using the weak hash as the key. More...

List of all members.

Public Member Functions

void Add (HashData[] entryList)
 Add the List of entries to the table.
bool Contains (UInt32 weakHash)
 Checks if the table contains the weak hash.
HashEntry GetEntry (HashEntry entry)
 Returns the Entry that matches the weak and strong hash codes of the passed in HashEntry.
void Clear ()
 Clears all elements from the table.

Properties

ArrayList this [UInt32 weakHash] [get]
 Indexer for the table. The index is the weakHash. Returns the ArrayList of entries that all have this weak hash.


Detailed Description

Hashtable class that contains a strong and a weak hash code for the value. Elements are stored in an ArrayList using the weak hash as the key.


Member Function Documentation

void Simias::Sync::Delta::StrongWeakHashtable::Add ( HashData[]  entryList  )  [inline]

Add the List of entries to the table.

Parameters:
entryList The list of entries to add.

bool Simias::Sync::Delta::StrongWeakHashtable::Contains ( UInt32  weakHash  )  [inline]

Checks if the table contains the weak hash.

Parameters:
weakHash The hash to compare.
Returns:
True if in the table.

HashEntry Simias::Sync::Delta::StrongWeakHashtable::GetEntry ( HashEntry  entry  )  [inline]

Returns the Entry that matches the weak and strong hash codes of the passed in HashEntry.

Parameters:
entry The entry to match.
Returns:
The HashEntry that matched, or null.

void Simias::Sync::Delta::StrongWeakHashtable::Clear (  )  [inline]

Clears all elements from the table.


Property Documentation

ArrayList Simias::Sync::Delta::StrongWeakHashtable::this[UInt32 weakHash] [get]

Indexer for the table. The index is the weakHash. Returns the ArrayList of entries that all have this weak hash.


The documentation for this class was generated from the following file:

Generated on Wed Apr 8 14:57:55 2009 for simias by  doxygen 1.5.6