org.crosswire.common.swing
Class MapTableModel.StringPair

java.lang.Object
  extended by org.crosswire.common.swing.MapTableModel.StringPair
Enclosing class:
MapTableModel

private static final class MapTableModel.StringPair
extends Object

A simple holder of a key/value pair of Strings.


Field Summary
private  String key
          key is the string representation of a Map entry key
private  String value
          value is the string representation of a Map entry value
 
Constructor Summary
MapTableModel.StringPair(String k, String v)
           
 
Method Summary
 String getKey()
           
 String getValue()
           
 void setKey(String key)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private String key
key is the string representation of a Map entry key


value

private String value
value is the string representation of a Map entry value

Constructor Detail

MapTableModel.StringPair

public MapTableModel.StringPair(String k,
                                String v)
Parameters:
k - The non-null key.
v - The non-null value.
Method Detail

getKey

public String getKey()
Returns:
Returns the key.

getValue

public String getValue()
Returns:
Returns the value.

setKey

public void setKey(String key)
Parameters:
key - The key to set.

setValue

public void setValue(String value)
Parameters:
value - The value to set.

Copyright ? 2003-2004