Initializing help system before first use

XPRMListElements

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


    public class XPRMListElements
    extends java.lang.Object
    implements java.util.Iterator
    Iterator to enumerate elements of a list.
    • Method Summary

      Modifier and Type Method and Description
      boolean hasNext()
      Check whether all elements have been enumerated.
      java.lang.Object next()
      Next element.
      boolean nextAsBoolean()
      Next element of a list of Booleans.
      int nextAsInteger()
      Next element of a list of integers.
      double nextAsReal()
      Next element of a list of reals.
      java.lang.String nextAsString()
      Next element of a list of strings.
      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 elements have been enumerated.
        Specified by:
        hasNext in interface  java.util.Iterator
        Returns:
        true if not all elements have been enumerated
      • next

        public java.lang.Object next()
        Next element.
        Specified by:
        next in interface  java.util.Iterator
        Returns:
        The next element as a XPRMValue
        Throws:
        java.util.NoSuchElementException - If all elements have already been returned.
      • nextAsInteger

        public int nextAsInteger()
        Next element of a list of integers.
        Returns:
        The next element as an integer
        Throws:
        java.util.NoSuchElementException - If all elements have already been returned or the list is not a list of integers.
      • nextAsReal

        public double nextAsReal()
        Next element of a list of reals.
        Returns:
        The next element as a real
        Throws:
        java.util.NoSuchElementException - If all elements have already been returned or the list is not a list of reals.
      • nextAsString

        public java.lang.String nextAsString()
        Next element of a list of strings.
        Returns:
        The next element as a string
        Throws:
        java.util.NoSuchElementException - If all elements have already been returned or the list is not a list of strings.
      • nextAsBoolean

        public boolean nextAsBoolean()
        Next element of a list of Booleans.
        Returns:
        The next element as a Boolean
        Throws:
        java.util.NoSuchElementException - If all elements have already been returned or the list is not a list of Booleans.
      • remove

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

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.