class ImmutableInstantObjectTimeSeries extends AbstractPreciseObjectTimeSeries<Instant, V> implements InstantObjectTimeSeries<V>, Serializable {

  public static <V> ImmutableInstantObjectTimeSeries<V> of(Instant instant, V value) {
    Objects.requireNonNull(instant, "instant");
    long[] timesArray = new long[] {InstantToLongConverter.convertToLong(instant)};
    @SuppressWarnings("unchecked")
    V[] valuesArray = (V[]) new Object[] {value};
    return new ImmutableInstantObjectTimeSeries<V>(timesArray, valuesArray);
  }

    ImmutableInstantObjectTimeSeries(long[] instants, V[] values);

}