org.apache.struts2.util
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
 boolean decide(Object element)
          Should the object be added to the list?
 

Method Detail

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.


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.