com.vaadin.flow.internal.nodefeature.
Class NodeList.SetView<T extends Serializable>
- java.lang.Object
 - 
- java.util.AbstractCollection<E>
 - 
- 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 SerializableProvides access to a
NodeListas aSet.See Also:
 
- 
- 
Constructor Summary
Constructors Constructor and Description SetView(NodeList<T> nodeList)Creates a new view for the given list.
 
- 
Method Summary
All Methods Modifier and Type Method and Description booleanadd(T o)voidclear()booleancontains(Object o)Iterator<T>iterator()booleanremove(Object o)intsize()protected abstract voidvalidate(T o)- 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll 
- 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface java.util.Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray 
- 
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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
public boolean add(T o)Specified by:
addin interfaceCollection<T extends Serializable>Specified by:
addin interfaceSet<T extends Serializable>Overrides:
addin classAbstractCollection<T extends Serializable> 
- 
remove
public boolean remove(Object o)Specified by:
removein interfaceCollection<T extends Serializable>Specified by:
removein interfaceSet<T extends Serializable>Overrides:
removein classAbstractCollection<T extends Serializable> 
- 
validate
protected abstract void validate(T o) 
- 
contains
public boolean contains(Object o)Specified by:
containsin interfaceCollection<T extends Serializable>Specified by:
containsin interfaceSet<T extends Serializable>Overrides:
containsin classAbstractCollection<T extends Serializable> 
- 
iterator
public Iterator<T> iterator()Specified by:
iteratorin interfaceIterable<T extends Serializable>Specified by:
iteratorin interfaceCollection<T extends Serializable>Specified by:
iteratorin interfaceSet<T extends Serializable>Specified by:
iteratorin classAbstractCollection<T extends Serializable> 
 - 
 
 -