com.lambdaworks.redis
Class KeyValue<K,V>

java.lang.Object
  extended by com.lambdaworks.redis.KeyValue<K,V>

public class KeyValue<K,V>
extends Object

A key-value pair.

Author:
Will Glozer

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

Field Detail

key

public final K key

value

public final V value
Constructor Detail

KeyValue

public KeyValue(K key,
                V value)
Method Detail

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


Copyright © 2013. All Rights Reserved.