Interface HashTable.OnHRFunc

Enclosing class:
HashTable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface HashTable.OnHRFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onHRFunc(CallbackHandler __self, Pointer key, Pointer value, Pointer user_data)
    Specifies the type of the function passed to
    g_hash_table_foreach_remove().
  • Method Details

    • onHRFunc

      boolean onHRFunc(CallbackHandler __self, @Nullable Pointer key, @Nullable Pointer value, @Nullable Pointer user_data)
      Specifies the type of the function passed to
      g_hash_table_foreach_remove(). It is called with each key/value
      pair, together with the @user_data parameter passed to
      g_hash_table_foreach_remove(). It should return %TRUE if the
      key/value pair should be removed from the #GHashTable.
      Parameters:
      key - a key
      value - the value associated with the key
      user_data - user data passed to g_hash_table_remove()
      Returns:
      %TRUE if the key/value pair should be removed from the #GHashTable