com.hp.hpl.jena.graph
Interface TripleIterator

All Superinterfaces:
ClosableIterator, ExtendedIterator, Iterator

public interface TripleIterator
extends ExtendedIterator

An extended iterator that can return its next element as a Triple.

Author:
kers

Method Summary
 Triple nextTriple()
          Answer the next() element cast to Triple.
 
Methods inherited from interface com.hp.hpl.jena.util.iterator.ExtendedIterator
andThen, filterDrop, filterKeep, mapWith, removeNext
 
Methods inherited from interface com.hp.hpl.jena.util.iterator.ClosableIterator
close
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

nextTriple

Triple nextTriple()
Answer the next() element cast to Triple.

Returns:
(Triple) next()
Throws:
NoSuchElementException, - ClassCastException


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP