|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.core.ValueEnumeration
JaCoP.set.core.SetDomainValueEnumeration
public class SetDomainValueEnumeration
Defines a methods for enumerating values contained in the SetDomain.
| Constructor Summary | |
|---|---|
SetDomainValueEnumeration(SetDomain dom)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetDomainValueEnumeration(SetDomain dom)
dom - It specifies the SetDomain for which enumeration of sets is performed.| Method Detail |
|---|
public boolean hasMoreElements()
ValueEnumeration
hasMoreElements in class ValueEnumerationpublic int nextElement()
nextElement in class ValueEnumerationpublic IntDomain nextSetElement()
public void domainHasChanged()
ValueEnumeration
domainHasChanged in class ValueEnumeration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||