|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.collections.iterators.ProxyIterator | +--org.apache.commons.collections.iterators.TransformIterator | +--org.apache.commons.collections.TransformIterator
A Proxy Iterator
which uses a Transformer
instance to
transform the contents of the Iterator
into some other form
Constructor Summary | |
TransformIterator()
Deprecated. Constructs a new TransformIterator that will not function
until the setIterator method is
invoked. |
|
TransformIterator(java.util.Iterator iterator)
Deprecated. Constructs a new TransformIterator that won't transform
elements from the given iterator. |
|
TransformIterator(java.util.Iterator iterator,
Transformer transformer)
Deprecated. Constructs a new TransformIterator that will use the
given iterator and transformer. |
Methods inherited from class org.apache.commons.collections.iterators.TransformIterator |
getTransformer, next, setTransformer |
Methods inherited from class org.apache.commons.collections.iterators.ProxyIterator |
getIterator, hasNext, remove, setIterator |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransformIterator()
TransformIterator
that will not function
until the setIterator
method is
invoked.
public TransformIterator(java.util.Iterator iterator)
TransformIterator
that won't transform
elements from the given iterator.
iterator
- the iterator to usepublic TransformIterator(java.util.Iterator iterator, Transformer transformer)
TransformIterator
that will use the
given iterator and transformer. If the given transformer is null,
then objects will not be transformed.
iterator
- the iterator to usetransformer
- the transformer to use
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |