org.eclipse.higgins.idas.cp.rdf.util
Class MappingIterator
java.lang.Object
org.eclipse.higgins.idas.cp.rdf.util.MappingIterator
- All Implemented Interfaces:
- Iterator
public abstract class MappingIterator
- extends Object
- implements Iterator
An iterator that reads elements from another iterator and maps them to its own elements.
- Author:
- msabadello at parityinc dot net
MappingIterator
public MappingIterator(Iterator iterator)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public Object next()
- Specified by:
next in interface Iterator
remove
public void remove()
- Specified by:
remove in interface Iterator
map
public abstract Object map(Object item)