private void createIntervalList ( ) { synchronized ( intervalLock ) { if ( _cachedIntervalInfos != null ) return ; List < Interval > intervals = intervalRegistry . getIntervals ( ) ; _cachedIntervalInfos = new ArrayList < IntervalInfo > ( intervals . size ( ) ) ; for ( Interval interval : intervals ) { _cachedIntervalInfos . add ( new IntervalInfo ( interval ) ) ; interval . addSecondaryIntervalListener ( this ) ; } } }
Creates the list of existing intervals .