com.hp.hpl.jena.graph.query
Class Util

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.Util

public class Util
extends java.lang.Object

Util: some utility code used by graph query that doesn't seem to belong anywhere else that it can be put.

Author:
kers

Constructor Summary
Util()
           
 
Method Summary
static java.util.Set union(java.util.Set x, java.util.Set y)
          Answer a new set which is the union of the two argument sets.
static java.util.Set variablesOf(Triple t)
          Answer a new set which contains exactly the names of the variable[ node]s in the triple.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

union

public static java.util.Set union(java.util.Set x,
                                  java.util.Set y)
Answer a new set which is the union of the two argument sets.


variablesOf

public static java.util.Set variablesOf(Triple t)
Answer a new set which contains exactly the names of the variable[ node]s in the triple.



Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP