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

📄 keytogroupmap.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="KeyToGroupMap()"><!-- --></A><H3>KeyToGroupMap</H3><PRE>public <B>KeyToGroupMap</B>()</PRE><DL><DD>Creates a new map with a default group named 'Default Group'.<P></DL><HR><A NAME="KeyToGroupMap(java.lang.Comparable)"><!-- --></A><H3>KeyToGroupMap</H3><PRE>public <B>KeyToGroupMap</B>(java.lang.Comparable&nbsp;defaultGroup)</PRE><DL><DD>Creates a new map with the specified default group.<P><DT><B>Parameters:</B><DD><CODE>defaultGroup</CODE> - the default group (<code>null</code> not permitted).</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="getGroups()"><!-- --></A><H3>getGroups</H3><PRE>public java.util.List <B>getGroups</B>()</PRE><DL><DD>Returns the groups (always including the default group) in the map.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The groups.</DL></DD></DL><HR><A NAME="getGroupCount()"><!-- --></A><H3>getGroupCount</H3><PRE>public int <B>getGroupCount</B>()</PRE><DL><DD>Returns the number of groups in the map.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The number of groups in the map.</DL></DD></DL><HR><A NAME="getGroupIndex(java.lang.Comparable)"><!-- --></A><H3>getGroupIndex</H3><PRE>public int <B>getGroupIndex</B>(java.lang.Comparable&nbsp;group)</PRE><DL><DD>Returns the index for the group.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>group</CODE> - the group.<DT><B>Returns:</B><DD>The group index.</DL></DD></DL><HR><A NAME="getGroup(java.lang.Comparable)"><!-- --></A><H3>getGroup</H3><PRE>public java.lang.Comparable <B>getGroup</B>(java.lang.Comparable&nbsp;key)</PRE><DL><DD>Returns the group that a key is mapped to.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key.<DT><B>Returns:</B><DD>The group (never <code>null</code>, returns the default group if there         is no mapping for the specified key).</DL></DD></DL><HR><A NAME="mapKeyToGroup(java.lang.Comparable, java.lang.Comparable)"><!-- --></A><H3>mapKeyToGroup</H3><PRE>public void <B>mapKeyToGroup</B>(java.lang.Comparable&nbsp;key,                          java.lang.Comparable&nbsp;group)</PRE><DL><DD>Maps a key to a group.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key (<code>null</code> not permitted).<DD><CODE>group</CODE> - the group (<code>null</code> permitted, replaced by default group).</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>Tests the map for equality against an arbitrary object.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to test against (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</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 map.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>org.jfree.util.PublicCloneable</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if there is a problem cloning the map.</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/KeyedValueComparatorType.html" title="class in org.jfree.data"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/data/LineFunction2D.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="KeyToGroupMap.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 + -