redis.clients.jedis
Class Tuple

java.lang.Object
  extended by redis.clients.jedis.Tuple
All Implemented Interfaces:
Comparable<Tuple>

public class Tuple
extends Object
implements Comparable<Tuple>


Constructor Summary
Tuple(byte[] element, Double score)
           
Tuple(String element, Double score)
           
 
Method Summary
 int compareTo(Tuple other)
           
 boolean equals(Object obj)
           
 byte[] getBinaryElement()
           
 String getElement()
           
 double getScore()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tuple

public Tuple(String element,
             Double score)

Tuple

public Tuple(byte[] element,
             Double score)
Method Detail

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.