@Test public void remove() { mProperties.remove(mKeyWithValue); assertEquals(mKeyWithValue.getDefaultValue(), mProperties.get(mKeyWithValue)); assertEquals(Source.DEFAULT, mProperties.getSource(mKeyWithValue)); }
public void remove(PropertyKey key) { if (mUserProps.containsKey(key)) { mUserProps.remove(key); mSources.remove(key); mHash.markOutdated(); } }
AlluxioProperties { public void remove(PropertyKey key) { if (mUserProps.containsKey(key)) { mUserProps.remove(key); mSources.remove(key); mHash.markOutdated(); } } }
AlluxioProperties { public void remove(PropertyKey key) { if (mUserProps.containsKey(key)) { mUserProps.remove(key); mSources.remove(key); mHash.markOutdated(); } } AlluxioProperties();  AlluxioProperties(AlluxioProperties alluxioProperties); }
AlluxioProperties { public void remove(PropertyKey key) { if (mUserProps.containsKey(key)) { mUserProps.remove(key); mSources.remove(key); mHash.markOutdated(); } } AlluxioProperties();  AlluxioProperties(AlluxioProperties alluxioProperties); @Nullable String get(PropertyKey key); void clear(); void put(PropertyKey key, String value, Source source); void set(PropertyKey key, String value); void merge(Map<?, ?> properties, Source source); void remove(PropertyKey key); boolean isSet(PropertyKey key); boolean isSetByUser(PropertyKey key); Set<Map.Entry<PropertyKey, String>> entrySet(); Set<PropertyKey> keySet(); Set<PropertyKey> userKeySet(); void forEach(BiConsumer<? super PropertyKey, ? super String> action); AlluxioProperties copy(); @VisibleForTesting void setSource(PropertyKey key, Source source); Source getSource(PropertyKey key); String hash(); }
AlluxioProperties { public void remove(PropertyKey key) { if (mUserProps.containsKey(key)) { mUserProps.remove(key); mSources.remove(key); mHash.markOutdated(); } } AlluxioProperties();  AlluxioProperties(AlluxioProperties alluxioProperties); @Nullable String get(PropertyKey key); void clear(); void put(PropertyKey key, String value, Source source); void set(PropertyKey key, String value); void merge(Map<?, ?> properties, Source source); void remove(PropertyKey key); boolean isSet(PropertyKey key); boolean isSetByUser(PropertyKey key); Set<Map.Entry<PropertyKey, String>> entrySet(); Set<PropertyKey> keySet(); Set<PropertyKey> userKeySet(); void forEach(BiConsumer<? super PropertyKey, ? super String> action); AlluxioProperties copy(); @VisibleForTesting void setSource(PropertyKey key, Source source); Source getSource(PropertyKey key); String hash();  }