Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.common.swing
Class MapTableModel.StringPair

    java.lang.Object
      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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ? 2003-2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD