class SlidingTimeWindowMovingAverages implements MovingAverages {

    int normalizeIndex(int index) {
        int mod = index % NUMBER_OF_BUCKETS;
        return mod >= 0 ? mod : mod + NUMBER_OF_BUCKETS;
    }

    public  SlidingTimeWindowMovingAverages();
    public  SlidingTimeWindowMovingAverages(Clock clock);

}