Schnittstelle Scanner.OnHFunc

Umschließende Klasse:
Scanner
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Scanner.OnHFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onHFunc(CallbackHandler __self, Pointer key, Pointer value, Pointer user_data)
    Specifies the type of the function passed to g_hash_table_foreach().
  • Methodendetails

    • 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().
      Parameter:
      key - a key
      value - the value corresponding to the key
      user_data - user data passed to g_hash_table_foreach()