📄 matrixseries.html
字号:
data</H3><PRE>protected double[][] <B>data</B></PRE><DL><DD>Series matrix values<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MatrixSeries(java.lang.String, int, int)"><!-- --></A><H3>MatrixSeries</H3><PRE>public <B>MatrixSeries</B>(java.lang.String name, int rows, int columns)</PRE><DL><DD>Constructs a new matrix series. <p> By default, all matrix items are initialzed to 0. </p><P><DT><B>Parameters:</B><DD><CODE>name</CODE> - series name (<code>null</code> not permitted).<DD><CODE>rows</CODE> - the number of rows.<DD><CODE>columns</CODE> - the number of columns.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getColumnsCount()"><!-- --></A><H3>getColumnsCount</H3><PRE>public int <B>getColumnsCount</B>()</PRE><DL><DD>Returns the number of columns in this matrix series.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of columns in this matrix series.</DL></DD></DL><HR><A NAME="getItem(int)"><!-- --></A><H3>getItem</H3><PRE>public java.lang.Number <B>getItem</B>(int itemIndex)</PRE><DL><DD>Return the matrix item at the specified index.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>itemIndex</CODE> - item index.<DT><B>Returns:</B><DD>matrix item at the specified index.</DL></DD></DL><HR><A NAME="getItemColumn(int)"><!-- --></A><H3>getItemColumn</H3><PRE>public int <B>getItemColumn</B>(int itemIndex)</PRE><DL><DD>Returns the column of the specified item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>itemIndex</CODE> - the index of the item.<DT><B>Returns:</B><DD>the column of the specified item.</DL></DD></DL><HR><A NAME="getItemCount()"><!-- --></A><H3>getItemCount</H3><PRE>public int <B>getItemCount</B>()</PRE><DL><DD>Returns the number of items in the series.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The item count.</DL></DD></DL><HR><A NAME="getItemRow(int)"><!-- --></A><H3>getItemRow</H3><PRE>public int <B>getItemRow</B>(int itemIndex)</PRE><DL><DD>Returns the row of the specified item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>itemIndex</CODE> - the index of the item.<DT><B>Returns:</B><DD>the row of the specified item.</DL></DD></DL><HR><A NAME="getRowCount()"><!-- --></A><H3>getRowCount</H3><PRE>public int <B>getRowCount</B>()</PRE><DL><DD>Returns the number of rows in this matrix series.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the number of rows in this matrix series.</DL></DD></DL><HR><A NAME="get(int, int)"><!-- --></A><H3>get</H3><PRE>public double <B>get</B>(int i, int j)</PRE><DL><DD>Returns the value of the specified item in this matrix series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the row of the item.<DD><CODE>j</CODE> - the column of the item.<DT><B>Returns:</B><DD>the value of the specified item in this matrix series.</DL></DD></DL><HR><A NAME="update(int, int, double)"><!-- --></A><H3>update</H3><PRE>public void <B>update</B>(int i, int j, double mij)</PRE><DL><DD>Updates the value of the specified item in this matrix series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>i</CODE> - the row of the item.<DD><CODE>j</CODE> - the column of the item.<DD><CODE>mij</CODE> - the new value for the item.</DL></DD></DL><HR><A NAME="zeroAll()"><!-- --></A><H3>zeroAll</H3><PRE>public void <B>zeroAll</B>()</PRE><DL><DD>Sets all matrix values to zero and sends a <A HREF="../../../org/jfree/data/SeriesChangeEvent.html" title="class in org.jfree.data"><CODE>SeriesChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Tests this object instance for equality with an arbitrary 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>obj</CODE> - the object (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</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/LineFunction2D.html" title="class in org.jfree.data"><B>PREV CLASS</B></A> <A HREF="../../../org/jfree/data/MatrixSeriesCollection.html" title="class in org.jfree.data"><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="MatrixSeries.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 + -