org.w3c.rdf.model
Interface SetModel
- public abstract interface SetModel
- extends Model
An RDF model that natively supports set operations `union', `difference' and `intersection'.
- See Also:
SetOperations
Methods inherited from interface org.w3c.rdf.model.Model |
add,
contains,
create,
createLiteral,
createResource,
createStatement,
duplicate,
elements,
find,
getSourceURI,
remove,
setSourceURI,
size |
unite
public SetModel unite(Model m)
- Set union with another model.
- Returns:
this
, i.e. the model itself
subtract
public SetModel subtract(Model m)
- Set difference with another model.
- Returns:
this
, i.e. the model itself
intersect
public SetModel intersect(Model m)
- Set intersection with another model.
- Returns:
this
, i.e. the model itself