public <S> Chart<P> build(TimeWindow timeWindow, List<S> sourceList, Function<S, P> function) {
        Objects.requireNonNull(function, "function");

        List<P> filter = applyFilter(sourceList, function);
        return build(timeWindow, filter);
    }
@author HyunGil Jeong
@author minwoo.jung
web/src/main/java/com/navercorp/pinpoint/web/vo/chart/TimeSeriesChartBuilder.java