Package org.eclipse.rdf4j.model.impl
Class AbstractModel.ValueSet<V extends Value>
java.lang.Object
java.util.AbstractCollection<V>
java.util.AbstractSet<V>
org.eclipse.rdf4j.model.impl.AbstractModel.ValueSet<V>
- All Implemented Interfaces:
Iterable<V>,Collection<V>,Set<V>
- Enclosing class:
AbstractModel
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanbooleanaddAll(Collection<? extends V> c) voidclear()private voidcloseIterator(Collection<?> c, Iterator<?> e) protected voidcloseIterator(Iterator<?> iter) booleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanremoveAll(Collection<?> c) protected abstract voidremoveIteration(Iterator<Statement> iter, V term) booleanretainAll(Collection<?> c) intsize()protected abstract VObject[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.util.AbstractCollection
contains, remove, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
contains, remove, spliterator
-
Constructor Details
-
ValueSet
private ValueSet()
-
-
Method Details
-
iterator
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
size
public int size() -
removeAll
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
containsAll
- Specified by:
containsAllin interfaceCollection<V extends Value>- Specified by:
containsAllin interfaceSet<V extends Value>- Overrides:
containsAllin classAbstractCollection<V extends Value>
-
addAll
-
retainAll
-
add
-
term
-
removeIteration
-
closeIterator
-
closeIterator
-