Interface HashTable.OnHFunc

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.OnHFunc
  • Method Summary

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

    • onHFunc

      void onHFunc(CallbackHandler __self, @Nullable Pointer key, @Nullable Pointer value, @Nullable Pointer user_data)
      Specifies the type of the function passed to g_hash_table_foreach().
      It is called with each key/value pair, together with the @user_data
      parameter which is passed to g_hash_table_foreach().
      Parameters:
      key - a key
      value - the value corresponding to the key
      user_data - user data passed to g_hash_table_foreach()