Class DefaultTypedTuple<V>
java.lang.Object
org.springframework.data.redis.core.DefaultTypedTuple<V>
- All Implemented Interfaces:
Comparable<ZSetOperations.TypedTuple<V>>
,ZSetOperations.TypedTuple<V>
Default implementation of TypedTuple.
- Author:
- Costin Leau
-
Constructor Summary
ConstructorDescriptionDefaultTypedTuple
(V value, Double score) Constructs a newDefaultTypedTuple
instance. -
Method Summary
-
Constructor Details
-
DefaultTypedTuple
Constructs a newDefaultTypedTuple
instance.- Parameters:
value
- can be null.score
- can be null.
-
-
Method Details
-
getScore
- Specified by:
getScore
in interfaceZSetOperations.TypedTuple<V>
-
getValue
- Specified by:
getValue
in interfaceZSetOperations.TypedTuple<V>
-
hashCode
public int hashCode() -
equals
-
compareTo
-
compareTo
- Specified by:
compareTo
in interfaceComparable<V>
-
toString
-