Package org.tweetyproject.arg.adf.util
Class UnionCollectionView<E>
java.lang.Object
java.util.AbstractCollection<E>
org.tweetyproject.arg.adf.util.AbstractUnmodifiableCollection<E>
org.tweetyproject.arg.adf.util.UnionCollectionView<E>
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
- Author:
- Mathias Hofer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isEmpty()
iterator()
static <E,
T extends E>
Collection<E>of
(Collection<? extends E> c, T elem) int
size()
Methods inherited from class org.tweetyproject.arg.adf.util.AbstractUnmodifiableCollection
add, addAll, clear, remove, removeAll, removeIf, retainAll
Methods inherited from class java.util.AbstractCollection
containsAll, 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
-
UnionCollectionView
-
-
Method Details
-
of
-
iterator
- Specified by:
iterator
in interfaceCollection<E>
- Specified by:
iterator
in interfaceIterable<E>
- Specified by:
iterator
in classAbstractCollection<E>
-
size
public int size()- Specified by:
size
in interfaceCollection<E>
- Specified by:
size
in classAbstractCollection<E>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<E>
- Overrides:
isEmpty
in classAbstractCollection<E>
-
contains
- Specified by:
contains
in interfaceCollection<E>
- Overrides:
contains
in classAbstractCollection<E>
-