@Test public void get() { final Map<String, String> map = sampleMap(); assertEquals("1234", map.get("my.prop")); assertNull(map.get("my.null.value")); assertNull(map.get("my.null")); }
@Override public String get(final Object key) { final ConfigValue configValue = delegate.get(key); return configValue != null ? configValue.getValue() : null; }
ConfigValueMapView extends AbstractMap<String, String> { @Override public String get(final Object key) { final ConfigValue configValue = delegate.get(key); return configValue != null ? configValue.getValue() : null; } }
ConfigValueMapView extends AbstractMap<String, String> { @Override public String get(final Object key) { final ConfigValue configValue = delegate.get(key); return configValue != null ? configValue.getValue() : null; } ConfigValueMapView(final Map<String, ConfigValue> delegate); }
ConfigValueMapView extends AbstractMap<String, String> { @Override public String get(final Object key) { final ConfigValue configValue = delegate.get(key); return configValue != null ? configValue.getValue() : null; } ConfigValueMapView(final Map<String, ConfigValue> delegate); @Override int size(); @Override boolean isEmpty(); @Override boolean containsKey(final Object key); @Override boolean containsValue(final Object value); @Override String get(final Object key); @Override Set<String> keySet(); @Override Set<Map.Entry<String, String>> entrySet(); @Override Collection<String> values(); }
ConfigValueMapView extends AbstractMap<String, String> { @Override public String get(final Object key) { final ConfigValue configValue = delegate.get(key); return configValue != null ? configValue.getValue() : null; } ConfigValueMapView(final Map<String, ConfigValue> delegate); @Override int size(); @Override boolean isEmpty(); @Override boolean containsKey(final Object key); @Override boolean containsValue(final Object value); @Override String get(final Object key); @Override Set<String> keySet(); @Override Set<Map.Entry<String, String>> entrySet(); @Override Collection<String> values();  }