All Superinterfaces:
Comparable<Double>
All Known Subinterfaces:
StringRedisConnection.StringTuple
All Known Implementing Classes:
DefaultStringTuple, DefaultTuple

public interface Tuple extends Comparable<Double>
ZSet tuple.
  • Method Details

    • getValue

      byte[] getValue()
      Returns:
      the raw value of the member.
    • getScore

      Double getScore()
      Returns:
      the member score value used for sorting.
    • of

      static Tuple of(byte[] value, Double score)
      Create a new Tuple.
      Parameters:
      value -
      score -
      Returns: