Class ArrayEntry


  • public class ArrayEntry
    extends java.lang.Object
    This is a simple class that will contain an index and a value.
    • 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.
      COSBase getItem()
      This will get the value for this entry.
      COSBase getValue()
      This will get the value for this entry.
      void setIndex​(int i)
      This will set the index value.
      void setItem​(COSBase val)
      This will set the value for this entry.
      void setValue​(COSBase 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
    • Field Detail

      • index

        private int index
    • Constructor Detail

      • ArrayEntry

        public ArrayEntry()
    • Method Detail

      • getValue

        public COSBase getValue()
        This will get the value for this entry.
        Returns:
        The value for this entry.
      • getItem

        public COSBase getItem()
        This will get the value for this entry.
        Returns:
        The value for this entry.
      • setValue

        public void setValue​(COSBase val)
        This will set the value for this entry.
        Parameters:
        val - the new value for this entry.
      • setItem

        public void setItem​(COSBase 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.