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