E - the type of data to iteratepublic class FilteringDataIterator<E> extends DataIteratorProxy<E>
DataIterator proxy which applies a Filter to the data provides by its source.
Created: 24.07.2011 10:19:41| Modifier and Type | Field and Description |
|---|---|
protected org.databene.commons.Filter<E> |
filter |
source| Constructor and Description |
|---|
FilteringDataIterator(DataIterator<E> source,
org.databene.commons.Filter<E> filter) |
| Modifier and Type | Method and Description |
|---|---|
DataContainer<E> |
next(DataContainer<E> wrapper)
Returns the container with the next data element if available, otherwise null.
|
getTypeclose, getSourceContainer, nextOfSourceprotected org.databene.commons.Filter<E> filter
public FilteringDataIterator(DataIterator<E> source, org.databene.commons.Filter<E> filter)
public DataContainer<E> next(DataContainer<E> wrapper)
DataIteratornext in interface DataIterator<E>next in class DataIteratorProxy<E>wrapper - a DataContainer to receive the iterated dataDataContainer that holds the next element, or null if none is availableCopyright © 2006–2016 Volker Bergmann. All rights reserved.