Package org.eclipse.rdf4j.model.impl
Class AbstractModel.ValueSet<V extends Value>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<V>
-
- org.eclipse.rdf4j.model.impl.AbstractModel.ValueSet<V>
-
- All Implemented Interfaces:
java.lang.Iterable<V>,java.util.Collection<V>,java.util.Set<V>
- Enclosing class:
- AbstractModel
private abstract class AbstractModel.ValueSet<V extends Value> extends java.util.AbstractSet<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classAbstractModel.ValueSet.ValueSetIterator
-
Constructor Summary
Constructors Modifier Constructor Description privateValueSet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanadd(V term)booleanaddAll(java.util.Collection<? extends V> c)voidclear()private voidcloseIterator(java.util.Collection<?> c, java.util.Iterator<?> e)protected voidcloseIterator(java.util.Iterator<?> iter)booleancontainsAll(java.util.Collection<?> c)booleanisEmpty()java.util.Iterator<V>iterator()booleanremoveAll(java.util.Collection<?> c)protected abstract voidremoveIteration(java.util.Iterator<Statement> iter, V term)booleanretainAll(java.util.Collection<?> c)intsize()protected abstract Vterm(Statement st)java.lang.Object[]toArray()<T> T[]toArray(T[] a)
-
-
-
Method Detail
-
iterator
public java.util.Iterator<V> iterator()
-
clear
public void clear()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
addAll
public boolean addAll(java.util.Collection<? extends V> c)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
add
public abstract boolean add(V term)
-
removeIteration
protected abstract void removeIteration(java.util.Iterator<Statement> iter, V term)
-
closeIterator
protected void closeIterator(java.util.Iterator<?> iter)
-
closeIterator
private void closeIterator(java.util.Collection<?> c, java.util.Iterator<?> e)
-
-