private final class CopyOnWriteArrayMap.ArrayValueCollection<K,V> extends Object implements Collection<V>
Modifier and Type | Field and Description |
---|---|
private CopyOnWriteArrayMap.ArrayHolder<K,V> |
holder |
Modifier | Constructor and Description |
---|---|
private |
ArrayValueCollection(CopyOnWriteArrayMap.ArrayHolder<K,V> holder) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(V v) |
boolean |
addAll(Collection<? extends V> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
parallelStream, removeIf, spliterator, stream
private final CopyOnWriteArrayMap.ArrayHolder<K,V> holder
private ArrayValueCollection(CopyOnWriteArrayMap.ArrayHolder<K,V> holder)
public int size()
size
in interface Collection<V>
public boolean isEmpty()
isEmpty
in interface Collection<V>
public boolean contains(Object o)
contains
in interface Collection<V>
public Object[] toArray()
toArray
in interface Collection<V>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<V>
public boolean add(V v)
add
in interface Collection<V>
public boolean remove(Object o)
remove
in interface Collection<V>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<V>
public boolean addAll(Collection<? extends V> c)
addAll
in interface Collection<V>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<V>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<V>
public void clear()
clear
in interface Collection<V>
public boolean equals(Object o)
equals
in interface Collection<V>
equals
in class Object
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.