org.pdfbox.pdfviewer
Class MapEntry

java.lang.Object
  extended byorg.pdfbox.pdfviewer.MapEntry

public class MapEntry
extends Object

This is a simple class that will contain a key and a value.

Version:
$Revision: 1.3 $
Author:
Ben Litchfield

Constructor Summary
MapEntry()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapEntry

public MapEntry()
Method Detail

getKey

public Object getKey()
Get the key for this entry.

Returns:
The entry's key.

setKey

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

Parameters:
k - the new key for this entry.

getValue

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

Returns:
The value 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.