Package org.apache.struts2.util
Class SubsetIteratorFilter
java.lang.Object
org.apache.struts2.util.IteratorFilterSupport
org.apache.struts2.util.SubsetIteratorFilter
A bean that takes an iterator and outputs a subset of it.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceA decider determines if the given element should be added to the list or not.Nested classes/interfaces inherited from class org.apache.struts2.util.IteratorFilterSupportIteratorFilterSupport.EnumerationIterator
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanexecute()Where the logic of the action is executed.booleanhasNext()next()voidremove()voidsetCount(int aCount) voidsetDecider(SubsetIteratorFilter.Decider aDecider) voidvoidsetStart(int aStart) Methods inherited from class org.apache.struts2.util.IteratorFilterSupportgetIteratorMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Constructor Details- 
SubsetIteratorFilterpublic SubsetIteratorFilter()
 
- 
- 
Method Details- 
setCountpublic void setCount(int aCount) 
- 
setSource
- 
setStartpublic void setStart(int aStart) 
- 
setDecider
- 
executeDescription copied from interface:ActionWhere the logic of the action is executed.
- 
hasNextpublic boolean hasNext()
- 
next
- 
removepublic void remove()
- 
decide
 
-