com.hp.hpl.jena.graph
Class GraphUtil

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

public class GraphUtil
extends Object

An ad-hoc collection of useful code for graphs; starting with findAll, which is graph-specific, and extending to iteratorToSet and iteratorToList, which are here because they are used in tests and in the bulk update handlers.

Author:
kers

Method Summary
static ExtendedIterator 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 ExtendedIterator 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 Hewlett-Packard Development Company, LP