@Test public void put() { assertThrows(UnsupportedOperationException.class, () -> sampleMap().put("x", toConfigValue("x", "y"))); }
private ConfigValue toConfigValue(final String name, final String value) { return ConfigValue.builder() .withName(name) .withValue(value) .withConfigSourceName(configSourceName) .withConfigSourceOrdinal(configSourceOrdinal) .build(); }
ConfigValueMapStringView extends AbstractMap<String, ConfigValue> { private ConfigValue toConfigValue(final String name, final String value) { return ConfigValue.builder() .withName(name) .withValue(value) .withConfigSourceName(configSourceName) .withConfigSourceOrdinal(configSourceOrdinal) .build(); } }
ConfigValueMapStringView extends AbstractMap<String, ConfigValue> { private ConfigValue toConfigValue(final String name, final String value) { return ConfigValue.builder() .withName(name) .withValue(value) .withConfigSourceName(configSourceName) .withConfigSourceOrdinal(configSourceOrdinal) .build(); } ConfigValueMapStringView(final Map<String, String> delegate, final String configSourceName,
            final int configSourceOrdinal); }
ConfigValueMapStringView extends AbstractMap<String, ConfigValue> { private ConfigValue toConfigValue(final String name, final String value) { return ConfigValue.builder() .withName(name) .withValue(value) .withConfigSourceName(configSourceName) .withConfigSourceOrdinal(configSourceOrdinal) .build(); } 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> { private ConfigValue toConfigValue(final String name, final String value) { return ConfigValue.builder() .withName(name) .withValue(value) .withConfigSourceName(configSourceName) .withConfigSourceOrdinal(configSourceOrdinal) .build(); } 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();  }