Interface FileIface.OnHash

Enclosing class:
FileIface
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 FileIface.OnHash
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    onHash(CallbackHandler __self, File file)
     
  • Method Details

    • onHash

      int onHash(CallbackHandler __self, @Nonnull File file)
      Parameters:
      file - #gconstpointer to a #GFile
      Returns:
      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.