@Test public void getWithDefaultShouldReturnDefaultWhenNotInMap(){ assertEquals("c", toTest.get("b", "c")); }
public <T> T get(String key) { return (T) config.get(key); }
DefaultCRestConfig implements CRestConfig { public <T> T get(String key) { return (T) config.get(key); } }
DefaultCRestConfig implements CRestConfig { public <T> T get(String key) { return (T) config.get(key); } DefaultCRestConfig(Map<String, Object> m); }
DefaultCRestConfig implements CRestConfig { public <T> T get(String key) { return (T) config.get(key); } DefaultCRestConfig(Map<String, Object> m); CRestConfig merge(Map<String, Object> m); T get(String key); T get(String propName, T defaultIfNotFound); T get(Class<?> key); T get(Class<?> key, T defaultIfNotFound); int getMaxAttempts(); String getDateFormat(); String getBooleanTrue(); String getBooleanFalse(); int getConcurrencyLevel(); }
DefaultCRestConfig implements CRestConfig { public <T> T get(String key) { return (T) config.get(key); } DefaultCRestConfig(Map<String, Object> m); CRestConfig merge(Map<String, Object> m); T get(String key); T get(String propName, T defaultIfNotFound); T get(Class<?> key); T get(Class<?> key, T defaultIfNotFound); int getMaxAttempts(); String getDateFormat(); String getBooleanTrue(); String getBooleanFalse(); int getConcurrencyLevel();  }