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:
Iterable<E>
,Collection<E>
- Direct Known Subclasses:
MinusSetView
,UnionCollectionView
,UnionSetView
- Author:
- Mathias Hofer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends E> c) void
clear()
boolean
boolean
removeAll
(Collection<?> c) boolean
boolean
retainAll
(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
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, spliterator, stream, toArray
-
Constructor Details
-
AbstractUnmodifiableCollection
public AbstractUnmodifiableCollection()
-
-
Method Details
-
removeIf
-
removeAll
- Specified by:
removeAll
in interfaceCollection<E>
- Overrides:
removeAll
in classAbstractCollection<E>
-
add
- Specified by:
add
in interfaceCollection<E>
- Overrides:
add
in classAbstractCollection<E>
-
remove
- Specified by:
remove
in interfaceCollection<E>
- Overrides:
remove
in classAbstractCollection<E>
-
addAll
- Specified by:
addAll
in interfaceCollection<E>
- Overrides:
addAll
in classAbstractCollection<E>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<E>
- Overrides:
retainAll
in classAbstractCollection<E>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<E>
- Overrides:
clear
in classAbstractCollection<E>
-