protected internal Task(long[] intervals) { this.intervals = new Interval(intervals); this.isCancelled = false; }