org.crosswire.common.util
Class KeyValuePair

java.lang.Object
  extended by org.crosswire.common.util.KeyValuePair

public class KeyValuePair
extends Object

Encapsulates the key and value together.

Author:
chrisburrell

Field Summary
private  String key
           
private  String value
           
 
Constructor Summary
KeyValuePair(String key, String value)
           
 
Method Summary
 String getKey()
           
 String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private String key

value

private String value
Constructor Detail

KeyValuePair

public KeyValuePair(String key,
                    String value)
Parameters:
key - the key
value - the value
Method Detail

getKey

public String getKey()
Returns:
the key

getValue

public String getValue()
Returns:
the value

Copyright ยจ 2003-2015