equal
deleted
inserted
replaced
4582 * @since 1.8 |
4582 * @since 1.8 |
4583 */ |
4583 */ |
4584 public static class KeySetView<K,V> extends CollectionView<K,V,K> |
4584 public static class KeySetView<K,V> extends CollectionView<K,V,K> |
4585 implements Set<K>, java.io.Serializable { |
4585 implements Set<K>, java.io.Serializable { |
4586 private static final long serialVersionUID = 7249069246763182397L; |
4586 private static final long serialVersionUID = 7249069246763182397L; |
|
4587 @SuppressWarnings("serial") // Conditionally serializable |
4587 private final V value; |
4588 private final V value; |
4588 KeySetView(ConcurrentHashMap<K,V> map, V value) { // non-public |
4589 KeySetView(ConcurrentHashMap<K,V> map, V value) { // non-public |
4589 super(map); |
4590 super(map); |
4590 this.value = value; |
4591 this.value = value; |
4591 } |
4592 } |