Schnittstelle FileIface.OnHash

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

@FunctionalInterface public static interface FileIface.OnHash
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    onHash(CallbackHandler __self, File file)
     
  • Methodendetails

    • onHash

      int onHash(CallbackHandler __self, @Nonnull File file)
      Parameter:
      file - #gconstpointer to a #GFile
      Gibt zurück:
      0 if @file is not a valid #GFile, otherwise an integer that can be used as hash value for the #GFile. This function is intended for easily hashing a #GFile to add to a #GHashTable or similar data structure.