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
-
Constructor Summary
ConstructorDescriptionDefaultTuple
(byte[] value, Double score) Constructs a newDefaultTuple
instance. -
Method Summary
-
Constructor Details
-
DefaultTuple
Constructs a newDefaultTuple
instance.- Parameters:
value
-score
-
-
-
Method Details
-
getScore
-
getValue
public byte[] getValue() -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Double>
-
toString
-