org.apache.camel.util
Class KeyValueHolder<K,V>

java.lang.Object
  extended by org.apache.camel.util.KeyValueHolder<K,V>

public class KeyValueHolder<K,V>
extends Object

Holder for a key and value.

Version:

Constructor Summary
KeyValueHolder(K key, V value)
           
 
Method Summary
 boolean equals(Object o)
           
 K getKey()
           
 V getValue()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyValueHolder

public KeyValueHolder(K key,
                      V value)
Method Detail

getKey

public K getKey()

getValue

public V getValue()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Apache CAMEL