📄 tag.html
字号:
<A NAME="Tag(int, java.lang.String)"><!-- --></A><H3>Tag</H3><PRE>public <B>Tag</B>(int ident, java.lang.String readable)</PRE><DL><DD>Creates a new <code>Tag</code> instance.<P><DL><DT><B>Parameters:</B><DD><CODE>ident</CODE> - the ID for the new Tag.<DD><CODE>readable</CODE> - the description for the new Tag.</DL></DL><HR><A NAME="Tag(int, java.lang.String, java.lang.String)"><!-- --></A><H3>Tag</H3><PRE>public <B>Tag</B>(int ident, java.lang.String identStr, java.lang.String readable)</PRE><DL><DD>Creates a new <code>Tag</code> instance.<P><DL><DT><B>Parameters:</B><DD><CODE>ident</CODE> - the ID for the new Tag.<DD><CODE>identStr</CODE> - the ID string for the new Tag (case-insensitive).<DD><CODE>readable</CODE> - the description for the new Tag.</DL></DL><HR><A NAME="Tag(int, java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>Tag</H3><PRE>public <B>Tag</B>(int ident, java.lang.String identStr, java.lang.String readable, boolean upperCase)</PRE><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="getID()"><!-- --></A><H3>getID</H3><PRE>public int <B>getID</B>()</PRE><DL><DD>Gets the numeric ID of the Tag.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ID of the Tag.</DL></DD></DL><HR><A NAME="setID(int)"><!-- --></A><H3>setID</H3><PRE>public void <B>setID</B>(int id)</PRE><DL><DD>Sets the numeric ID of the Tag.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the ID of the Tag.</DL></DD></DL><HR><A NAME="getIDStr()"><!-- --></A><H3>getIDStr</H3><PRE>public java.lang.String <B>getIDStr</B>()</PRE><DL><DD>Gets the string ID of the Tag.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the string ID of the Tag.</DL></DD></DL><HR><A NAME="setIDStr(java.lang.String)"><!-- --></A><H3>setIDStr</H3><PRE>public void <B>setIDStr</B>(java.lang.String str)</PRE><DL><DD>Sets the string ID of the Tag.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>str</CODE> - the string ID of the Tag.</DL></DD></DL><HR><A NAME="getReadable()"><!-- --></A><H3>getReadable</H3><PRE>public java.lang.String <B>getReadable</B>()</PRE><DL><DD>Gets the string description of the Tag.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the description of the Tag.</DL></DD></DL><HR><A NAME="setReadable(java.lang.String)"><!-- --></A><H3>setReadable</H3><PRE>public void <B>setReadable</B>(java.lang.String r)</PRE><DL><DD>Sets the string description of the Tag.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>r</CODE> - the description of the Tag.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns the IDStr<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the IDStr</DL></DD></DL><HR><A NAME="toOptionList(weka.core.Tag[])"><!-- --></A><H3>toOptionList</H3><PRE>public static java.lang.String <B>toOptionList</B>(<A HREF="../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] tags)</PRE><DL><DD>returns a list that can be used in the listOption methods to list all the available ID strings, e.g.: <0|1|2> or <what|ever><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tags</CODE> - the tags to create the list for<DT><B>Returns:</B><DD>a list of all ID strings</DL></DD></DL><HR><A NAME="toOptionSynopsis(weka.core.Tag[])"><!-- --></A><H3>toOptionSynopsis</H3><PRE>public static java.lang.String <B>toOptionSynopsis</B>(<A HREF="../../weka/core/Tag.html" title="class in weka.core">Tag</A>[] tags)</PRE><DL><DD>returns a string that can be used in the listOption methods to list all the available options, i.e., "\t\tID = Text\n" for each option<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tags</CODE> - the tags to create the string for<DT><B>Returns:</B><DD>a string explaining the tags</DL></DD></DL><HR><A NAME="getRevision()"><!-- --></A><H3>getRevision</H3><PRE>public java.lang.String <B>getRevision</B>()</PRE><DL><DD>Returns the revision string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../weka/core/RevisionHandler.html#getRevision()">getRevision</A></CODE> in interface <CODE><A HREF="../../weka/core/RevisionHandler.html" title="interface in weka.core">RevisionHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the revision</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=2 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> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</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="../../weka/core/SystemInfo.html" title="class in weka.core"><B>PREV CLASS</B></A> <A HREF="../../weka/core/TechnicalInformation.html" title="class in weka.core"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?weka/core/Tag.html" target="_top"><B>FRAMES</B></A> <A HREF="Tag.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + -