| java.lang.Object org.openrdf.model.util.ModelUtil
ModelUtil | public class ModelUtil (Code) | | author: Arjohn Kampman |
Method Summary | |
public static boolean | equals(Iterable<? extends Statement> model1, Iterable<? extends Statement> model2) Compares two models, defined by two statement collections, and returns
true if they are equal. | public static boolean | equals(Set<? extends Statement> model1, Set<? extends Statement> model2) Compares two models, defined by two statement collections, and returns
true if they are equal. | public static boolean | isSubset(Iterable<? extends Statement> model1, Iterable<? extends Statement> model2) Compares two models, defined by two statement collections, and returns
true if the first model is a subset of the second model. | public static boolean | isSubset(Set<? extends Statement> model1, Set<? extends Statement> model2) Compares two models, defined by two statement collections, and returns
true if the first model is a subset of the second model. |
equals | public static boolean equals(Iterable<? extends Statement> model1, Iterable<? extends Statement> model2)(Code) | | Compares two models, defined by two statement collections, and returns
true if they are equal. Models are equal if they contain the
same set of statements. Blank node IDs are not relevant for model
equality, they are mapped from one model to the other by using the
attached properties.
|
equals | public static boolean equals(Set<? extends Statement> model1, Set<? extends Statement> model2)(Code) | | Compares two models, defined by two statement collections, and returns
true if they are equal. Models are equal if they contain the
same set of statements. Blank node IDs are not relevant for model
equality, they are mapped from one model to the other by using the
attached properties.
|
isSubset | public static boolean isSubset(Iterable<? extends Statement> model1, Iterable<? extends Statement> model2)(Code) | | Compares two models, defined by two statement collections, and returns
true if the first model is a subset of the second model.
|
isSubset | public static boolean isSubset(Set<? extends Statement> model1, Set<? extends Statement> model2)(Code) | | Compares two models, defined by two statement collections, and returns
true if the first model is a subset of the second model.
|
|
|