1 /* ====================================== 2 * JFreeChart : a free Java chart library 3 * ====================================== 4 * 5 * Project Info: http://www.jfree.org/jfreechart/index.html 6 * Project Lead: David Gilbert (david.gilbert@object-refinery.com); 7 * 8 * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors. 9 * 10 * This library is free software; you can redistribute it and/or modify it under the terms 11 * of the GNU Lesser General Public License as published by the Free Software Foundation; 12 * either version 2.1 of the License, or (at your option) any later version. 13 * 14 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 15 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16 * See the GNU Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License along with this library; 19 * if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 * MA 02111-1307, USA. 21 * 22 * ----------------- 23 * DatasetGroup.java 24 * ----------------- 25 * (C) Copyright 2002, 2003, by Object Refinery Limited. 26 * 27 * Original Author: David Gilbert (for Object Refinery Limited); 28 * Contributor(s): -; 29 * 30 * $Id: DatasetGroup.java,v 1.4 2003/09/03 15:08:51 mungady Exp $ 31 * 32 * Changes 33 * ------- 34 * 07-Oct-2002 : Version 1 (DG); 35 * 26-Mar-2003 : Implemented Serializable (DG); 36 * 20-Aug-2003 : Implemented Cloneable (DG); 37 * 38 */ 39 40 package org.jfree.data; 41 42 import java.io.Serializable; 43 44 /** 45 * A class that is used to group datasets. The main purpose of this is to implement a 46 * shared reader-writer lock among all datasets in the group. 47 * 48 * @author David Gilbert 49 */ 50 public class DatasetGroup implements Cloneable, Serializable { 51 52 /** 53 * Constructs a new DatasetGroup. 54 */ 55 public DatasetGroup() { 56 } 57 58 /** 59 * Clones the group. 60 * 61 * @return A clone. 62 * 63 * @throws CloneNotSupportedException not by this class. 64 */ 65 public Object clone() throws CloneNotSupportedException { 66 return super.clone(); 67 } 68 69 } 70