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