|Constructor and Description|
|Modifier and Type||Method and Description|
Creates one or more
Checks if the two statements represent the same triple (that is, they have equal subject, predicate, and object).
public static <C extends Collection<Statement>> C create(ValueFactory vf, Resource subject, IRI predicate, Value object, C collection, Resource... contexts)
Statementobjects with the given subject, predicate and object, one for each given context. If no context is supplied, only a single statement (without any assigned context) is created.
ValueFactoryto use for creating statements.
subject- the subject of each statement. May not be null.
predicate- the predicate of each statement. May not be null.
object- the object of each statement. May not be null.
collection- the collection of Statements to which the newly created Statements will be added. May not be null.
contexts- the context(s) for which to produce statements. This argument is an optional vararg: leave it out completely to produce a single statement without context.
st1- the first statement to compare. May not be null.
st2- the second statement to compare. May not be null.
trueiff the subject, predicate and object of
Copyright © 2015-2016 Eclipse Foundation. All Rights Reserved.