com.hp.hpl.jena.graph
Interface TripleIterator

All Superinterfaces:
com.hp.hpl.jena.util.iterator.ClosableIterator<Triple>, com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple>, Iterator<Triple>

public interface TripleIterator
extends com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple>

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


Licenced under the Apache License, Version 2.0