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

📄 charset.html

📁 学习JAVA的很好的JAVA包和文档包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="s"><!-- --></A><H3>s</H3><PRE>protected <A HREF="../structure/BitSet.html">BitSet</A> <B>s</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="CharSet()"><!-- --></A><H3>CharSet</H3><PRE>public <B>CharSet</B>()</PRE><DL><DD>Constructs an empty charset.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="add(char)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(char&nbsp;c)</PRE><DL><DD>Adds character c to set if not already there.<DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to be added to set.<DT><B>Postcondition:</B><DD>adds c to set</DL></DD></DL><HR><A NAME="remove(char)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(char&nbsp;c)</PRE><DL><DD>Removes a character from set.  Does nothing if char not in set.<DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The character to be removed.<DT><B>Postcondition:</B><DD>removes c from set, if present</DL></DD></DL><HR><A NAME="contains(char)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</B>(char&nbsp;c)</PRE><DL><DD>Detects whether c is a member of this set.<DD><DL><DT><B>Parameters:</B><DD><CODE>c</CODE> - The char sought.<DT><B>Postcondition:</B><DD>returns true iff c in set<DT><B>Returns:</B><DD>True iff c is a member of this set.</DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD>Removes the characters of the set.<DD><DL><DT><B>Postcondition:</B><DD>removes all characters from set</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> <B>clone</B>()</PRE><DL><DD>Construct a duplicate of the character set.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Postcondition:</B><DD>constructs a copy of this set<DT><B>Returns:</B><DD>Returns a duplicate of this character set.</DL></DD></DL><HR><A NAME="union(structure.CharSet)"><!-- --></A><H3>union</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> <B>union</B>(<A HREF="../structure/CharSet.html">CharSet</A>&nbsp;other)</PRE><DL><DD>Constructs a charset that is the union of this and other.<DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The other character set.<DT><B>Precondition:</B><DD>other is not null<DT><B>Postcondition:</B><DD>returns new set with characters from this or other<DT><B>Returns:</B><DD>The result of the union --- contains c if in either set.</DL></DD></DL><HR><A NAME="intersection(structure.CharSet)"><!-- --></A><H3>intersection</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> <B>intersection</B>(<A HREF="../structure/CharSet.html">CharSet</A>&nbsp;other)</PRE><DL><DD>Computes the intersection of this charset and other.<DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The other character set.<DT><B>Precondition:</B><DD>other is not null<DT><B>Postcondition:</B><DD>returns new set with characters from this and other<DT><B>Returns:</B><DD>The intersection of this and other --- char in result if in both.</DL></DD></DL><HR><A NAME="difference(structure.CharSet)"><!-- --></A><H3>difference</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> <B>difference</B>(<A HREF="../structure/CharSet.html">CharSet</A>&nbsp;other)</PRE><DL><DD>Computes the difference between this and other charset.<DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The other character set.<DT><B>Precondition:</B><DD>other is not null<DT><B>Postcondition:</B><DD>returns new set with characters from this but not other<DT><B>Returns:</B><DD>the result of difference --- chars in this but not other.</DL></DD></DL><HR><A NAME="subset(structure.CharSet)"><!-- --></A><H3>subset</H3><PRE>public boolean <B>subset</B>(<A HREF="../structure/CharSet.html">CharSet</A>&nbsp;other)</PRE><DL><DD>Detects if this set within the other.<DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The potential superset.<DT><B>Precondition:</B><DD>other is not null<DT><B>Postcondition:</B><DD>returns true if this is a subset of other</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Detect an empty charset.<DD><DL><DT><B>Postcondition:</B><DD>returns true iff set is empty<DT><B>Returns:</B><DD>True if this charset is empty.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A>&nbsp;other)</PRE><DL><DD>Detect if two sets are equal.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The other set.<DT><B>Precondition:</B><DD>other is not null<DT><B>Postcondition:</B><DD>returns true if this contains same values as other<DT><B>Returns:</B><DD>True if this set and other set are identical.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD>Compute String representation of charset.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Postcondition:</B><DD>returns string representation of set<DT><B>Returns:</B><DD>String representing this charset.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <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><a href=../copyright.html target=_top>&copy; 1998-2002 McGraw-Hill</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../structure/ChainedHashtableIterator.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../structure/CircularList.html"><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="CharSet.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -