Interface CustomFilter.OnCustomFilterFunc

Enclosing class:
CustomFilter
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 CustomFilter.OnCustomFilterFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    User function that is called to determine if the @item should be matched.
  • Method Details

    • onCustomFilterFunc

      boolean onCustomFilterFunc(CallbackHandler __self, @Nonnull Pointer item, @Nullable Pointer user_data)
      User function that is called to determine if the @item should be matched.

      If the filter matches the item, this function must return %TRUE. If the
      item should be filtered out, %FALSE must be returned.
      Parameters:
      item - The item to be matched
      user_data - user data
      Returns:
      %TRUE to keep the item around