@Test public void testIsEmpty$noIndividuals() throws Exception { assertThat(sut.isEmpty(),equalTo(true)); }
@Override public boolean isEmpty() { for(Individual<?,?> individual:this) { for(Property property:individual) { if(property.hasValues()) { return false; } } } return true; }
MutableDataSet implements DataSet { @Override public boolean isEmpty() { for(Individual<?,?> individual:this) { for(Property property:individual) { if(property.hasValues()) { return false; } } } return true; } }
MutableDataSet implements DataSet { @Override public boolean isEmpty() { for(Individual<?,?> individual:this) { for(Property property:individual) { if(property.hasValues()) { return false; } } } return true; } MutableDataSet(Name<?> name); }
MutableDataSet implements DataSet { @Override public boolean isEmpty() { for(Individual<?,?> individual:this) { for(Property property:individual) { if(property.hasValues()) { return false; } } } return true; } MutableDataSet(Name<?> name); @Override Name<?> name(); @Override int numberOfIndividuals(); @Override boolean hasIndividuals(); @Override Collection<Individual<?, ?>> individuals(); @Override Set<Serializable> individualIds(); @Override boolean hasIndividual(Object id); @SuppressWarnings("unchecked") @Override S individualOfId(T id); @Override S individual(T id, Class<? extends S> clazz); @Override Iterator<Individual<?, ?>> iterator(); @Override boolean isEmpty(); @Override void remove(final Individual<?, ?> src); @Override String toString(); }
MutableDataSet implements DataSet { @Override public boolean isEmpty() { for(Individual<?,?> individual:this) { for(Property property:individual) { if(property.hasValues()) { return false; } } } return true; } MutableDataSet(Name<?> name); @Override Name<?> name(); @Override int numberOfIndividuals(); @Override boolean hasIndividuals(); @Override Collection<Individual<?, ?>> individuals(); @Override Set<Serializable> individualIds(); @Override boolean hasIndividual(Object id); @SuppressWarnings("unchecked") @Override S individualOfId(T id); @Override S individual(T id, Class<? extends S> clazz); @Override Iterator<Individual<?, ?>> iterator(); @Override boolean isEmpty(); @Override void remove(final Individual<?, ?> src); @Override String toString();  }