@Test public void get_available() { Map<String, String> map = new LinkedHashMap<>(); map.put("a", "A"); map.put("b", "B"); map.put("c", "C"); BasicParameterSet params = new BasicParameterSet(map); assertThat(params.getAvailable(), containsInAnyOrder("a", "b", "c")); }
@Override public Set<String> getAvailable() { return toMap().keySet(); }
BasicParameterSet implements ParameterSet { @Override public Set<String> getAvailable() { return toMap().keySet(); } }
BasicParameterSet implements ParameterSet { @Override public Set<String> getAvailable() { return toMap().keySet(); } BasicParameterSet(Map<String, String> entity); }
BasicParameterSet implements ParameterSet { @Override public Set<String> getAvailable() { return toMap().keySet(); } BasicParameterSet(Map<String, String> entity); @Override boolean isAvailable(String name); @Override String get(String name); @Override Set<String> getAvailable(); @Override Map<String, String> toMap(); @Override String toString(); }
BasicParameterSet implements ParameterSet { @Override public Set<String> getAvailable() { return toMap().keySet(); } BasicParameterSet(Map<String, String> entity); @Override boolean isAvailable(String name); @Override String get(String name); @Override Set<String> getAvailable(); @Override Map<String, String> toMap(); @Override String toString();  }