Initializing help system before first use

XPRMIdentifiers

  • java.lang.Object
    • com.dashoptimization.XPRMIdentifiers
  • All Implemented Interfaces:
    java.util.Iterator


    public class XPRMIdentifiers
    extends java.lang.Object
    implements java.util.Iterator
    Iterator to enumerate identifiers of a model.
    • Method Summary

      Modifier and Type Method and Description
      boolean hasNext()
      Check whether all identifiers have been enumerated.
      java.lang.Object next()
      Next identifier.
      void remove()
      Not supported.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Method Detail

      • hasNext

        public boolean hasNext()
        Check whether all identifiers have been enumerated.
        Specified by:
        hasNext in interface  java.util.Iterator
        Returns:
        true if not all identifiers have been enumerated
      • next

        public java.lang.Object next()
        Next identifier. Depending on the structure of the object associated to the identifier, the value returned can be one of the following classes: XPRMArray, XPRMConstant, XPRMMemBlock, XPRMProcedure, XPRMReference, XPRMSet, XPRMList
        Specified by:
        next in interface  java.util.Iterator
        Returns:
        The next identifier as a XPRMIdentifier
        Throws:
        java.util.NoSuchElementException - If all identifiers have already been returned.
      • remove

        public void remove()
        Not supported.
        Specified by:
        remove in interface  java.util.Iterator
        Throws:
        java.lang.UnsupportedOperationException - always thrown