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
Constructors -
Method Summary
-
Constructor Details
-
DefaultTuple
Constructs a newDefaultTuple.- Parameters:
value-byteof the member's raw value.score-scoreof the raw value used in sorting.
-
-
Method Details
-
getScore
-
getValue
public byte[] getValue() -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Double>
-
toString
-