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 boolean
add(E e)
boolean
addAll(java.util.Collection<? extends E> c)
void
clear()
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> c)
boolean
removeIf(java.util.function.Predicate<? super E> filter)
boolean
retainAll(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)
-
-