@Override void removeAt(int index) { incrementModCount(); super.removeAt(index); table[index + 1] = null; postRemoveHook(); }
@Override void removeAt(int index) { incrementModCount(); super.removeAt(index); table[index + 1] = null; postRemoveHook(); }
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;
@Override public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { if (remappingFunction == null) throw new java.lang.NullPointerException(); int index = index(key); if (index >= 0) { // key is present Object[] tab = table; V val; if ((val = (V) tab[index + 1]) != null) { V newValue = remappingFunction.apply(key, val); if (newValue != null) { tab[index + 1] = newValue; return newValue; } else { incrementModCount(); table[index] = REMOVED; tab[index + 1] = null; postRemoveHook(); return null; } } else { return null; } } else { // key is absent return null; } }
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
@Override public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { if (remappingFunction == null) throw new java.lang.NullPointerException(); int index = index(key); if (index >= 0) { // key is present Object[] tab = table; V val; if ((val = (V) tab[index + 1]) != null) { V newValue = remappingFunction.apply(key, val); if (newValue != null) { tab[index + 1] = newValue; return newValue; } else { incrementModCount(); table[index] = REMOVED; tab[index + 1] = null; postRemoveHook(); return null; } } else { return null; } } else { // key is absent return null; } }
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
incrementModCount(); mc++; tab[i] = REMOVED; incrementModCount(); mc++; tab[i] = REMOVED;
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;
incrementModCount(); tab[index] = REMOVED; tab[index + 1] = null;