org.jfree.data.time

Class DynamicTimeSeriesCollection.ValueSequence

protected class DynamicTimeSeriesCollection.ValueSequence extends Object

A wrapper for a fixed array of float values.
Constructor Summary
ValueSequence()
Default constructor:
ValueSequence(int length)
Creates a sequence with the specified length.
Method Summary
voidenterData(int index, float value)
Enters data into the storage array.
floatgetData(int index)
Returns a value from the storage array.

Constructor Detail

ValueSequence

public ValueSequence()
Default constructor:

ValueSequence

public ValueSequence(int length)
Creates a sequence with the specified length.

Parameters: length the length.

Method Detail

enterData

public void enterData(int index, float value)
Enters data into the storage array.

Parameters: index the index. value the value.

getData

public float getData(int index)
Returns a value from the storage array.

Parameters: index the index.

Returns: The value.

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.