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()
ValueEnumeration
hasMoreElements
in class ValueEnumeration
public int nextElement()
nextElement
in class ValueEnumeration
public IntDomain nextSetElement()
public void domainHasChanged()
ValueEnumeration
domainHasChanged
in class ValueEnumeration
Copyright © 2022. All rights reserved.