Class CountSimComparisonTimeFilter

    • Constructor Detail

      • CountSimComparisonTimeFilter

        public CountSimComparisonTimeFilter​(List<CountSimComparison> countSimComparisons)
        Fills the Array for each hour with the appropriate CountSimComparison objects from the list given as parameter.
        Parameters:
        countSimComparisons -
    • Method Detail

      • getCountsForHour

        public List<CountSimComparisongetCountsForHour​(Integer timefilter)
        Parameters:
        timefilter - A time step to filter the counts. Time may be null to avoid filtering. A value in 1..24, 1 for 0 a.m. to 1 a.m., 2 for 1 a.m. to 2 a.m. If null nothing is filtered.
        Returns:
        All counts if the parameter is null, else a subset of all counts for the given hour