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