Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Collections.Hashtable.SyncHashtable Class Referencesealed

Public Member Functions

override void GetObjectData (SerializationInfo info, StreamingContext context)
 
override void Add (object key, object value)
 
override void Clear ()
 
override bool Contains (object key)
 
override bool ContainsKey (object key)
 
override bool ContainsValue (object key)
 
override void CopyTo (Array array, int arrayIndex)
 
override object Clone ()
 
override IDictionaryEnumerator GetEnumerator ()
 
override void Remove (object key)
 
override void OnDeserialization (object sender)
 
virtual void Add (object key, object? value)
 
virtual bool ContainsValue (object? value)
 
virtual void OnDeserialization (object? sender)
 

Static Public Member Functions

static Hashtable Synchronized (Hashtable table)
 

Protected Member Functions

virtual int GetHash (object key)
 
virtual bool KeyEquals (object? item, object key)
 

Package Functions

 SyncHashtable (Hashtable table)
 
 SyncHashtable (SerializationInfo info, StreamingContext context)
 
override KeyValuePairs[] ToKeyValuePairsArray ()
 

Properties

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

Private Member Functions

IEnumerator IEnumerable. GetEnumerator ()
 
uint InitHash (object key, int hashsize, out uint seed, out uint incr)
 
void CopyKeys (Array array, int arrayIndex)
 
void CopyEntries (Array array, int arrayIndex)
 
void CopyValues (Array array, int arrayIndex)
 
void expand ()
 
void rehash ()
 
void rehash (int newsize)
 
void UpdateVersion ()
 
void Insert (object key, object nvalue, bool add)
 
void putEntry (bucket[] newBuckets, object key, object nvalue, int hashcode)
 

Private Attributes

Hashtable _table
 
bucket[] _buckets
 
int _count
 
int _occupancy
 
int _loadsize
 
float _loadFactor
 
volatile int _version
 
volatile bool _isWriterInProgress
 
ICollection _keys
 
ICollection _values
 
IEqualityComparer _keycomparer
 

Detailed Description

Definition at line 107 of file Hashtable.cs.


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