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

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

public class Util
extends 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> Set<T>
union(Set<T> x, Set<T> y)
          Answer a new set which is the union of the two argument sets.
static Set<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> Set<T> union(Set<T> x,
                               Set<T> y)
Answer a new set which is the union of the two argument sets.


variablesOf

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



Licenced under the Apache License, Version 2.0