@Test public void clear() { mProperties.put(mKeyWithValue, "ignored1", Source.RUNTIME); mProperties.put(mKeyWithoutValue, "ignored2", Source.RUNTIME); mProperties.clear(); assertEquals(null, mProperties.get(mKeyWithoutValue)); assertEquals("value", mProperties.get(mKeyWithValue)); }
public void clear() { mUserProps.clear(); mSources.clear(); }
AlluxioProperties { public void clear() { mUserProps.clear(); mSources.clear(); } }
AlluxioProperties { public void clear() { mUserProps.clear(); mSources.clear(); } AlluxioProperties();  AlluxioProperties(AlluxioProperties alluxioProperties); }
AlluxioProperties { public void clear() { mUserProps.clear(); mSources.clear(); } 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 clear() { mUserProps.clear(); mSources.clear(); } 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();  }