@Test public void testGetUnknownKey () { Section section = new Section(); assertEquals(null, section.get("test-key")); }
public String get (String key) { return this.getOrDefault(key, null); }
Section { public String get (String key) { return this.getOrDefault(key, null); } }
Section { public String get (String key) { return this.getOrDefault(key, null); } Section(); }
Section { public String get (String key) { return this.getOrDefault(key, null); } Section(); String getOrDefault(String key, String defaultStr); String get(String key); int getIntOrDefault(String key, int defaultValue); }
Section { public String get (String key) { return this.getOrDefault(key, null); } Section(); String getOrDefault(String key, String defaultStr); String get(String key); int getIntOrDefault(String key, int defaultValue);  }