XPRMProblemComps
- java.lang.Object
-
- com.dashoptimization.XPRMProblemComps
-
- All Implemented Interfaces:
- java.util.Iterator
public class XPRMProblemComps extends java.lang.Object implements java.util.IteratorIterator to enumerate all components of a problem type.
-
-
Method Summary
Modifier and Type Method and Description booleanhasNext()Check whether all components have been enumerated.java.lang.Objectnext()Next components.voidremove()Not supported.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Check whether all components have been enumerated.- Specified by:
-
hasNextin interfacejava.util.Iterator - Returns:
-
trueif not all components have been enumerated
-
next
public java.lang.Object next()
Next components.- Specified by:
-
nextin 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:
-
removein interfacejava.util.Iterator - Throws:
-
java.lang.UnsupportedOperationException- always thrown
-
-
