()
| 318 | } |
| 319 | |
| 320 | private Map<K, Long> createAsMap() { |
| 321 | return Collections.unmodifiableMap(Maps.transformValues( |
| 322 | map, |
| 323 | new Function<AtomicLong, Long>() { |
| 324 | @Override |
| 325 | public Long apply(AtomicLong atomic) { |
| 326 | return atomic.get(); |
| 327 | } |
| 328 | })); |
| 329 | } |
| 330 | |
| 331 | /** |
| 332 | * Returns true if this map contains a mapping for the specified key. |
no test coverage detected