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