Example usage for org.jfree.data.general Series getDescription

List of usage examples for org.jfree.data.general Series getDescription

Introduction

In this page you can find the example usage for org.jfree.data.general Series getDescription.

Prototype

public String getDescription() 

Source Link

Document

Returns a description of the series.

Usage

From source file:org.jfree.data.general.Series.java

/**
 * Tests the series for equality with another object.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return <code>true</code> or <code>false</code>.
 *//*from w  w  w.  j av a  2 s  .c  o m*/
@Override
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof Series)) {
        return false;
    }
    Series that = (Series) obj;
    if (!getKey().equals(that.getKey())) {
        return false;
    }
    if (!ObjectUtilities.equal(getDescription(), that.getDescription())) {
        return false;
    }
    return true;
}