org.pdfbox.pdfviewer

Class 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

Method Summary

Object
getKey()
Get the key for this entry.
Object
getValue()
This will get the value for this entry.
void
setKey(Object k)
This will set the key for this entry.
void
setValue(Object val)
This will set the value for this entry.
String
toString()
This will output a string representation of this class.

Method Details

getKey

public Object getKey()
Get the key for this entry.
Returns:
The entry's key.

getValue

public Object getValue()
This will get the value for this entry.
Returns:
The value for this entry.

setKey

public void setKey(Object k)
This will set the key for this entry.
Parameters:
k - the new key for this entry.

setValue

public void setValue(Object val)
This will set the value for this entry.
Parameters:
val - the new value for this entry.

toString

public String toString()
This will output a string representation of this class.
Returns:
A string representation of this class.