Package org.apache.pdfbox.debugger.ui
Class ArrayEntry
- java.lang.Object
-
- org.apache.pdfbox.debugger.ui.ArrayEntry
-
public class ArrayEntry extends java.lang.ObjectThis is a simple class that will contain an index and a value.- Author:
- Ben Litchfield
-
-
Constructor Summary
Constructors Constructor Description ArrayEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()This will get the index of the array entry.org.apache.pdfbox.cos.COSBasegetItem()This will get the value for this entry.org.apache.pdfbox.cos.COSBasegetValue()This will get the value for this entry.voidsetIndex(int i)This will set the index value.voidsetItem(org.apache.pdfbox.cos.COSBase val)This will set the value for this entry.voidsetValue(org.apache.pdfbox.cos.COSBase val)This will set the value for this entry.
-
-
-
Method Detail
-
getValue
public org.apache.pdfbox.cos.COSBase getValue()
This will get the value for this entry.- Returns:
- The value for this entry.
-
getItem
public org.apache.pdfbox.cos.COSBase getItem()
This will get the value for this entry.- Returns:
- The value for this entry.
-
setValue
public void setValue(org.apache.pdfbox.cos.COSBase val)
This will set the value for this entry.- Parameters:
val- the new value for this entry.
-
setItem
public void setItem(org.apache.pdfbox.cos.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.
-
-