Package org.apache.pdfbox.pdfviewer
Class MapEntry
- java.lang.Object
-
- org.apache.pdfbox.pdfviewer.MapEntry
-
public class MapEntry extends java.lang.Object
This is a simple class that will contain a key and a value.- Version:
- $Revision: 1.3 $
- Author:
- Ben Litchfield
-
-
Constructor Summary
Constructors Constructor Description MapEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getKey()
Get the key for this entry.java.lang.Object
getValue()
This will get the value for this entry.void
setKey(java.lang.Object k)
This will set the key for this entry.void
setValue(java.lang.Object 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 java.lang.Object getKey()
Get the key for this entry.- Returns:
- The entry's key.
-
setKey
public void setKey(java.lang.Object k)
This will set the key for this entry.- Parameters:
k
- the new key for this entry.
-
getValue
public java.lang.Object getValue()
This will get the value for this entry.- Returns:
- The value for this entry.
-
setValue
public void setValue(java.lang.Object 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.
-
-