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