Interface ObjectFilter

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 ObjectFilter
Object filtering interface
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Should return true if given object should be included into filtered subset
  • Method Details

    • accept

      boolean accept(AbstractObject object)
      Should return true if given object should be included into filtered subset
      Parameters:
      object - The object to filter
      Returns:
      true if Object is filtered