com.hp.hpl.jena.graph.query
Class Util
java.lang.Object
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
|
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. |
Util
public Util()
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