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

Object org::jfree::chart::entity::StandardEntityCollection::clone (  )  throws CloneNotSupportedException [inline]

Returns a clone of this entity collection.

A clone.
CloneNotSupportedException if the object cannot be cloned.

Definition at line 194 of file StandardEntityCollection.java.

References org::jfree::chart::entity::ChartEntity::clone(), and entities.

Referenced by org::jfree::chart::entity::junit::StandardEntityCollectionTests::testCloning().

        StandardEntityCollection clone 
                = (StandardEntityCollection) super.clone();
        clone.entities = new java.util.ArrayList(this.entities.size());
        for (int i = 0; i < this.entities.size(); i++) {
            ChartEntity entity = (ChartEntity) this.entities.get(i);
        return clone;   

Generated by  Doxygen 1.6.0   Back to index