com.web_visage.ichatserv.fwk
Class Pair<K,V>

java.lang.Object
  extended by com.web_visage.ichatserv.fwk.Pair<K,V>

public class Pair<K,V>
extends java.lang.Object

Generic key -> value pair.

Author:
K.Baturytski

Constructor Summary
Pair(K aKey, V aValue)
          Constructor.
 
Method Summary
 K getKey()
          Returns the key.
 V getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pair

public Pair(K aKey,
            V aValue)
Constructor.

Parameters:
aKey -
aValue -
Method Detail

getKey

public final K getKey()
Returns the key.

Returns:

getValue

public final V getValue()
Returns the value.

Returns: