public class SubsetIteratorFilter extends IteratorFilterSupport implements Iterator, Action
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | SubsetIteratorFilter.DeciderA decider determines if the given element should be added to the list or not. | 
IteratorFilterSupport.EnumerationIterator| Constructor and Description | 
|---|
| SubsetIteratorFilter() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | decide(Object element) | 
| String | execute()Where the logic of the action is executed. | 
| boolean | hasNext() | 
| Object | next() | 
| void | remove() | 
| void | setCount(int aCount) | 
| void | setDecider(SubsetIteratorFilter.Decider aDecider) | 
| void | setSource(Object anIterator) | 
| void | setStart(int aStart) | 
getIteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void setCount(int aCount)
public void setSource(Object anIterator)
public void setStart(int aStart)
public void setDecider(SubsetIteratorFilter.Decider aDecider)
public String execute()
Actionprotected boolean decide(Object element)
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.