Package org.tweetyproject.arg.adf.util
Class AbstractUnmodifiableCollection<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- org.tweetyproject.arg.adf.util.AbstractUnmodifiableCollection<E>
-
- Type Parameters:
E- the elements
- All Implemented Interfaces:
java.lang.Iterable<E>,java.util.Collection<E>
- Direct Known Subclasses:
MinusSetView,UnionCollectionView,UnionSetView
public abstract class AbstractUnmodifiableCollection<E> extends java.util.AbstractCollection<E>- Author:
- Mathias Hofer
-
-
Constructor Summary
Constructors Constructor Description AbstractUnmodifiableCollection()
-
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)-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, iterator, size, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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)
-
-