docs: @SuppressWarnings("unchecked")
      public ScoredValue<V> mapScore(Function<? super Number, ? extends Number> mapper) {
  
          LettuceAssert.notNull(mapper, "Mapper function must not be null");
  
          if (hasValue()) {
              return new ScoredValue<V>(mapper.apply(score).doubleValue(), getValue());
          }
  
          return this;
      }