public class ResultSetCompare extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResultSetCompare.BNodeIso |
Constructor and Description |
---|
ResultSetCompare() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equal(Binding bind1,
Binding bind2,
NodeUtils.EqualityTest test)
Compare two bindings, use the node equality test provided
|
static boolean |
equalsByTerm(ResultSet rs1,
ResultSet rs2)
compare two result sets for equivalence.
|
static boolean |
equalsByTermAndOrder(ResultSet rs1,
ResultSet rs2)
compare two result sets for equivalence.
|
static boolean |
equalsByTest(Collection<Binding> b1,
Collection<Binding> b2,
NodeUtils.EqualityTest match) |
static boolean |
equalsByValue(ResultSet rs1,
ResultSet rs2)
Compare two result sets for equivalence.
|
static boolean |
equalsByValueAndOrder(ResultSet rs1,
ResultSet rs2)
compare two result sets for equivalence.
|
static boolean |
isomorphic(ResultSet rs1,
ResultSet rs2)
Compare two result sets for bNode isomorphism equivalence.
|
public static boolean equalsByValue(ResultSet rs1, ResultSet rs2)
rs1
- rs2
- public static boolean equalsByTest(Collection<Binding> b1, Collection<Binding> b2, NodeUtils.EqualityTest match)
public static boolean equalsByTerm(ResultSet rs1, ResultSet rs2)
rs1
- rs2
- public static boolean equalsByValueAndOrder(ResultSet rs1, ResultSet rs2)
rs1
- rs2
- public static boolean equalsByTermAndOrder(ResultSet rs1, ResultSet rs2)
rs1
- rs2
- public static boolean isomorphic(ResultSet rs1, ResultSet rs2)
public static boolean equal(Binding bind1, Binding bind2, NodeUtils.EqualityTest test)
Licenced under the Apache License, Version 2.0