public class DefaultTuple extends Object implements RedisZSetCommands.Tuple
RedisZSetCommands.Tuple
interface.Constructor and Description |
---|
DefaultTuple(byte[] value,
Double score)
Constructs a new
DefaultTuple instance. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Double o) |
boolean |
equals(Object obj) |
Double |
getScore() |
byte[] |
getValue() |
int |
hashCode() |
public DefaultTuple(byte[] value, Double score)
DefaultTuple
instance.value
- score
- public Double getScore()
getScore
in interface RedisZSetCommands.Tuple
public byte[] getValue()
getValue
in interface RedisZSetCommands.Tuple
public int compareTo(Double o)
compareTo
in interface Comparable<Double>
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.