ResultType - The type of the values iterated by this Iterator.OriginalType - The original type of the values iterated by the decorated Iterator.@Deprecated public abstract class AbstractConvertedIterator<ResultType,OriginalType> extends AbstractBaseIterator<ResultType>
Iterator that converts the elements of another Iterator using a AbstractConvertedIterator.Converter before
returning them.| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractConvertedIterator.Converter<ResultType,OriginalType>
Deprecated.
|
| Constructor and Description |
|---|
AbstractConvertedIterator(java.util.Iterator<OriginalType> iterator,
AbstractConvertedIterator.Converter<ResultType,OriginalType> converter)
Deprecated.
Creates a converting
Iterator that iterates the elements of the given Iterator after converting
them using the given AbstractConvertedIterator.Converter. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Deprecated.
|
ResultType |
next()
Deprecated.
|
equals, hashCode, removepublic AbstractConvertedIterator(java.util.Iterator<OriginalType> iterator, AbstractConvertedIterator.Converter<ResultType,OriginalType> converter)
Iterator that iterates the elements of the given Iterator after converting
them using the given AbstractConvertedIterator.Converter.iterator - The Iterator to be converted.converter - The AbstractConvertedIterator.Converter.public final boolean hasNext()
public final ResultType next()