com.hp.hpl.jena.util.iterator
Class Map1Iterator
java.lang.Object
com.hp.hpl.jena.util.iterator.NiceIterator
com.hp.hpl.jena.util.iterator.WrappedIterator
com.hp.hpl.jena.util.iterator.Map1Iterator
- All Implemented Interfaces:
- ClosableIterator, ExtendedIterator, Iterator
public class Map1Iterator
- extends WrappedIterator
- implements ClosableIterator
An iterator that consumes an underlying iterator and maps its results before
delivering them; supports remove if the underlying iterator does.
- Version:
- Release='$Name: $' Revision='$Revision: 1.5 $' Date='$Date: 2004/12/06 13:50:15 $'
- Author:
- jjc + kers
Method Summary |
Object |
next()
next: defer to the base iterator |
Map1Iterator
public Map1Iterator(Map1 m,
Iterator it)
- Construct a list of the converted.
- Parameters:
m
- The conversion to apply.it
- the iterator of elements to convert
next
public Object next()
- Description copied from class:
WrappedIterator
- next: defer to the base iterator
- Specified by:
next
in interface Iterator
- Overrides:
next
in class WrappedIterator
Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP