HashTable
Object Hierarchy:
Description:
[ Compact ]
public class HashTable<K,V>
Content:
Properties:
Creation methods:
Methods:
- public void insert (owned K key, owned V value)
- public void replace (owned K key, owned V value)
- public void add (owned K key)
- public weak V lookup (K key)
- public bool lookup_extended (K lookup_key, out K orig_key, out V value)
- public bool contains (K key)
- public bool remove (K key)
- public void remove_all ()
- public uint foreach_remove (HRFunc<K,V> predicate)
- public weak V @get (K key)
- public void @set (owned K key, owned V value)
- public List<weak K> get_keys ()
- public (weak K)[] get_keys_as_array ()
- public List<weak V> get_values ()
- public void @foreach (HFunc<K,V> func)
- public void for_each (HFunc<K,V> func)
- public weak V find (HRFunc<K,V> predicate)
- public uint size ()
- public bool steal (K key)
- public void steal_all ()
- public V take (K key, out bool exists = null)