Package org.apache.pdfbox.debugger.ui
Class ArrayEntry
java.lang.Object
org.apache.pdfbox.debugger.ui.ArrayEntry
This is a simple class that will contain an index and a value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
This will get the index of the array entry.getItem()
This will get the value for this entry.getValue()
This will get the value for this entry.void
setIndex
(int i) This will set the index value.void
This will set the value for this entry.void
This will set the value for this entry.
-
Field Details
-
index
private int index -
value
-
item
-
-
Constructor Details
-
ArrayEntry
public ArrayEntry()
-
-
Method Details
-
getValue
This will get the value for this entry.- Returns:
- The value for this entry.
-
getItem
This will get the value for this entry.- Returns:
- The value for this entry.
-
setValue
This will set the value for this entry.- Parameters:
val
- the new value for this entry.
-
setItem
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.
-