{@inheritDoc} Returns an unmodifiable Set view of the keys contained in this map if it is locked.
()
| 235 | * Returns an <strong>unmodifiable</strong> {@link Set} view of the keys contained in this map if it is locked. |
| 236 | */ |
| 237 | @Override |
| 238 | public Set<K> keySet() { |
| 239 | if (locked) { |
| 240 | return unmodifiableDelegatedMap.keySet(); |
| 241 | } |
| 242 | |
| 243 | return delegatedMap.keySet(); |
| 244 | } |
| 245 | |
| 246 | |
| 247 | /** |
no outgoing calls