Class NodeList.SetView<T extends Serializable>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractSet<T>
com.vaadin.flow.internal.nodefeature.NodeList.SetView<T>
- Type Parameters:
T- the type of objects in the list (and set)
- All Implemented Interfaces:
Serializable,Iterable<T>,Collection<T>,Set<T>
- Enclosing class:
NodeList<T extends Serializable>
protected abstract static class NodeList.SetView<T extends Serializable>
extends AbstractSet<T>
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
SetView
Creates a new view for the given list.- Parameters:
nodeList- the list to wrap
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends Serializable>- Specified by:
sizein interfaceSet<T extends Serializable>- Specified by:
sizein classAbstractCollection<T extends Serializable>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T extends Serializable>- Specified by:
clearin interfaceSet<T extends Serializable>- Overrides:
clearin classAbstractCollection<T extends Serializable>
-
add
- Specified by:
addin interfaceCollection<T extends Serializable>- Specified by:
addin interfaceSet<T extends Serializable>- Overrides:
addin classAbstractCollection<T extends Serializable>
-
remove
- Specified by:
removein interfaceCollection<T extends Serializable>- Specified by:
removein interfaceSet<T extends Serializable>- Overrides:
removein classAbstractCollection<T extends Serializable>
-
validate
-
contains
- Specified by:
containsin interfaceCollection<T extends Serializable>- Specified by:
containsin interfaceSet<T extends Serializable>- Overrides:
containsin classAbstractCollection<T extends Serializable>
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends Serializable>- Specified by:
iteratorin interfaceIterable<T extends Serializable>- Specified by:
iteratorin interfaceSet<T extends Serializable>- Specified by:
iteratorin classAbstractCollection<T extends Serializable>
-