class TimestampedValue {

  public static <V> TimestampedValue<V> of(@Nullable V value, Instant timestamp) {
    return new TimestampedValue<>(value, timestamp);
  }

  protected  TimestampedValue(@Nullable V value, Instant timestamp);

}