Class SetView<E>
java.lang.Object
com.networknt.schema.utils.SetView<E>
- Type Parameters:
E- the type contains in the set
- All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends E> coll) voidclear()booleanbooleancontainsAll(Collection<?> c) booleaninthashCode()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> coll) booleanretainAll(Collection<?> coll) intsize()Object[]toArray()<T> T[]toArray(T[] a) toString()Adds a set to the view.Methods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
spliterator
-
Field Details
-
sets
-
-
Constructor Details
-
SetView
public SetView()
-
-
Method Details
-
union
-
size
-
isEmpty
-
contains
-
iterator
-
toArray
-
toArray
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceSet<E>
-
add
-
remove
-
addAll
-
removeAll
-
retainAll
-
clear
-
hashCode
-
equals
-
toString
-