class LongTimeSeries implements TimeSeries<Long> {

    @Override
    public int hashCode() {
        return new HashCodeBuilder(21, 3)
                .append(timeBucket)
                .append(timeSeries)
                .toHashCode();
    }

    public  LongTimeSeries(final TimeBucket timeBucket);
    @JsonCreator public  LongTimeSeries(@JsonProperty("timeBucket") final TimeBucket timeBucket,
                          @JsonProperty("timeSeries") final Map<Instant, Long> timeSeries);

}