org.jvnet.flamingo.common
Class StringValuePair<T>

java.lang.Object
  extended by org.jvnet.flamingo.common.KeyValuePair<java.lang.String,T>
      extended by org.jvnet.flamingo.common.StringValuePair<T>
Type Parameters:
T - Value class.

public class StringValuePair<T>
extends KeyValuePair<java.lang.String,T>

Key-value pair with a String key.

Author:
Kirill Grouchnikov

Constructor Summary
StringValuePair(java.lang.String key, T value)
          Creates a new pair.
 
Method Summary
 
Methods inherited from class org.jvnet.flamingo.common.KeyValuePair
get, getKey, getProps, getValue, set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringValuePair

public StringValuePair(java.lang.String key,
                       T value)
Creates a new pair.

Parameters:
key - Pair key.
value - Pair value.