/** * Returns the z-value for an item within a series. * * @param series the series index (in the range {@code 0} to * {@code getSeriesCount() - 1}). * @param item the item index (in the range {@code 0} to * {@code getItemCount(series)}). * * @return The z-value. * * @throws ArrayIndexOutOfBoundsException if {@code series} is not * within the specified range. * @throws ArrayIndexOutOfBoundsException if {@code item} is not * within the specified range. * * @see #getZ(int, int) */ @Override public Number getZ(int series, int item) { return new Double(getZValue(series, item)); }
/** * Returns the z-value for an item within a series. * * @param series the series index (in the range <code>0</code> to * <code>getSeriesCount() - 1</code>). * @param item the item index (in the range <code>0</code> to * <code>getItemCount(series)</code>). * * @return The z-value. * * @throws ArrayIndexOutOfBoundsException if <code>series</code> is not * within the specified range. * @throws ArrayIndexOutOfBoundsException if <code>item</code> is not * within the specified range. * * @see #getZ(int, int) */ public Number getZ(int series, int item) { return new Double(getZValue(series, item)); }