XPRMConstants
- java.lang.Object
-
- com.dashoptimization.XPRMConstants
-
- All Implemented Interfaces:
- java.util.Iterator
public class XPRMConstants extends java.lang.Object implements java.util.Iterator
Iterator to enumerate constants of a module.
-
-
Method Summary
Modifier and Type Method and Description boolean
hasNext()
Check whether all constants have been enumerated.java.lang.Object
next()
Next constant.void
remove()
Not supported.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Check whether all constants have been enumerated.- Specified by:
-
hasNext
in interfacejava.util.Iterator
- Returns:
-
true
if not all constants have been enumerated
-
next
public java.lang.Object next()
Next constant.- Specified by:
-
next
in interfacejava.util.Iterator
- Returns:
-
The next constant as a
XPRMConstant
- Throws:
-
java.util.NoSuchElementException
- If all constants have already been returned.
-
remove
public void remove()
Not supported.- Specified by:
-
remove
in interfacejava.util.Iterator
- Throws:
-
java.lang.UnsupportedOperationException
- always thrown
-
-