Interface IFilter<T>

Type Parameters:
T - The type of objects to be filtered.
All Known Implementing Classes:
ConjunctionFilter, DisjunctionFilter, GroovyClosureFilter, IdentityFilter, NegationFilter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Scriptable @FunctionalInterface public interface IFilter<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T p_obj)
     
  • Method Details

    • accept

      boolean accept(T p_obj)
      Parameters:
      p_obj - The object to be filtered.
      Returns:
      true if this filter accepts the given object, or false otherwise.