Class ArrayEntry


  • public class ArrayEntry
    extends java.lang.Object
    This is a simple class that will contain an index and a value.
    Version:
    $Revision: 1.3 $
    Author:
    Ben Litchfield
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayEntry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex()
      This will get the index of the array entry.
      java.lang.Object getValue()
      This will get the value for this entry.
      void setIndex​(int i)
      This will set the index value.
      void setValue​(java.lang.Object val)
      This will set the value for this entry.
      • Methods inherited from class java.lang.Object

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

      • ArrayEntry

        public ArrayEntry()
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        This will get the value for this entry.
        Returns:
        The value for this entry.
      • setValue

        public void setValue​(java.lang.Object val)
        This will set the value for this entry.
        Parameters:
        val - the new value for this entry.
      • getIndex

        public int getIndex()
        This will get the index of the array entry.
        Returns:
        The 0-based index into the array
      • setIndex

        public void setIndex​(int i)
        This will set the index value.
        Parameters:
        i - The new index value.