Package net.sf.tweety.arg.adf.util
Class AbstractUnmodifiableSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- net.sf.tweety.arg.adf.util.AbstractUnmodifiableSet<E>
-
- Type Parameters:
E- the elements
- All Implemented Interfaces:
java.lang.Iterable<E>,java.util.Collection<E>,java.util.Set<E>
- Direct Known Subclasses:
MinusSetView,UnionSetView
public abstract class AbstractUnmodifiableSet<E> extends java.util.AbstractSet<E>- Author:
- Mathias Hofer
-
-
Constructor Summary
Constructors Constructor Description AbstractUnmodifiableSet()
-
Method Summary
Modifier and Type Method Description booleanadd(E e)booleanaddAll(java.util.Collection<? extends E> c)voidclear()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanremoveIf(java.util.function.Predicate<? super E> filter)booleanretainAll(java.util.Collection<?> c)
-
-
-
Method Detail
-
removeIf
public boolean removeIf(java.util.function.Predicate<? super E> filter)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
add
public boolean add(E e)
-
remove
public boolean remove(java.lang.Object o)
-
addAll
public boolean addAll(java.util.Collection<? extends E> c)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
-