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 TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends E> c) void
clear()
boolean
containsAll
(Collection<?> c) (package private) <T> T[]
copyTo
(T[] dest) (package private) abstract E
elementAtArrayIndex
(int i) boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceSet<E>
-
isEmpty
public boolean isEmpty() -
add
-
remove
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear()
-