trunk/adhoc-internal/src/main/java/org/jfree/data/xy/YIntervalSeriesCollection.java
/**
     * Removes all the series from the collection and sends a
     * {@link DatasetChangeEvent} to all registered listeners.
     *
     * @since 1.0.10
     */
Removes all the series from the collection and sends a
DatasetChangeEvent to all registered listeners.


Removes all the series from the collection and sends a DatasetChangeEvent to all registered listeners .
public void removeAllSeries() {
        for (int i = 0; i < this.data.size(); i++) {
          YIntervalSeries series = (YIntervalSeries) this.data.get(i);
          series.removeChangeListener(this);
        }
        this.data.clear();
        fireDatasetChanged();
    }
public void removeAllSeries ( ) { for ( int i = 0 ; i < this . data . size ( ) ; i ++ ) { YIntervalSeries series = ( YIntervalSeries ) this . data . get ( i ) ; series . removeChangeListener ( this ) ; } this . data . clear ( ) ; fireDatasetChanged ( ) ; }
Removes all the series from the collection and sends a
 {@link DatasetChangeEvent} to all registered listeners.
Removes all the series from the collection and sends a { @link DatasetChangeEvent } to all registered listeners .
// Unregister the collection as a change listener to each series in
 // the collection.
