Package org.joox

Interface Filter

All Known Subinterfaces:
FastFilter
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 interface Filter
A filter indicating whether an element/index should be kept when reducing an Match node set
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    filter(Context context)
    The callback method invoked for every matched element.
  • Method Details

    • filter

      boolean filter(Context context)
      The callback method invoked for every matched element.
      Parameters:
      context - The context for the current callback call.
      Returns:
      Whether this filter includes the element