public class DynamicModel extends AbstractSet<Statement> implements Model
| Constructor and Description |
|---|
DynamicModel(ModelFactory modelFactory) |
toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitspliteratorparallelStream, removeIf, streampublic DynamicModel(ModelFactory modelFactory)
public Model unmodifiable()
unmodifiable in interface Modelpublic Optional<Namespace> getNamespace(String prefix)
getNamespace in interface NamespaceAwarepublic Set<Namespace> getNamespaces()
getNamespaces in interface NamespaceAwarepublic Namespace setNamespace(String prefix, String name)
setNamespace in interface Modelpublic void setNamespace(Namespace namespace)
setNamespace in interface Modelpublic Optional<Namespace> removeNamespace(String prefix)
removeNamespace in interface Modelpublic Set<IRI> predicates()
predicates in interface Modelpublic int size()
size in interface Collection<Statement>size in interface Set<Statement>size in class AbstractCollection<Statement>public boolean isEmpty()
isEmpty in interface Collection<Statement>isEmpty in interface Set<Statement>isEmpty in class AbstractCollection<Statement>public boolean contains(Object o)
contains in interface Collection<Statement>contains in interface Set<Statement>contains in class AbstractCollection<Statement>public Object[] toArray()
toArray in interface Collection<Statement>toArray in interface Set<Statement>toArray in class AbstractCollection<Statement>public <T> T[] toArray(T[] a)
toArray in interface Collection<Statement>toArray in interface Set<Statement>toArray in class AbstractCollection<Statement>public boolean add(Statement statement)
add in interface Collection<Statement>add in interface Set<Statement>add in class AbstractCollection<Statement>public boolean remove(Object o)
remove in interface Collection<Statement>remove in interface Set<Statement>remove in class AbstractCollection<Statement>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Statement>containsAll in interface Set<Statement>containsAll in class AbstractCollection<Statement>public boolean addAll(Collection<? extends Statement> c)
addAll in interface Collection<Statement>addAll in interface Set<Statement>addAll in class AbstractCollection<Statement>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<Statement>retainAll in interface Set<Statement>retainAll in class AbstractCollection<Statement>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<Statement>removeAll in interface Set<Statement>removeAll in class AbstractSet<Statement>public void clear()
clear in interface Collection<Statement>clear in interface Set<Statement>clear in class AbstractCollection<Statement>public Iterable<Statement> getStatements(Resource subject, IRI predicate, Value object, Resource... contexts)
getStatements in interface Modelpublic boolean equals(Object o)
equals in interface Collection<Statement>equals in interface Set<Statement>equals in class AbstractSet<Statement>public int hashCode()
hashCode in interface Collection<Statement>hashCode in interface Set<Statement>hashCode in class AbstractSet<Statement>Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.