com.hp.hpl.jena.graph
Interface TripleIterator

All Superinterfaces:
ClosableIterator, ExtendedIterator, java.util.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, toList, toSet
 
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, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP