equal
deleted
inserted
replaced
1210 } |
1210 } |
1211 |
1211 |
1212 @Override |
1212 @Override |
1213 public V merge(K key, V value, |
1213 public V merge(K key, V value, |
1214 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { |
1214 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { |
|
1215 if (value == null) |
|
1216 throw new NullPointerException(); |
1215 if (remappingFunction == null) |
1217 if (remappingFunction == null) |
1216 throw new NullPointerException(); |
1218 throw new NullPointerException(); |
1217 int hash = hash(key); |
1219 int hash = hash(key); |
1218 Node<K,V>[] tab; Node<K,V> first; int n, i; |
1220 Node<K,V>[] tab; Node<K,V> first; int n, i; |
1219 int binCount = 0; |
1221 int binCount = 0; |