com.vaadin.flow.internal.nodefeature.
Class NodeList.SetView<T extends Serializable>
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>
Provides access to a NodeList
as a Set
.
See Also:
-
Constructor Summary
Constructors -
Method Summary
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.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
size
in interfaceCollection<T extends Serializable>
Specified by:
size
in interfaceSet<T extends Serializable>
Specified by:
size
in classAbstractCollection<T extends Serializable>
-
clear
public void clear()Specified by:
clear
in interfaceCollection<T extends Serializable>
Specified by:
clear
in interfaceSet<T extends Serializable>
Overrides:
clear
in classAbstractCollection<T extends Serializable>
-
add
Specified by:
add
in interfaceCollection<T extends Serializable>
Specified by:
add
in interfaceSet<T extends Serializable>
Overrides:
add
in classAbstractCollection<T extends Serializable>
-
remove
Specified by:
remove
in interfaceCollection<T extends Serializable>
Specified by:
remove
in interfaceSet<T extends Serializable>
Overrides:
remove
in classAbstractCollection<T extends Serializable>
-
validate
-
contains
Specified by:
contains
in interfaceCollection<T extends Serializable>
Specified by:
contains
in interfaceSet<T extends Serializable>
Overrides:
contains
in classAbstractCollection<T extends Serializable>
-
iterator
Specified by:
iterator
in interfaceCollection<T extends Serializable>
Specified by:
iterator
in interfaceIterable<T extends Serializable>
Specified by:
iterator
in interfaceSet<T extends Serializable>
Specified by:
iterator
in classAbstractCollection<T extends Serializable>
-