Interface SubsetIteratorFilter.Decider

Enclosing class:
SubsetIteratorFilter

public static interface SubsetIteratorFilter.Decider
A decider determines if the given element should be added to the list or not.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    decide(Object element)
    Should the object be added to the list?
  • Method Details

    • decide

      boolean decide(Object element) throws Exception
      Should the object be added to the list?
      Parameters:
      element - the object
      Returns:
      true to add.
      Throws:
      Exception - can be thrown.