📄 defaultkeyedvalues2d.html
字号:
Returns a hash code.</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/DefaultKeyedValues2D.html#removeColumn(java.lang.Comparable)">removeColumn</A></B>(java.lang.Comparable columnKey)</CODE><BR> Removes a column.</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/DefaultKeyedValues2D.html#removeColumn(int)">removeColumn</A></B>(int columnIndex)</CODE><BR> Removes a column.</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/DefaultKeyedValues2D.html#removeRow(java.lang.Comparable)">removeRow</A></B>(java.lang.Comparable rowKey)</CODE><BR> Removes a row.</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/DefaultKeyedValues2D.html#removeRow(int)">removeRow</A></B>(int rowIndex)</CODE><BR> Removes a row.</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/DefaultKeyedValues2D.html#removeValue(java.lang.Comparable, java.lang.Comparable)">removeValue</A></B>(java.lang.Comparable rowKey, java.lang.Comparable columnKey)</CODE><BR> Removes a value.</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/DefaultKeyedValues2D.html#setValue(java.lang.Number, java.lang.Comparable, java.lang.Comparable)">setValue</A></B>(java.lang.Number value, java.lang.Comparable rowKey, java.lang.Comparable columnKey)</CODE><BR> Adds or updates a value.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="DefaultKeyedValues2D()"><!-- --></A><H3>DefaultKeyedValues2D</H3><PRE>public <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.91"><B>DefaultKeyedValues2D</B></A>()</PRE><DL><DD>Creates a new instance (initially empty).<P></DL><HR><A NAME="DefaultKeyedValues2D(boolean)"><!-- --></A><H3>DefaultKeyedValues2D</H3><PRE>public <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.100"><B>DefaultKeyedValues2D</B></A>(boolean sortRowKeys)</PRE><DL><DD>Creates a new instance (initially empty).<P><DL><DT><B>Parameters:</B><DD><CODE>sortRowKeys</CODE> - if the row keys should be sorted.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getRowCount()"><!-- --></A><H3>getRowCount</H3><PRE>public int <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.112"><B>getRowCount</B></A>()</PRE><DL><DD>Returns the row count.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Values2D.html#getRowCount()">getRowCount</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The row count.</DL></DD></DL><HR><A NAME="getColumnCount()"><!-- --></A><H3>getColumnCount</H3><PRE>public int <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.121"><B>getColumnCount</B></A>()</PRE><DL><DD>Returns the column count.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Values2D.html#getColumnCount()">getColumnCount</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The column count.</DL></DD></DL><HR><A NAME="getValue(int, int)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.133"><B>getValue</B></A>(int row, int column)</PRE><DL><DD>Returns the value for a given row and column.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Values2D.html#getValue(int, int)">getValue</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Values2D.html" title="interface in org.jfree.data">Values2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row index.<DD><CODE>column</CODE> - the column index.<DT><B>Returns:</B><DD>The value.</DL></DD></DL><HR><A NAME="getRowKey(int)"><!-- --></A><H3>getRowKey</H3><PRE>public java.lang.Comparable <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.155"><B>getRowKey</B></A>(int row)</PRE><DL><DD>Returns the key for a given row.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html#getRowKey(int)">getRowKey</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row index (zero based).<DT><B>Returns:</B><DD>The row index.</DL></DD></DL><HR><A NAME="getRowIndex(java.lang.Comparable)"><!-- --></A><H3>getRowIndex</H3><PRE>public int <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.166"><B>getRowIndex</B></A>(java.lang.Comparable key)</PRE><DL><DD>Returns the row index for a given key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html#getRowIndex(java.lang.Comparable)">getRowIndex</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key (<code>null</code> not permitted).<DT><B>Returns:</B><DD>The row index.</DL></DD></DL><HR><A NAME="getRowKeys()"><!-- --></A><H3>getRowKeys</H3><PRE>public java.util.List <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.183"><B>getRowKeys</B></A>()</PRE><DL><DD>Returns the row keys.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html#getRowKeys()">getRowKeys</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The row keys.</DL></DD></DL><HR><A NAME="getColumnKey(int)"><!-- --></A><H3>getColumnKey</H3><PRE>public java.lang.Comparable <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.194"><B>getColumnKey</B></A>(int column)</PRE><DL><DD>Returns the key for a given column.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html#getColumnKey(int)">getColumnKey</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the column.<DT><B>Returns:</B><DD>The key.</DL></DD></DL><HR><A NAME="getColumnIndex(java.lang.Comparable)"><!-- --></A><H3>getColumnIndex</H3><PRE>public int <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.205"><B>getColumnIndex</B></A>(java.lang.Comparable key)</PRE><DL><DD>Returns the column index for a given key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html#getColumnIndex(java.lang.Comparable)">getColumnIndex</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key (<code>null</code> not permitted).<DT><B>Returns:</B><DD>The column index.</DL></DD></DL><HR><A NAME="getColumnKeys()"><!-- --></A><H3>getColumnKeys</H3><PRE>public java.util.List <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.217"><B>getColumnKeys</B></A>()</PRE><DL><DD>Returns the column keys.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html#getColumnKeys()">getColumnKeys</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues2D.html" title="interface in org.jfree.data">KeyedValues2D</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The column keys.</DL></DD></DL><HR><A NAME="getValue(java.lang.Comparable, java.lang.Comparable)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <A HREF="../../../src-html/org/jfree/data/DefaultKeyedValues2D.html#line.231"><B>getValue</B></A>(java.lang.Comparable rowKey, java.lang.Comparable columnKey)</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -