public class SuperSet<E> extends SuperCollection<E> implements Set<E>
SuperCollection.AdditionMode, SuperCollection.ResultMode
Constructor and Description |
---|
SuperSet() |
SuperSet(List<Set<E>> parents) |
Modifier and Type | Method and Description |
---|---|
Set<E> |
asClone()
Returns a new collection with the same contents as the parents.
|
protected Class<? extends Collection> |
getCollectionClass()
Returns the class this SuperCollection implements.
|
List<Set<E>> |
getParents()
Returns the list of parents.
|
add, addAll, clear, contains, containsAll, equals, getAdditionMode, getResultMode, hashCode, isEmpty, iterator, remove, removeAll, resultBoolean, retainAll, setAdditionMode, setResultMode, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public List<Set<E>> getParents()
SuperCollection
getParents
in class SuperCollection<E>
public Set<E> asClone()
SuperCollection
asClone
in class SuperCollection<E>
protected Class<? extends Collection> getCollectionClass()
SuperCollection
getCollectionClass
in class SuperCollection<E>
Copyright © 2021. All rights reserved.