@Test void testAsSet() { testSubject.add(associationValue); int t = 0; for (AssociationValue actual : testSubject.asSet()) { assertSame(associationValue, actual); t++; } assertEquals(1, t); }
@Override public Set<AssociationValue> asSet() { return Collections.unmodifiableSet(values); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public Set<AssociationValue> asSet() { return Collections.unmodifiableSet(values); } }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public Set<AssociationValue> asSet() { return Collections.unmodifiableSet(values); } AssociationValuesImpl();  AssociationValuesImpl(Set<AssociationValue> initialValues); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public Set<AssociationValue> asSet() { return Collections.unmodifiableSet(values); } AssociationValuesImpl();  AssociationValuesImpl(Set<AssociationValue> initialValues); @Override int size(); @Override boolean contains(AssociationValue associationValue); @Override Iterator<AssociationValue> iterator(); @Override boolean add(AssociationValue associationValue); @Override boolean remove(AssociationValue associationValue); @Override Set<AssociationValue> asSet(); @Override Set<AssociationValue> removedAssociations(); @Override Set<AssociationValue> addedAssociations(); @Override void commit(); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public Set<AssociationValue> asSet() { return Collections.unmodifiableSet(values); } AssociationValuesImpl();  AssociationValuesImpl(Set<AssociationValue> initialValues); @Override int size(); @Override boolean contains(AssociationValue associationValue); @Override Iterator<AssociationValue> iterator(); @Override boolean add(AssociationValue associationValue); @Override boolean remove(AssociationValue associationValue); @Override Set<AssociationValue> asSet(); @Override Set<AssociationValue> removedAssociations(); @Override Set<AssociationValue> addedAssociations(); @Override void commit();  }