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

📄 methodhandler.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MethodHandler()"><!-- --></A><H3>MethodHandler</H3><PRE>public <B>MethodHandler</B>()</PRE><DL><DD>initializes the handler<P></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="keys()"><!-- --></A><H3>keys</H3><PRE>public java.util.Enumeration <B>keys</B>()</PRE><DL><DD>returns an enumeration over all currently stored custom methods, i.e. it returns the display names/classes in the enumeration.<P><DD><DL><DT><B>Returns:</B><DD>the currently stored methods<DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="add(java.lang.String, java.lang.reflect.Method)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(java.lang.String&nbsp;displayName,                java.lang.reflect.Method&nbsp;method)</PRE><DL><DD>adds the specified method for the property with the given displayname to its internal list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>displayName</CODE> - the display name of the property to handle manually<DD><CODE>method</CODE> - the method, which will be invoked by reflection to handle        the property manually<DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="add(java.lang.Class, java.lang.reflect.Method)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(java.lang.Class&nbsp;c,                java.lang.reflect.Method&nbsp;method)</PRE><DL><DD>adds the specified method for the given class to its internal list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the class to handle manually<DD><CODE>method</CODE> - the method, which will be invoked by reflection to handle        the property manually<DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="remove(java.lang.String)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(java.lang.String&nbsp;displayName)</PRE><DL><DD>removes the method for the property specified by the display name from its internal list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>displayName</CODE> - the display name of the propery to remove the custom        method for<DT><B>Returns:</B><DD>whether the method was stored in the list at all<DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="remove(java.lang.Class)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(java.lang.Class&nbsp;c)</PRE><DL><DD>removes the method for the specified class from its internal list.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the class to remove the custom method for<DT><B>Returns:</B><DD>whether the method was stored in the list at all<DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="contains(java.lang.String)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(java.lang.String&nbsp;displayName)</PRE><DL><DD>checks whether a method is stored for the given property<P><DD><DL><DT><B>Parameters:</B><DD><CODE>displayName</CODE> - the display name of the property to check for a method<DT><B>Returns:</B><DD>whether a method is currently stored<DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="contains(java.lang.Class)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(java.lang.Class&nbsp;c)</PRE><DL><DD>checks whether a method is stored for the given class<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the class to check for a method<DT><B>Returns:</B><DD>whether a method is currently stored<DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="get(java.lang.String)"><!-- --></A><H3>get</H3><PRE>public java.lang.reflect.Method <B>get</B>(java.lang.String&nbsp;displayName)</PRE><DL><DD>returns the stored method for the given property<P><DD><DL><DT><B>Parameters:</B><DD><CODE>displayName</CODE> - the display name of the property to retrieve the         method for<DT><B>Returns:</B><DD>the method associated with the display name, can be <code>null</code><DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="get(java.lang.Class)"><!-- --></A><H3>get</H3><PRE>public java.lang.reflect.Method <B>get</B>(java.lang.Class&nbsp;c)</PRE><DL><DD>returns the stored method for the given class<P><DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - the class to retrieve the method for<DT><B>Returns:</B><DD>the method associated with the class, can be <code>null</code><DT><B>See Also:</B><DD><CODE>#m_Methods</CODE></DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>returns the number of currently stored Methods<P><DD><DL><DT><B>Returns:</B><DD>the nummber of methods</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>removes all mappings<P><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns the internal Hashtable (propety/class - method relationship) in a string representation<P><DD><DL><DT><B>Returns:</B><DD>the object as string</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="../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</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="../../../weka/core/xml/KOML.html" title="class in weka.core.xml"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/core/xml/PropertyHandler.html" title="class in weka.core.xml"><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="MethodHandler.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 + -