Class DefaultTuple
java.lang.Object
org.springframework.data.redis.connection.zset.DefaultTuple
- All Implemented Interfaces:
Comparable<Double>
,Tuple
- Direct Known Subclasses:
DefaultStringTuple
Default implementation for
Tuple
interface.- Author:
- Costin Leau, Christoph Strobl, John Blum
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultTuple
Constructs a newDefaultTuple
.- Parameters:
value
-byte
of the member's raw value.score
-score
of the raw value used in sorting.
-
-
Method Details
-
getScore
-
getValue
public byte[] getValue() -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Double>
-
toString
-