📄 timeseries.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/TimeSeriesDataItem.html" title="class in org.jfree.data.time">TimeSeriesDataItem</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#addOrUpdate(org.jfree.data.time.RegularTimePeriod, java.lang.Number)">addOrUpdate</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> period, java.lang.Number value)</CODE><BR> Adds or updates an item in the times series and sends a <A HREF="../../../../org/jfree/data/general/SeriesChangeEvent.html" title="class in org.jfree.data.general"><CODE>SeriesChangeEvent</CODE></A> to all registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#clear()">clear</A></B>()</CODE><BR> Removes all data items from the series and sends a <A HREF="../../../../org/jfree/data/general/SeriesChangeEvent.html" title="class in org.jfree.data.general"><CODE>SeriesChangeEvent</CODE></A> to all registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#clone()">clone</A></B>()</CODE><BR> Returns a clone of the time series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#createCopy(int, int)">createCopy</A></B>(int start, int end)</CODE><BR> Creates a new timeseries by copying a subset of the data in this time series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#createCopy(org.jfree.data.time.RegularTimePeriod, org.jfree.data.time.RegularTimePeriod)">createCopy</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> start, <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> end)</CODE><BR> Creates a new timeseries by copying a subset of the data in this time series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#delete(int, int)">delete</A></B>(int start, int end)</CODE><BR> Deletes data from start until end index (end inclusive).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#delete(org.jfree.data.time.RegularTimePeriod)">delete</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> period)</CODE><BR> Deletes the data item for the given time period and sends a <A HREF="../../../../org/jfree/data/general/SeriesChangeEvent.html" title="class in org.jfree.data.general"><CODE>SeriesChangeEvent</CODE></A> to all registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object object)</CODE><BR> Tests the series for equality with an arbitrary object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/TimeSeriesDataItem.html" title="class in org.jfree.data.time">TimeSeriesDataItem</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getDataItem(int)">getDataItem</A></B>(int index)</CODE><BR> Returns a data item for the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/TimeSeriesDataItem.html" title="class in org.jfree.data.time">TimeSeriesDataItem</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getDataItem(org.jfree.data.time.RegularTimePeriod)">getDataItem</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> period)</CODE><BR> Returns the data item for a specific period.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getDomainDescription()">getDomainDescription</A></B>()</CODE><BR> Returns the domain description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getIndex(org.jfree.data.time.RegularTimePeriod)">getIndex</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> period)</CODE><BR> Returns the index for the item (if any) that corresponds to a time period.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getItemCount()">getItemCount</A></B>()</CODE><BR> Returns the number of items in the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getItems()">getItems</A></B>()</CODE><BR> Returns the list of data items for the series (the list contains <A HREF="../../../../org/jfree/data/time/TimeSeriesDataItem.html" title="class in org.jfree.data.time"><CODE>TimeSeriesDataItem</CODE></A> objects and is unmodifiable).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getMaximumItemAge()">getMaximumItemAge</A></B>()</CODE><BR> Returns the maximum item age (in time periods) for the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getMaximumItemCount()">getMaximumItemCount</A></B>()</CODE><BR> Returns the maximum number of items that will be retained in the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getNextTimePeriod()">getNextTimePeriod</A></B>()</CODE><BR> Returns a time period that would be the next in sequence on the end of the time series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getRangeDescription()">getRangeDescription</A></B>()</CODE><BR> Returns the range description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getTimePeriod(int)">getTimePeriod</A></B>(int index)</CODE><BR> Returns the time period at the specified index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getTimePeriodClass()">getTimePeriodClass</A></B>()</CODE><BR> Returns the time period class for this series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Collection</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getTimePeriods()">getTimePeriods</A></B>()</CODE><BR> Returns a collection of all the time periods in the time series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.Collection</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getTimePeriodsUniqueToOtherSeries(org.jfree.data.time.TimeSeries)">getTimePeriodsUniqueToOtherSeries</A></B>(<A HREF="../../../../org/jfree/data/time/TimeSeries.html" title="class in org.jfree.data.time">TimeSeries</A> series)</CODE><BR> Returns a collection of time periods in the specified series, but not in this series, and therefore unique to the specified series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getValue(int)">getValue</A></B>(int index)</CODE><BR> Returns the value at the specified index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Number</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#getValue(org.jfree.data.time.RegularTimePeriod)">getValue</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> period)</CODE><BR> Returns the value for a time period.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns a hash code value for the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#removeAgedItems(boolean)">removeAgedItems</A></B>(boolean notify)</CODE><BR> Age items in the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#removeAgedItems(long, boolean)">removeAgedItems</A></B>(long latest, boolean notify)</CODE><BR> Age items in the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#setDomainDescription(java.lang.String)">setDomainDescription</A></B>(java.lang.String description)</CODE><BR> Sets the domain description and sends a <code>PropertyChangeEvent</code> (with the property name <code>Domain</code>) to all registered property change listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#setMaximumItemAge(long)">setMaximumItemAge</A></B>(long periods)</CODE><BR> Sets the number of time units in the 'history' for the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#setMaximumItemCount(int)">setMaximumItemCount</A></B>(int maximum)</CODE><BR> Sets the maximum number of items that will be retained in the series.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#setRangeDescription(java.lang.String)">setRangeDescription</A></B>(java.lang.String description)</CODE><BR> Sets the range description and sends a <code>PropertyChangeEvent</code> (with the property name <code>Range</code>) to all registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#update(int, java.lang.Number)">update</A></B>(int index, java.lang.Number value)</CODE><BR> Updates (changes) the value of a data item.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/data/time/TimeSeries.html#update(org.jfree.data.time.RegularTimePeriod, java.lang.Number)">update</A></B>(<A HREF="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</A> period, java.lang.Number value)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -