Package org.apache.pdfbox.debugger.ui
Class MapEntry
- java.lang.Object
-
- org.apache.pdfbox.debugger.ui.MapEntry
-
public class MapEntry extends java.lang.ObjectThis is a simple class that will contain a key and a value.- Author:
- Ben Litchfield
-
-
Constructor Summary
Constructors Constructor Description MapEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.pdfbox.cos.COSBasegetItem()This will get the value for this entry.org.apache.pdfbox.cos.COSNamegetKey()Get the key for this entry.org.apache.pdfbox.cos.COSBasegetValue()This will get the value for this entry.voidsetItem(org.apache.pdfbox.cos.COSBase val)This will set the value for this entry.voidsetKey(org.apache.pdfbox.cos.COSName k)This will set the key for this entry.voidsetValue(org.apache.pdfbox.cos.COSBase val)This will set the value for this entry.java.lang.StringtoString()This will output a string representation of this class.
-
-
-
Method Detail
-
getKey
public org.apache.pdfbox.cos.COSName getKey()
Get the key for this entry.- Returns:
- The entry's key.
-
setKey
public void setKey(org.apache.pdfbox.cos.COSName k)
This will set the key for this entry.- Parameters:
k- the new key for this entry.
-
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.
-
toString
public java.lang.String toString()
This will output a string representation of this class.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this class.
-
-