Package org.jfree.data.general
Class DatasetGroup
- java.lang.Object
-
- org.jfree.data.general.DatasetGroup
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class DatasetGroup extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable
A class that is used to group datasets (currently not used for any specific purpose).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
id
The group id.private static long
serialVersionUID
For serialization.
-
Constructor Summary
Constructors Constructor Description DatasetGroup()
Constructs a new group.DatasetGroup(java.lang.String id)
Creates a new group with the specified id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
Clones the group.boolean
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.java.lang.String
getID()
Returns the identification string for this group.int
hashCode()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
For serialization.- See Also:
- Constant Field Values
-
id
private java.lang.String id
The group id.
-
-
Method Detail
-
getID
public java.lang.String getID()
Returns the identification string for this group.- Returns:
- The identification string.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Clones the group.- Overrides:
clone
in classjava.lang.Object
- Returns:
- A clone.
- Throws:
java.lang.CloneNotSupportedException
- not by this class.
-
equals
public boolean equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- the object (null
permitted).- Returns:
- A boolean.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-