Interface FieldInfoList.FieldInfoFilter

Enclosing class:
FieldInfoList
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 FieldInfoList.FieldInfoFilter
Filter an FieldInfoList using a predicate mapping an FieldInfo object to a boolean, producing another FieldInfoList for all items in the list for which the predicate is true.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(FieldInfo fieldInfo)
    Whether or not to allow an FieldInfo list item through the filter.
  • Method Details

    • accept

      boolean accept(FieldInfo fieldInfo)
      Whether or not to allow an FieldInfo list item through the filter.
      Parameters:
      fieldInfo - The FieldInfo item to filter.
      Returns:
      Whether or not to allow the item through the filter. If true, the item is copied to the output list; if false, it is excluded.