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 boolean
boolean
addAll
(Collection<? extends V> c) void
clear()
private void
closeIterator
(Collection<?> c, Iterator<?> e) protected void
closeIterator
(Iterator<?> iter) boolean
containsAll
(Collection<?> c) boolean
isEmpty()
iterator()
boolean
removeAll
(Collection<?> c) protected abstract void
removeIteration
(Iterator<Statement> iter, V term) boolean
retainAll
(Collection<?> c) int
size()
protected abstract V
Object[]
toArray()
<T> T[]
toArray
(T[] a) Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
contains, remove, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
containsAll
in interfaceCollection<V extends Value>
- Specified by:
containsAll
in interfaceSet<V extends Value>
- Overrides:
containsAll
in classAbstractCollection<V extends Value>
-
addAll
-
retainAll
-
add
-
term
-
removeIteration
-
closeIterator
-
closeIterator
-