public class SetDomainValueEnumeration extends ValueEnumeration
| Constructor and Description |
|---|
SetDomainValueEnumeration(SetDomain dom) |
| Modifier and Type | Method and Description |
|---|---|
void |
domainHasChanged()
This function is called to inform enumeration of the change of the domain
it enumerates over.
|
boolean |
hasMoreElements()
It checks if the value enumeration has more elements.
|
int |
nextElement()
The function nextElement has to return a Set.
|
IntDomain |
nextSetElement()
Returns the next element in the SetDomain.
|
public SetDomainValueEnumeration(SetDomain dom)
dom - It specifies the SetDomain for which enumeration of sets is performed.public boolean hasMoreElements()
ValueEnumerationhasMoreElements in class ValueEnumerationpublic int nextElement()
nextElement in class ValueEnumerationpublic IntDomain nextSetElement()
public void domainHasChanged()
ValueEnumerationdomainHasChanged in class ValueEnumerationCopyright © 2022. All rights reserved.