com.hp.hpl.jena.shared
Class RandomOrderGraph

java.lang.Object
  extended bycom.hp.hpl.jena.graph.impl.WrappedGraph
      extended bycom.hp.hpl.jena.shared.RandomOrderGraph
All Implemented Interfaces:
Graph, GraphAdd

public class RandomOrderGraph
extends com.hp.hpl.jena.graph.impl.WrappedGraph

Wraps a graph and randomizes the order of find results.

Author:
jjc

Field Summary
 
Fields inherited from interface com.hp.hpl.jena.graph.Graph
emptyGraph
 
Constructor Summary
RandomOrderGraph(Graph base)
           
RandomOrderGraph(int bufsz, Graph base)
           
 
Method Summary
static Graph createDefaultGraph()
           
static Model createDefaultModel()
           
 ExtendedIterator find(Node s, Node p, Node o)
          Returns an iterator over Triple.
 ExtendedIterator find(TripleMatch m)
          Returns an iterator over all the Triples that match the triple pattern.
 
Methods inherited from class com.hp.hpl.jena.graph.impl.WrappedGraph
add, close, contains, contains, delete, dependsOn, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getTransactionHandler, isEmpty, isIsomorphicWith, queryHandler, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomOrderGraph

public RandomOrderGraph(int bufsz,
                        Graph base)
Parameters:
base -

RandomOrderGraph

public RandomOrderGraph(Graph base)
Parameters:
base -
Method Detail

createDefaultGraph

public static Graph createDefaultGraph()

createDefaultModel

public static Model createDefaultModel()

find

public ExtendedIterator find(TripleMatch m)
Description copied from interface: Graph
Returns an iterator over all the Triples that match the triple pattern.


find

public ExtendedIterator find(Node s,
                             Node p,
                             Node o)
Description copied from interface: Graph
Returns an iterator over Triple.



Copyright © 2000-2003 Hewlett-Packard. All Rights Reserved.