org.springframework.data.keyvalue.redis.connection
Class DefaultTuple
java.lang.Object
org.springframework.data.keyvalue.redis.connection.DefaultTuple
- All Implemented Interfaces:
- RedisZSetCommands.Tuple
- Direct Known Subclasses:
- DefaultStringTuple
public class DefaultTuple
- extends Object
- implements RedisZSetCommands.Tuple
Default implementation for RedisZSetCommands.Tuple
interface.
- Author:
- Costin Leau
Constructor Summary |
DefaultTuple(byte[] value,
Double score)
Constructs a new DefaultTuple instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTuple
public DefaultTuple(byte[] value,
Double score)
- Constructs a new
DefaultTuple
instance.
- Parameters:
value
- score
-
getScore
public Double getScore()
- Specified by:
getScore
in interface RedisZSetCommands.Tuple
getValue
public byte[] getValue()
- Specified by:
getValue
in interface RedisZSetCommands.Tuple
Copyright © 2010-2011 SpringSource. All Rights Reserved.