Class IterationValue


  • public class IterationValue
    extends java.lang.Object
    An iteration value representing the index iterated to, and the value found at that index
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int index  
      private long value  
    • Constructor Summary

      Constructors 
      Constructor Description
      IterationValue()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex()
      The index iterated to
      long getValue()
      The value at the index iterated to
      (package private) void set​(int index, long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • index

        private int index
      • value

        private long value
    • Constructor Detail

      • IterationValue

        IterationValue()
    • Method Detail

      • set

        void set​(int index,
                 long value)
      • getIndex

        public int getIndex()
        The index iterated to
        Returns:
        the index iterated to
      • getValue

        public long getValue()
        The value at the index iterated to
        Returns:
        the value at the index iterated to