@Test public void is_empty() { ParameterTable empty = new BasicParameterTable.BasicBuilder() .build(); ParameterTable table = new BasicParameterTable.BasicBuilder() .next().put("a", "A") .build(); assertThat(empty.isEmpty(), is(true)); assertThat(table.isEmpty(), is(false)); }
@Override public boolean isEmpty() { return entity.isEmpty(); }
BasicParameterTable implements ParameterTable { @Override public boolean isEmpty() { return entity.isEmpty(); } }
BasicParameterTable implements ParameterTable { @Override public boolean isEmpty() { return entity.isEmpty(); } BasicParameterTable(List<? extends Map<String, String>> entity); }
BasicParameterTable implements ParameterTable { @Override public boolean isEmpty() { return entity.isEmpty(); } BasicParameterTable(List<? extends Map<String, String>> entity); @Override Iterator<ParameterSet> iterator(); @Override boolean isEmpty(); @Override int getRowCount(); @Override Cursor newCursor(); @Override Set<String> getAvailable(); @Override Set<String> getPartial(); @Override List<ParameterSet> getRows(); }
BasicParameterTable implements ParameterTable { @Override public boolean isEmpty() { return entity.isEmpty(); } BasicParameterTable(List<? extends Map<String, String>> entity); @Override Iterator<ParameterSet> iterator(); @Override boolean isEmpty(); @Override int getRowCount(); @Override Cursor newCursor(); @Override Set<String> getAvailable(); @Override Set<String> getPartial(); @Override List<ParameterSet> getRows();  }