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.SerializableA 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.StringidThe group id.private static longserialVersionUIDFor 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.Objectclone()Clones the group.booleanequals(java.lang.Object obj)Tests this instance for equality with an arbitrary object.java.lang.StringgetID()Returns the identification string for this group.inthashCode()
-
-
-
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.CloneNotSupportedExceptionClones the group.- Overrides:
clonein 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:
equalsin classjava.lang.Object- Parameters:
obj- the object (nullpermitted).- Returns:
- A boolean.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-