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
<T> java.util.Set<T>
union(java.util.Set<T> x, java.util.Set<T> y)
          Answer a new set which is the union of the two argument sets.
static java.util.Set<java.lang.String> 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 <T> java.util.Set<T> union(java.util.Set<T> x,
                                         java.util.Set<T> y)
Answer a new set which is the union of the two argument sets.


variablesOf

public static java.util.Set<java.lang.String> 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, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP