public class EmptyModel extends AbstractModel
| Constructor and Description |
|---|
EmptyModel(Model model) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
contains(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Model |
filter(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Optional<Namespace> |
getNamespace(String prefix) |
Set<Namespace> |
getNamespaces() |
Iterator<Statement> |
iterator() |
boolean |
remove(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Optional<Namespace> |
removeNamespace(String prefix) |
void |
removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called by aggregate sets when a term has been removed from a term iterator.
|
void |
setNamespace(Namespace namespace) |
Namespace |
setNamespace(String prefix,
String name) |
int |
size() |
add, addAll, clear, clear, closeIterator, contains, containsAll, contexts, isEmpty, objects, predicates, remove, removeAll, retainAll, subjects, toArray, toArray, unmodifiableequals, hashCodetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, contains, filter, getStatements, removeequals, hashCode, spliteratorparallelStream, removeIf, streampublic EmptyModel(Model model)
public void setNamespace(Namespace namespace)
public int size()
size in interface Collection<Statement>size in interface Set<Statement>size in class AbstractCollection<Statement>public void removeTermIteration(Iterator<Statement> iter, Resource subj, IRI pred, Value obj, Resource... contexts)
AbstractModelremoveTermIteration in class AbstractModeliter - The iterator used to navigate the live set (never null)subj - the subject term to be removed or nullpred - the predicate term to be removed or nullobj - the object term to be removed or nullcontexts - an array of one context term to be removed or an empty arrayCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.