|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.util.concurrent.ConcurrentHashMap.ValuesView<K,V>
public static final class ConcurrentHashMap.ValuesView<K,V>
A view of a ConcurrentHashMap as a Collection of
values, in which additions are disabled. This class cannot be
directly instantiated. See ConcurrentHashMap.values,
The view's iterator is a "weakly consistent" iterator
that will never throw ConcurrentModificationException,
and guarantees to traverse elements as they existed upon
construction of the iterator, and may (but is not guaranteed to)
reflect any modifications subsequent to construction.
| Method Summary | ||
|---|---|---|
boolean |
add(V e)
|
|
boolean |
addAll(Collection<? extends V> c)
|
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
ConcurrentHashMap<K,V> |
getMap()
Returns the map backing this view. |
|
int |
hashCode()
|
|
boolean |
isEmpty()
|
|
Iterator<V> |
iterator()
Returns a "weakly consistent" iterator that will never throw ConcurrentModificationException, and
guarantees to traverse elements as they existed upon
construction of the iterator, and may (but is not
guaranteed to) reflect any modifications subsequent to
construction. |
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
int |
size()
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray |
| Method Detail |
|---|
public final boolean contains(Object o)
contains in interface Collection<V>public final boolean remove(Object o)
remove in interface Collection<V>public final Iterator<V> iterator()
ConcurrentModificationException, and
guarantees to traverse elements as they existed upon
construction of the iterator, and may (but is not
guaranteed to) reflect any modifications subsequent to
construction.
iterator in interface Iterable<V>iterator in interface Collection<V>public final boolean add(V e)
add in interface Collection<V>public final boolean addAll(Collection<? extends V> c)
addAll in interface Collection<V>public ConcurrentHashMap<K,V> getMap()
public final int size()
public final boolean isEmpty()
public final void clear()
public final Object[] toArray()
public final <T> T[] toArray(T[] a)
public final int hashCode()
hashCode in class Objectpublic final String toString()
toString in class Objectpublic final boolean containsAll(Collection<?> c)
public final boolean removeAll(Collection<?> c)
public final boolean retainAll(Collection<?> c)
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||