///////////////////////////////////////////////////////////////////////////
// From HighLowDataset
///////////////////////////////////////////////////////////////////////////
/**
* Returns the high-value for the specified series and item.
* <p>
* Note: throws <code>ClassCastException</code> if the series if not from a
* {@link OHLCDataset}.
*
* @param series the index of the series of interest (zero-based).
* @param item the index of the item of interest (zero-based).
*
* @return The high-value for the specified series and item.
*/
/**
* Returns the low-value for the specified series and item.
* <p>
* Note: throws <code>ClassCastException</code> if the series if not from a
* {@link OHLCDataset}.
*
* @param series the index of the series of interest (zero-based).
* @param item the index of the item of interest (zero-based).
*
* @return The low-value for the specified series and item.
*/
/**
* Returns the open-value for the specified series and item.
* <p>
* Note: throws <code>ClassCastException</code> if the series if not from a
* {@link OHLCDataset}.
*
* @param series the index of the series of interest (zero-based).
* @param item the index of the item of interest (zero-based).
*
* @return The open-value for the specified series and item.
*/
/**
* Returns the close-value for the specified series and item.
* <p>
* Note: throws <code>ClassCastException</code> if the series if not from a
* {@link OHLCDataset}.
*
* @param series the index of the series of interest (zero-based).
* @param item the index of the item of interest (zero-based).
*
* @return The close-value for the specified series and item.
*/
/**
* Returns the volume.
* <p>
* Note: throws <code>ClassCastException</code> if the series if not from a
* {@link OHLCDataset}.
*
* @param series the series (zero based index).
* @param item the item (zero based index).
*
* @return The volume.
*/
public Number [[#variable1aa72520]](int series, int item) {
return ((OHLCDataset) this.parent). [[#variable1aa72520]](this.map[series], item);
}
/**
* Returns the high-value (as a double primitive) for an item within a
* series.
*
* @param series the series (zero-based index).
* @param item the item (zero-based index).
*
* @return The high-value.
*/
/**
* Returns the low-value (as a double primitive) for an item within a
* series.
*
* @param series the series (zero-based index).
* @param item the item (zero-based index).
*
* @return The low-value.
*/
/**
* Returns the open-value (as a double primitive) for an item within a
* series.
*
* @param series the series (zero-based index).
* @param item the item (zero-based index).
*
* @return The open-value.
*/
/**
* Returns the close-value (as a double primitive) for an item within a
* series.
*
* @param series the series (zero-based index).
* @param item the item (zero-based index).
*
* @return The close-value.
*/
/**
* Returns the volume-value (as a double primitive) for an item within a
* series.
*
* @param series the series (zero-based index).
* @param item the item (zero-based index).
*
* @return The volume-value.
*/
public double [[#variable1aa72c00]](int series, int item) {
double result = Double.NaN;
Number [[#variable1aa78200]]= [[#variable1aa72520]](series, item);
if ( [[#variable1aa78200]]!= null) {
result = [[#variable1aa78200]].doubleValue();
}
return result;
}
|