⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultkeyedvalues.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</DD><DD><DL><DT><B>Returns:</B><DD>the item count.</DL></DD></DL><HR><A NAME="getValue(int)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <B>getValue</B>(int&nbsp;item)</PRE><DL><DD>Returns a value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Values.html#getValue(int)">getValue</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Values.html" title="interface in org.jfree.data">Values</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>item</CODE> - the item of interest (zero-based index).<DT><B>Returns:</B><DD>the value.</DL></DD></DL><HR><A NAME="getKey(int)"><!-- --></A><H3>getKey</H3><PRE>public java.lang.Comparable <B>getKey</B>(int&nbsp;index)</PRE><DL><DD>Returns a key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getKey(int)">getKey</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the item index (zero-based).<DT><B>Returns:</B><DD>the row key.</DL></DD></DL><HR><A NAME="getIndex(java.lang.Comparable)"><!-- --></A><H3>getIndex</H3><PRE>public int <B>getIndex</B>(java.lang.Comparable&nbsp;key)</PRE><DL><DD>Returns the index for a given key or -1 if the key is not found.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getIndex(java.lang.Comparable)">getIndex</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key.<DT><B>Returns:</B><DD>the index.</DL></DD></DL><HR><A NAME="getKeys()"><!-- --></A><H3>getKeys</H3><PRE>public java.util.List <B>getKeys</B>()</PRE><DL><DD>Returns the keys for the values in the collection.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getKeys()">getKeys</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The keys (never <code>null</code>).</DL></DD></DL><HR><A NAME="getValue(java.lang.Comparable)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <B>getValue</B>(java.lang.Comparable&nbsp;key)</PRE><DL><DD>Returns the value (possibly <code>null</code>) for a given key.  If the key is not  recognised, the method returns <code>null</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getValue(java.lang.Comparable)">getValue</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key.<DT><B>Returns:</B><DD>the value.</DL></DD></DL><HR><A NAME="addValue(java.lang.Comparable, java.lang.Number)"><!-- --></A><H3>addValue</H3><PRE>public void <B>addValue</B>(java.lang.Comparable&nbsp;key,                     java.lang.Number&nbsp;value)</PRE><DL><DD>Adds a new value to the collection, or updates an existing value. <P> This is the same as the setValue(...) method.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key.<DD><CODE>value</CODE> - the value.</DL></DD></DL><HR><A NAME="setValue(java.lang.Comparable, java.lang.Number)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(java.lang.Comparable&nbsp;key,                     java.lang.Number&nbsp;value)</PRE><DL><DD>Updates an existing value, or adds a new value to the collection. <P> This is the same as the addValue(...) method.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key.<DD><CODE>value</CODE> - the value.</DL></DD></DL><HR><A NAME="removeValue(int)"><!-- --></A><H3>removeValue</H3><PRE>public void <B>removeValue</B>(int&nbsp;index)</PRE><DL><DD>Removes a value from the collection.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the item to remove.</DL></DD></DL><HR><A NAME="removeValue(java.lang.Comparable)"><!-- --></A><H3>removeValue</H3><PRE>public void <B>removeValue</B>(java.lang.Comparable&nbsp;key)</PRE><DL><DD>Removes a value from the collection.  If there is no value with the specified key, then this method does nothing.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key of the item to remove.</DL></DD></DL><HR><A NAME="sortByKeys(org.jfree.util.SortOrder)"><!-- --></A><H3>sortByKeys</H3><PRE>public void <B>sortByKeys</B>(org.jfree.util.SortOrder&nbsp;order)</PRE><DL><DD>Sorts the items in the list by key.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>order</CODE> - the sort order (ascending or descending).</DL></DD></DL><HR><A NAME="sortByValues(org.jfree.util.SortOrder)"><!-- --></A><H3>sortByValues</H3><PRE>public void <B>sortByValues</B>(org.jfree.util.SortOrder&nbsp;order)</PRE><DL><DD>Sorts the items in the list by value.  If the list contains <code>null</code> values, they will sort to the end of the list, irrespective of the sort order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>order</CODE> - the sort order (ascending or descending).</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE><DL><DD>Tests if this object is equal to another.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the other object.<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a hash code.</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.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - this class will not throw this exception, but subclasses          might.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/jfree/data/DefaultKeyedValueDataset.html" title="class in org.jfree.data"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/data/DefaultKeyedValues2D.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>  &nbsp;&nbsp;<A HREF="DefaultKeyedValues.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -