In - Out - public class IteratorTransformer<In,Out> extends Object implements Iterator<Out>
IteratorTransformer can be used to effectively iterate over an
Iterator and convert the items to another type. It acts as an adapter
between the supplied iterator and the desired iterator.
IteratorTransformer supports remove() if the supplied
iterator supports it, and will remove items from the underlying iterator.
| Constructor and Description |
|---|
IteratorTransformer(ETransformer<In,Out> transformer,
Iterator<In> iterator) |
public IteratorTransformer(ETransformer<In,Out> transformer, Iterator<In> iterator)
Copyright © 2013 Atomic Leopard. All Rights Reserved.