4715 |
|
* A view of a ConcurrentHashMapV8 as a {@link Set} of keys, in |
4716 |
|
* which additions may optionally be enabled by mapping to a |
4717 |
|
* common value. This class cannot be directly instantiated. See |
4718 |
< |
* {@link #keySet}, {@link #keySet(Object)}, {@link #newKeySet()}, |
4718 |
> |
* {@link #keySet()}, {@link #keySet(Object)}, {@link #newKeySet()}, |
4719 |
|
* {@link #newKeySet(int)}. |
4720 |
|
*/ |
4721 |
|
public static class KeySetView<K,V> extends CHMView<K,V> |
4784 |
|
/** |
4785 |
|
* A view of a ConcurrentHashMapV8 as a {@link Collection} of |
4786 |
|
* values, in which additions are disabled. This class cannot be |
4787 |
< |
* directly instantiated. See {@link #values}, |
4787 |
> |
* directly instantiated. See {@link #values()}. |
4788 |
|
* |
4789 |
|
* <p>The view's {@code iterator} is a "weakly consistent" iterator |
4790 |
|
* that will never throw {@link ConcurrentModificationException}, |
4834 |
|
/** |
4835 |
|
* A view of a ConcurrentHashMapV8 as a {@link Set} of (key, value) |
4836 |
|
* entries. This class cannot be directly instantiated. See |
4837 |
< |
* {@link #entrySet}. |
4837 |
> |
* {@link #entrySet()}. |
4838 |
|
*/ |
4839 |
|
public static final class EntrySetView<K,V> extends CHMView<K,V> |
4840 |
|
implements Set<Map.Entry<K,V>> { |