All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ringcentral.platform.metrics.scale.SpecificScale Maven / Gradle / Ivy

package com.ringcentral.platform.metrics.scale;

import java.util.List;

import static java.util.stream.Collectors.toList;

public class SpecificScale implements Scale {

    private final List points;

    public SpecificScale(List points) {
        this.points = points.stream().sorted().collect(toList());
    }

    @Override
    public List points() {
        return points;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy