HashTable
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( ref_function = "g_hash_table_ref" , type_id = "G_TYPE_HASH_TABLE" , type_signature = "a{%s}" , unref_function = "g_hash_table_unref" ) ]
public class HashTable<K,V>
Content:
Properties:
Creation methods:
Methods:
- public void @foreach (HFunc<K,V> func)
- public unowned V @get (K key)
- public bool @set (owned K key, owned V value)
- public bool add (owned K key)
- public bool contains (K key)
- public unowned V find (HRFunc<K,V> predicate)
- public void for_each (HFunc<K,V> func)
- public uint foreach_remove (HRFunc<K,V> predicate)
- public uint foreach_steal (HRFunc<K,V> predicate)
- public List<unowned K> get_keys ()
- public (unowned K)[] get_keys_as_array ()
- public GenericArray<unowned K> get_keys_as_ptr_array ()
- public List<unowned V> get_values ()
- public GenericArray<unowned V> get_values_as_ptr_array ()
- public bool insert (owned K key, owned V value)
- public unowned V lookup (K key)
- public bool lookup_extended (K lookup_key, out unowned K orig_key, out unowned V value)
- public bool remove (K key)
- public void remove_all ()
- public bool replace (owned K key, owned V value)
- public uint size ()
- public bool steal (K key)
- public void steal_all ()
- public GenericArray<K> steal_all_keys ()
- public GenericArray<V> steal_all_values ()
- public bool steal_extended (K lookup_key, out K stolen_key, out V stolen_value)
- public V take (K key, out bool exists = null)