Antlr.Runtime.Collections.HashList Class Reference

An Hashtable-backed dictionary that enumerates Keys and Values in insertion order. More...

Inheritance diagram for Antlr.Runtime.Collections.HashList:

Inheritance graph
[legend]
Collaboration diagram for Antlr.Runtime.Collections.HashList:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HashList ()
 HashList (int capacity)
IDictionaryEnumerator GetEnumerator ()
void Remove (object key)
bool Contains (object key)
void Clear ()
void Add (object key, object value)
void CopyTo (Array array, int index)

Properties

bool IsReadOnly [get]
object this [object key] [get, set]
ICollection Values [get]
ICollection Keys [get]
bool IsFixedSize [get]
bool IsSynchronized [get]
int Count [get]
object SyncRoot [get]

Private Member Functions

IEnumerator
System.Collections.IEnumerable. 
GetEnumerator ()
void CopyKeysTo (Array array, int index)
void CopyValuesTo (Array array, int index)

Private Attributes

Hashtable _dictionary = new Hashtable()
ArrayList _insertionOrderList = new ArrayList()
int _version

Classes

class  HashListEnumerator
class  KeyCollection
class  ValueCollection


Detailed Description

An Hashtable-backed dictionary that enumerates Keys and Values in insertion order.

Definition at line 51 of file HashList.cs.


Constructor & Destructor Documentation

Antlr.Runtime.Collections.HashList.HashList (  ) 

Definition at line 358 of file HashList.cs.

Antlr.Runtime.Collections.HashList.HashList ( int  capacity  ) 

Definition at line 362 of file HashList.cs.


Member Function Documentation

IDictionaryEnumerator Antlr.Runtime.Collections.HashList.GetEnumerator (  ) 

Definition at line 383 of file HashList.cs.

void Antlr.Runtime.Collections.HashList.Remove ( object  key  ) 

Definition at line 401 of file HashList.cs.

bool Antlr.Runtime.Collections.HashList.Contains ( object  key  ) 

Definition at line 408 of file HashList.cs.

void Antlr.Runtime.Collections.HashList.Clear (  ) 

Definition at line 413 of file HashList.cs.

void Antlr.Runtime.Collections.HashList.Add ( object  key,
object  value 
)

Definition at line 425 of file HashList.cs.

void Antlr.Runtime.Collections.HashList.CopyTo ( Array  array,
int  index 
)

Definition at line 456 of file HashList.cs.

IEnumerator System.Collections.IEnumerable. Antlr.Runtime.Collections.HashList.GetEnumerator (  )  [private]

Definition at line 475 of file HashList.cs.

void Antlr.Runtime.Collections.HashList.CopyKeysTo ( Array  array,
int  index 
) [private]

Definition at line 482 of file HashList.cs.

void Antlr.Runtime.Collections.HashList.CopyValuesTo ( Array  array,
int  index 
) [private]

Definition at line 491 of file HashList.cs.


Member Data Documentation

Hashtable Antlr.Runtime.Collections.HashList._dictionary = new Hashtable() [private]

Definition at line 352 of file HashList.cs.

ArrayList Antlr.Runtime.Collections.HashList._insertionOrderList = new ArrayList() [private]

Definition at line 353 of file HashList.cs.

Definition at line 354 of file HashList.cs.


Property Documentation

bool Antlr.Runtime.Collections.HashList.IsReadOnly [get]

Definition at line 381 of file HashList.cs.

object Antlr.Runtime.Collections.HashList.this[object key] [get, set]

Definition at line 389 of file HashList.cs.

ICollection Antlr.Runtime.Collections.HashList.Values [get]

Definition at line 421 of file HashList.cs.

ICollection Antlr.Runtime.Collections.HashList.Keys [get]

Definition at line 433 of file HashList.cs.

bool Antlr.Runtime.Collections.HashList.IsFixedSize [get]

Definition at line 438 of file HashList.cs.

bool Antlr.Runtime.Collections.HashList.IsSynchronized [get]

Definition at line 447 of file HashList.cs.

int Antlr.Runtime.Collections.HashList.Count [get]

Definition at line 452 of file HashList.cs.

object Antlr.Runtime.Collections.HashList.SyncRoot [get]

Definition at line 467 of file HashList.cs.


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

Generated on Wed Oct 1 14:13:28 2008 for ANTLR API by  doxygen 1.5.5