@Test void testIterator() { testSubject.add(associationValue); Iterator<AssociationValue> iterator = testSubject.iterator(); assertSame(associationValue, iterator.next()); assertFalse(iterator.hasNext()); }
@Override public Iterator<AssociationValue> iterator() { return Collections.unmodifiableSet(values).iterator(); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public Iterator<AssociationValue> iterator() { return Collections.unmodifiableSet(values).iterator(); } }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public Iterator<AssociationValue> iterator() { return Collections.unmodifiableSet(values).iterator(); } AssociationValuesImpl();  AssociationValuesImpl(Set<AssociationValue> initialValues); }
AssociationValuesImpl implements AssociationValues, Serializable { @Override public Iterator<AssociationValue> iterator() { return Collections.unmodifiableSet(values).iterator(); } 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 Iterator<AssociationValue> iterator() { return Collections.unmodifiableSet(values).iterator(); } 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();  }