Interface HashTable.OnEqualFunc

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

    Modifier and Type
    Method
    Description
    boolean
    Specifies the type of a function used to test two values for
    equality.
  • Method Details

    • onEqualFunc

      boolean onEqualFunc(CallbackHandler __self, @Nullable Pointer a, @Nullable Pointer b)
      Specifies the type of a function used to test two values for
      equality. The function should return %TRUE if both values are equal
      and %FALSE otherwise.
      Parameters:
      a - a value
      b - a value to compare with
      Returns:
      %TRUE if @a = @b; %FALSE otherwise