Package io.opentelemetry.api.internal
Class ReadOnlyArrayMap.SetView<E>
- java.lang.Object
-
- io.opentelemetry.api.internal.ReadOnlyArrayMap.SetView<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Set<E>
- Direct Known Subclasses:
ReadOnlyArrayMap.EntrySetView
,ReadOnlyArrayMap.KeySetView
,ReadOnlyArrayMap.ValuesView
- Enclosing class:
- ReadOnlyArrayMap<K,V>
abstract class ReadOnlyArrayMap.SetView<E> extends java.lang.Object implements java.util.Set<E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
ReadOnlyArrayMap.SetView.ReadOnlyIterator
-
Constructor Summary
Constructors Constructor Description SetView()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
add(E e)
boolean
addAll(java.util.Collection<? extends E> c)
void
clear()
boolean
containsAll(java.util.Collection<?> c)
(package private) <T> T[]
copyTo(T[] dest)
(package private) abstract E
elementAtArrayIndex(int i)
boolean
isEmpty()
java.util.Iterator<E>
iterator()
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> c)
boolean
retainAll(java.util.Collection<?> c)
int
size()
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] a)
-
-
-
Method Detail
-
size
public int size()
-
elementAtArrayIndex
abstract E elementAtArrayIndex(int i)
-
iterator
public java.util.Iterator<E> iterator()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
copyTo
<T> T[] copyTo(T[] dest)
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
isEmpty
public boolean isEmpty()
-
add
public boolean add(E e)
-
remove
public boolean remove(java.lang.Object o)
-
addAll
public boolean addAll(java.util.Collection<? extends E> c)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
-