Class VertexClass<V>
java.lang.Object
org.aksw.jena_sparql_api.sparql_path2.Pair<ValueSet<V>>
org.aksw.jena_sparql_api.sparql_path2.VertexClass<V>
- Direct Known Subclasses:
PredicateClass
The main reason this class extends pair is to have the list interface
which allows iterating the directions with get(0) and get(1)
- Author:
- raven
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> VertexClass<V>booleaninthashCode()static <V> VertexClass<V>static PredicateClassReverse the direction of a predicate classtoString()static <V> VertexClass<V>Methods inherited from class org.aksw.jena_sparql_api.sparql_path2.Pair
create, get, getKey, getValue, iterator, set, setValue, sizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
VertexClass
public VertexClass() -
VertexClass
-
-
Method Details
-
union
-
merge
public static <V> VertexClass<V> merge(Pair<ValueSet<V>> a, Pair<ValueSet<V>> b, BinaryOperator<ValueSet<V>> op) -
create
-
getFwdNodes
-
getBwdNodes
-
reverse
Reverse the direction of a predicate class- Parameters:
pc-- Returns:
-
hashCode
public int hashCode() -
equals
-
toString
-