docs: public static <T extends V, V> ScoredValue<V> from(double score, Optional<T> optional) {
  
          LettuceAssert.notNull(optional, "Optional must not be null");
  
          if (optional.isPresent()) {
              return new ScoredValue<V>(score, optional.get());
          }
  
          return fromNullable(score, null);
      }