/** * Creates a long[24] array and sets element N, where N is the hour of the day (0 - 23). The element will be set to 1 if deleteRecord is false, else -1. * * @param hour * @param delete * @return bytes of long[24] */ public static List<Long> getLongListForHour(int hour, boolean delete) { return initUnitList(ACTIVITY_HISTOGRAM_LENGTH, hour, delete); }
elapsed = 6; return initUnitList(DURATION_HISTOGRAM_LENGTH, elapsed, deleteRecord);