org.norther.tammi.acorn.util
Class StringKeyValue

java.lang.Object
  extended by org.norther.tammi.acorn.util.SettableKeyValue<String,String>
      extended by org.norther.tammi.acorn.util.StringKeyValue
All Implemented Interfaces:
Serializable, Cloneable, KeyValue<String,String>

public class StringKeyValue
extends SettableKeyValue<String,String>

A string implementation of KeyValue.

Version:
$Id: StringKeyValue.java,v 1.3 2009/09/28 15:08:49 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Constructor Summary
StringKeyValue()
          Constructs an empty key value.
StringKeyValue(String kv)
          Constructs a string key value.
StringKeyValue(String k, String v)
          Constructs a specific key value.
 
Method Summary
 
Methods inherited from class org.norther.tammi.acorn.util.SettableKeyValue
clone, equals, getKey, getValue, hashCode, setKey, setValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringKeyValue

public StringKeyValue()
Constructs an empty key value.


StringKeyValue

public StringKeyValue(String kv)
Constructs a string key value.

Parameters:
kv - the key value in string format.

StringKeyValue

public StringKeyValue(String k,
                      String v)
Constructs a specific key value.

Parameters:
k - the key.
v - the value.


Copyright © 2004 The Norther Organization. All rights reserved.