Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ode.utils.stl
Class TransformIterator<E,V>

    java.lang.Object
      org.apache.ode.utils.stl.TransformIterator<E,V>

All Implemented Interfaces:
  java.util.Iterator<V>

    public class TransformIterator<E,V>

extends java.lang.Object
implements java.util.Iterator<V>

Transforming `Iterator` implementation; these iterators apply a unary function to each object before it is returned.

Created on Feb 4, 2004 at 4:48:14 PM.

Constructor Summary
`TransformIterator(java.util.Iterator<E> i, UnaryFunction<E,V> txForm)`

Method Summary
`boolean` | `hasNext()` DOCUMENTME
`V` | `next()` DOCUMENTME
`void` | `remove()` DOCUMENTME

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TransformIterator

    public TransformIterator(java.util.Iterator<E> i,
                             UnaryFunction<E,V> txForm)

Method Detail

### hasNext

    public boolean hasNext()

  DOCUMENTME

  Specified by:
    `hasNext` in interface `java.util.Iterator<V>`
  Returns:
    DOCUMENTME

### next

    public V next()

  DOCUMENTME

  Specified by:
    `next` in interface `java.util.Iterator<V>`
  Returns:
    DOCUMENTME

### remove

    public void remove()

  DOCUMENTME

  Specified by:
    `remove` in interface `java.util.Iterator<V>`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD