| org.ontoware.rdf2go.util.ClosableConvertingIterator
ClosableConvertingIterator | public ClosableConvertingIterator(ClosableIterator<FROM> wrapped)(Code) | | The iterator takes the wrapped class and converts it to other
classes on the fly.
You have to implement the "convert" method, though.
Parameters: wrapped - the wrapped iterator |
ClosableConvertingIterator | public ClosableConvertingIterator(ClosableIterator<FROM> wrapped, Converter<FROM, TO> converter)(Code) | | The iterator takes the wrapped class and converts it to other
classes on the fly. Pass a converter that handles the conversion.
Parameters: wrapped - the wrapped iterator Parameters: converter - the converter |
|
|