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