org.jfree.data.general

Class DatasetGroup

Implemented Interfaces:
Cloneable, Serializable

public class DatasetGroup
extends java.lang.Object
implements Cloneable, Serializable

A class that is used to group datasets (currently not used for any specific purpose).

Constructor Summary

DatasetGroup()
Constructs a new group.
DatasetGroup(String id)
Creates a new group with the specified id.

Method Summary

Object
clone()
Clones the group.
boolean
equals(Object obj)
Tests this instance for equality with an arbitrary object.
String
getID()
Returns the identification string for this group.

Constructor Details

DatasetGroup

public DatasetGroup()
Constructs a new group.

DatasetGroup

public DatasetGroup(String id)
Creates a new group with the specified id.
Parameters:
id - the identification for the group.

Method Details

clone

public Object clone()
            throws CloneNotSupportedException
Clones the group.
Returns:
A clone.

equals

public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
Parameters:
obj - the object (null permitted).
Returns:
A boolean.

getID

public String getID()
Returns the identification string for this group.
Returns:
The identification string.