Package io.opentelemetry.api.internal
Class ReadOnlyArrayMap.SetView<E>
java.lang.Object
io.opentelemetry.api.internal.ReadOnlyArrayMap.SetView<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Set<E>
- Direct Known Subclasses:
ReadOnlyArrayMap.EntrySetView,ReadOnlyArrayMap.KeySetView,ReadOnlyArrayMap.ValuesView
- Enclosing class:
ReadOnlyArrayMap<K,V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends E> c) voidclear()booleancontainsAll(Collection<?> c) (package private) <T> T[]copyTo(T[] dest) (package private) abstract EelementAtArrayIndex(int i) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
contains, equals, hashCode, spliterator
-
Constructor Details
-
SetView
SetView()
-
-
Method Details
-
size
public int size() -
elementAtArrayIndex
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
copyTo
<T> T[] copyTo(T[] dest) -
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceSet<E>
-
isEmpty
public boolean isEmpty() -
add
-
remove
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear()
-