Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

Object org::jfree::data::time::TimeTableXYDataset::clone (  )  throws CloneNotSupportedException [inline]

Returns a clone of this dataset.

Returns:
A clone.
Exceptions:
CloneNotSupportedException if the dataset cannot be cloned.

Reimplemented from org::jfree::data::general::AbstractDataset.

Definition at line 581 of file TimeTableXYDataset.java.

References org::jfree::data::DefaultKeyedValues2D::clone(), values, and workingCalendar.

Referenced by org::jfree::data::time::junit::TimeTableXYDatasetTests::testClone().

                                                            {
        TimeTableXYDataset clone = (TimeTableXYDataset) super.clone();
        clone.values = (DefaultKeyedValues2D) this.values.clone();
        clone.workingCalendar = (Calendar) this.workingCalendar.clone();
        return clone;
    }


Generated by  Doxygen 1.6.0   Back to index