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

Object org::jfree::chart::axis::TickUnits::clone (  )  throws CloneNotSupportedException [inline]

Returns a clone of the collection.

Returns:
A clone.
Exceptions:
CloneNotSupportedException if an item in the collection does not support cloning.

Definition at line 186 of file TickUnits.java.

References tickUnits.

Referenced by org::jfree::chart::axis::junit::TickUnitsTests::testCloning().

                                                            {
        TickUnits clone = (TickUnits) super.clone();
        clone.tickUnits = new java.util.ArrayList(this.tickUnits);
        return clone;
    }


Generated by  Doxygen 1.6.0   Back to index