📄 timeperiodvalues.html
字号:
<DD>Adds a new data item to the series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>period</CODE> - the time period.<DD><CODE>value</CODE> - the value.</DL></DD></DL><HR><A NAME="add(org.jfree.data.time.TimePeriod, java.lang.Number)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../org/jfree/data/time/TimePeriod.html" title="interface in org.jfree.data.time">TimePeriod</A> period, java.lang.Number value)</PRE><DL><DD>Adds a new data item to the series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>period</CODE> - the time period.<DD><CODE>value</CODE> - the value.</DL></DD></DL><HR><A NAME="update(int, java.lang.Number)"><!-- --></A><H3>update</H3><PRE>public void <B>update</B>(int index, java.lang.Number value)</PRE><DL><DD>Updates (changes) the value of a data item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the data item to update.<DD><CODE>value</CODE> - the new value.</DL></DD></DL><HR><A NAME="delete(int, int)"><!-- --></A><H3>delete</H3><PRE>public void <B>delete</B>(int start, int end)</PRE><DL><DD>Deletes data from start until end index (end inclusive).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - the index of the first period to delete.<DD><CODE>end</CODE> - the index of the last period to delete.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object object)</PRE><DL><DD>Tests the series for equality with another object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/data/Series.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/data/Series.html" title="class in org.jfree.data">Series</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object.<DT><B>Returns:</B><DD><code>true</code> or <code>false</code>.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code value for the object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/data/Series.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../org/jfree/data/Series.html" title="class in org.jfree.data">Series</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the hashcode</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the collection. <P> Notes: <ul> <li> no need to clone the domain and range descriptions, since String object is immutable; </li> <li> we pass over to the more general method createCopy(start, end). </li> </ul><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/data/Series.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/jfree/data/Series.html" title="class in org.jfree.data">Series</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a clone of the time series.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if there is a cloning problem.</DL></DD></DL><HR><A NAME="createCopy(int, int)"><!-- --></A><H3>createCopy</H3><PRE>public <A HREF="../../../../org/jfree/data/time/TimePeriodValues.html" title="class in org.jfree.data.time">TimePeriodValues</A> <B>createCopy</B>(int start, int end) throws java.lang.CloneNotSupportedException</PRE><DL><DD>Creates a new instance by copying a subset of the data in this collection.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>start</CODE> - the index of the first item to copy.<DD><CODE>end</CODE> - the index of the last item to copy.<DT><B>Returns:</B><DD>A copy of a subset of the items.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if there is a cloning problem.</DL></DD></DL><HR><A NAME="getMinStartIndex()"><!-- --></A><H3>getMinStartIndex</H3><PRE>public int <B>getMinStartIndex</B>()</PRE><DL><DD>Returns the index of the time period with the minimum start milliseconds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getMaxStartIndex()"><!-- --></A><H3>getMaxStartIndex</H3><PRE>public int <B>getMaxStartIndex</B>()</PRE><DL><DD>Returns the index of the time period with the maximum start milliseconds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getMinMiddleIndex()"><!-- --></A><H3>getMinMiddleIndex</H3><PRE>public int <B>getMinMiddleIndex</B>()</PRE><DL><DD>Returns the index of the time period with the minimum middle milliseconds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getMaxMiddleIndex()"><!-- --></A><H3>getMaxMiddleIndex</H3><PRE>public int <B>getMaxMiddleIndex</B>()</PRE><DL><DD>Returns the index of the time period with the maximum middle milliseconds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getMinEndIndex()"><!-- --></A><H3>getMinEndIndex</H3><PRE>public int <B>getMinEndIndex</B>()</PRE><DL><DD>Returns the index of the time period with the minimum end milliseconds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getMaxEndIndex()"><!-- --></A><H3>getMaxEndIndex</H3><PRE>public int <B>getMaxEndIndex</B>()</PRE><DL><DD>Returns the index of the time period with the maximum end milliseconds.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The index.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/data/time/TimePeriodValue.html" title="class in org.jfree.data.time"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/data/time/TimePeriodValuesCollection.html" title="class in org.jfree.data.time"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="TimePeriodValues.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -