org.apache.pdfbox.pdfviewer
Class ArrayEntry

java.lang.Object
  extended by org.apache.pdfbox.pdfviewer.ArrayEntry

public class ArrayEntry
extends Object

This is a simple class that will contain an index and a value.

Version:
$Revision: 1.3 $
Author:
Ben Litchfield

Constructor Summary
ArrayEntry()
           
 
Method Summary
 int getIndex()
          This will get the index of the array entry.
 Object getValue()
          This will get the value for this entry.
 void setIndex(int i)
          This will set the index value.
 void setValue(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 Object getValue()
This will get the value for this entry.

Returns:
The value for this entry.

setValue

public void setValue(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.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.