redis.clients.jedis
Class Tuple
java.lang.Object
redis.clients.jedis.Tuple
- All Implemented Interfaces:
- Comparable<Tuple>
public class Tuple
- extends Object
- implements Comparable<Tuple>
Tuple
public Tuple(String element,
Double score)
Tuple
public Tuple(byte[] element,
Double score)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Tuple other)
- Specified by:
compareTo
in interface Comparable<Tuple>
getElement
public String getElement()
getBinaryElement
public byte[] getBinaryElement()
getScore
public double getScore()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.