/** * Returns the y-value for one item in a series. * <p> * This method (from the XYDataset interface) is mapped to the * getMeanValue() method. * * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The y-value. */ public Number getY(int series, int item) { return getMeanValue(series, item); }
/** * Sets the value used as the farouts coefficient. The farout coefficient * must b greater than the outlier coefficient. * * @param faroutCoefficient being a {@code double} representing the * value used to calculate farouts. * * @see #getFaroutCoefficient() */ public void setFaroutCoefficient(double faroutCoefficient) { if (faroutCoefficient > getOutlierCoefficient()) { this.faroutCoefficient = faroutCoefficient; } else { throw new IllegalArgumentException("Farout value must be greater " + "than the outlier value, which is currently set at: (" + getOutlierCoefficient() + ")"); } }
/** * Returns the y-value for one item in a series. * <p> * This method (from the XYDataset interface) is mapped to the * getMeanValue() method. * * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The y-value. */ @Override public Number getY(int series, int item) { return getMeanValue(series, item); }
/** * Sets the value used as the farouts coefficient. The farout coefficient * must b greater than the outlier coefficient. * * @param faroutCoefficient being a <code>double</code> representing the * value used to calculate farouts. * * @see #getFaroutCoefficient() */ public void setFaroutCoefficient(double faroutCoefficient) { if (faroutCoefficient > getOutlierCoefficient()) { this.faroutCoefficient = faroutCoefficient; } else { throw new IllegalArgumentException("Farout value must be greater " + "than the outlier value, which is currently set at: (" + getOutlierCoefficient() + ")"); } }