com.hp.hpl.jena.graph
Class GraphUtil

java.lang.Object
  extended by com.hp.hpl.jena.graph.GraphUtil

public class GraphUtil
extends java.lang.Object

An ad-hoc collection of useful code for graphs; starting with findAll.

Author:
kers

Method Summary
static com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findAll(Graph g)
          Answer an iterator covering all the triples in the specified graph.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findAll

public static com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findAll(Graph g)
Answer an iterator covering all the triples in the specified graph.

Parameters:
g - the graph from which to extract triples
Returns:
an iterator over all the graph's triples


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP