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