com.lambdaworks.redis
Class ScoredValue<V>

java.lang.Object
  extended by com.lambdaworks.redis.ScoredValue<V>

public class ScoredValue<V>
extends Object

A value and its associated score from a ZSET.

Author:
Will Glozer

Field Summary
 double score
           
 V value
           
 
Constructor Summary
ScoredValue(double score, 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

score

public final double score

value

public final V value
Constructor Detail

ScoredValue

public ScoredValue(double score,
                   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.