Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.redis.core
Class DefaultTypedTuple<V>

    java.lang.Object
      org.springframework.data.redis.core.DefaultTypedTuple<V>

All Implemented Interfaces:
  Comparable<Double>, ZSetOperations.TypedTuple<V>

    public class DefaultTypedTuple<V>

extends Object
implements ZSetOperations.TypedTuple<V>

Default implementation of TypedTuple.

Constructor Summary
`DefaultTypedTuple(V value, Double score)` Constructs a new `DefaultTypedTuple` instance.

Method Summary
`int` | `compareTo(Double o)`
`boolean` | `equals(Object obj)`
`Double` | `getScore()`
`V` | `getValue()`
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultTypedTuple

    public DefaultTypedTuple(V value,
                             Double score)

  Constructs a new `DefaultTypedTuple` instance.

  Parameters:
    `value` -
    `score` -

Method Detail

### getScore

    public Double getScore()

  Specified by:
    `getScore` in interface `ZSetOperations.TypedTuple<V>`

### getValue

    public V getValue()

  Specified by:
    `getValue` in interface `ZSetOperations.TypedTuple<V>`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

### compareTo

    public int compareTo(Double o)

  Specified by:
    `compareTo` in interface `Comparable<Double>`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD