# | Line 2327 | Line 2327 | public class ConcurrentHashMapV8<K, V> | |
---|---|---|
2327 | } | |
2328 | ||
2329 | public final void remove() { | |
2330 | < | if (nextVal == null) |
2330 | > | if (nextVal == null && last == null) |
2331 | advance(); | |
2332 | Node e = last; | |
2333 | if (e == null) | |
# | Line 4374 | Line 4374 | public class ConcurrentHashMapV8<K, V> | |
4374 | return new ReduceKeysTask<K,V> | |
4375 | (map, reducer); | |
4376 | } | |
4377 | + | |
4378 | /** | |
4379 | * Returns a task that when invoked, returns the result of | |
4380 | * accumulating the given transformation of all keys using the given |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |