postRemoveHook(); return true;
@Override void removeAt(int index) { incrementModCount(); super.removeAt(index); postRemoveHook(); }
@Override public Double computeIfPresent(K key, BiFunction<? super K, ? super Double, ? extends Double> remappingFunction) { if (remappingFunction == null) throw new java.lang.NullPointerException(); int index = index(key); if (index >= 0) { // key is present long[] vals = values; Double newValue = remappingFunction.apply(key, Double.longBitsToDouble(vals[index])); if (newValue != null) { vals[index] = Double.doubleToLongBits(newValue); return newValue; } else { incrementModCount(); set[index] = REMOVED; postRemoveHook(); return null; } } else { // key is absent return null; } }
@Override void removeAt(int index) { incrementModCount(); super.removeAt(index); postRemoveHook(); }
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return val;
postRemoveHook(); return true;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return val;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return true; } else {
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return true; } else {
public Double computeIfPresent(K key, BiFunction<? super K, ? super Double, ? extends Double> remappingFunction) { if (remappingFunction == null) throw new java.lang.NullPointerException(); int index = index(key); if (index >= 0) { // key is present long[] vals = values; Double newValue = remappingFunction.apply(key, Double.longBitsToDouble(vals[index])); if (newValue != null) { vals[index] = Double.doubleToLongBits(newValue); return newValue; } else { incrementModCount(); set[index] = REMOVED; postRemoveHook(); return null; } } else { // key is absent return null; } }
mc++; keys[i] = REMOVED; postRemoveHook(); changed = true; mc++; keys[i] = REMOVED; postRemoveHook(); changed = true;
mc++; keys[i] = REMOVED; postRemoveHook(); changed = true; mc++; keys[i] = REMOVED; postRemoveHook(); changed = true;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return null;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return val;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return val;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return null;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return null;
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return val; } else {
incrementModCount(); ((Object[]) keys)[index] = REMOVED; postRemoveHook(); return true; } else {
postRemoveHook(); return true; } else {