Example usage for org.jfree.chart HashUtilities hashCode

List of usage examples for org.jfree.chart HashUtilities hashCode

Introduction

In this page you can find the example usage for org.jfree.chart HashUtilities hashCode.

Prototype

public static int hashCode(int pre, StrokeList list) 

Source Link

Document

Computes a hash code for a StrokeList .

Usage

From source file:org.jfree.data.function.LineFunction2D.java

/**
 * Returns a hash code for this instance.
 * //  ww w. j  av a 2s.  c o  m
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 29;
    result = HashUtilities.hashCode(result, this.a);
    result = HashUtilities.hashCode(result, this.b);
    return result;
}

From source file:org.jfree.data.time.ohlc.OHLC.java

/**
 * Returns a hash code for this instance.
 *
 * @return A hash code./* www  .  ja v  a  2  s  . c  om*/
 */
@Override
public int hashCode() {
    int result = 193;
    result = HashUtilities.hashCode(result, this.open);
    result = HashUtilities.hashCode(result, this.high);
    result = HashUtilities.hashCode(result, this.low);
    result = HashUtilities.hashCode(result, this.close);
    return result;
}

From source file:org.jfree.data.function.NormalDistributionFunction2D.java

/**
 * Returns a hash code for this instance.
 *
 * @return A hash code./*from   w w  w  . j  av  a  2 s .  c o m*/
 */
@Override
public int hashCode() {
    int result = 29;
    result = HashUtilities.hashCode(result, this.mean);
    result = HashUtilities.hashCode(result, this.std);
    return result;
}

From source file:com.rapidminer.gui.plotter.charts.RapidBarPainter.java

/**
 * Returns a hash code for this instance.
 * /*from w w  w.j  a va2s.com*/
 * @return A hash code.
 */
@Override
public int hashCode() {
    int hash = 37;
    hash = HashUtilities.hashCode(hash, this.g1);
    hash = HashUtilities.hashCode(hash, this.g2);
    hash = HashUtilities.hashCode(hash, this.g3);
    return hash;
}

From source file:net.sf.jasperreports.chartthemes.spring.ScaledDialPointer.java

/**
 * Returns a hash code for this instance.
 *
 * @return A hash code./* w w  w  .  j a va2s  .co  m*/
 */
@Override
public int hashCode() {
    int result = super.hashCode();
    result = HashUtilities.hashCode(result, this.fillPaint);
    return result;
}

From source file:net.sf.fspdfs.chartthemes.spring.ScaledDialPointer.java

/**
 * Returns a hash code for this instance.
 *
 * @return A hash code./*w w  w  . j a  va 2 s .  c  o  m*/
 */
public int hashCode() {
    int result = super.hashCode();
    result = HashUtilities.hashCode(result, this.fillPaint);
    return result;
}

From source file:org.jfree.data.time.ohlc.OHLCSeriesCollection.java

/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.//from  w w w  .  j  a  v a2s .  c  o m
 */
@Override
public int hashCode() {
    int result = 137;
    result = HashUtilities.hashCode(result, this.xPosition);
    for (int i = 0; i < this.data.size(); i++) {
        result = HashUtilities.hashCode(result, this.data.get(i));
    }
    return result;
}

From source file:org.jfree.data.xy.XYSeriesCollection.java

/**
 * Returns a hash code./*ww w.j a v  a2  s  .c  om*/
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int hash = 5;
    hash = HashUtilities.hashCode(hash, this.intervalDelegate);
    hash = HashUtilities.hashCode(hash, this.data);
    return hash;
}

From source file:org.jfree.data.xy.IntervalXYDelegate.java

/**
 * Returns a hash code for this instance.
 *
 * @return A hash code./* w w w  . j  av a 2 s .co  m*/
 */
@Override
public int hashCode() {
    int hash = 5;
    hash = HashUtilities.hashCode(hash, this.autoWidth);
    hash = HashUtilities.hashCode(hash, this.intervalPositionFactor);
    hash = HashUtilities.hashCode(hash, this.fixedIntervalWidth);
    return hash;
}

From source file:KIDLYAbstractRenderer.java

/**
 * Returns a hashcode for the renderer./*from   w  w  w  .  ja v  a  2s.c o m*/
 *
 * @return The hashcode.
 */
public int hashCode() {
    int result = 193;
    result = HashUtilities.hashCode(result, this.seriesVisibleList);
    result = HashUtilities.hashCode(result, this.baseSeriesVisible);
    result = HashUtilities.hashCode(result, this.seriesVisibleInLegendList);
    result = HashUtilities.hashCode(result, this.baseSeriesVisibleInLegend);
    result = HashUtilities.hashCode(result, this.paintList);
    result = HashUtilities.hashCode(result, this.basePaint);
    result = HashUtilities.hashCode(result, this.fillPaintList);
    result = HashUtilities.hashCode(result, this.baseFillPaint);
    result = HashUtilities.hashCode(result, this.outlinePaintList);
    result = HashUtilities.hashCode(result, this.baseOutlinePaint);
    result = HashUtilities.hashCode(result, this.strokeList);
    result = HashUtilities.hashCode(result, this.baseStroke);
    result = HashUtilities.hashCode(result, this.outlineStrokeList);
    result = HashUtilities.hashCode(result, this.baseOutlineStroke);
    // shapeList
    // baseShape
    result = HashUtilities.hashCode(result, this.itemLabelsVisibleList);
    result = HashUtilities.hashCode(result, this.baseItemLabelsVisible);
    // itemLabelFontList
    // baseItemLabelFont
    // itemLabelPaintList
    // baseItemLabelPaint
    // positiveItemLabelPositionList
    // basePositiveItemLabelPosition
    // negativeItemLabelPositionList
    // baseNegativeItemLabelPosition
    // itemLabelAnchorOffset
    // createEntityList
    // baseCreateEntities
    return result;
}