org.pdfbox.pdfviewer

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

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.

Method Details

getIndex

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

getValue

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

setIndex

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

setValue

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