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

📄 character.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DD></DL><HR><A NAME="CONTROL"><!-- --></A><H3>CONTROL</H3><PRE>public static final byte <B>CONTROL</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="FORMAT"><!-- --></A><H3>FORMAT</H3><PRE>public static final byte <B>FORMAT</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="PRIVATE_USE"><!-- --></A><H3>PRIVATE_USE</H3><PRE>public static final byte <B>PRIVATE_USE</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="SURROGATE"><!-- --></A><H3>SURROGATE</H3><PRE>public static final byte <B>SURROGATE</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="DASH_PUNCTUATION"><!-- --></A><H3>DASH_PUNCTUATION</H3><PRE>public static final byte <B>DASH_PUNCTUATION</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="START_PUNCTUATION"><!-- --></A><H3>START_PUNCTUATION</H3><PRE>public static final byte <B>START_PUNCTUATION</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="END_PUNCTUATION"><!-- --></A><H3>END_PUNCTUATION</H3><PRE>public static final byte <B>END_PUNCTUATION</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="CONNECTOR_PUNCTUATION"><!-- --></A><H3>CONNECTOR_PUNCTUATION</H3><PRE>public static final byte <B>CONNECTOR_PUNCTUATION</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="OTHER_PUNCTUATION"><!-- --></A><H3>OTHER_PUNCTUATION</H3><PRE>public static final byte <B>OTHER_PUNCTUATION</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="MATH_SYMBOL"><!-- --></A><H3>MATH_SYMBOL</H3><PRE>public static final byte <B>MATH_SYMBOL</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="CURRENCY_SYMBOL"><!-- --></A><H3>CURRENCY_SYMBOL</H3><PRE>public static final byte <B>CURRENCY_SYMBOL</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="MODIFIER_SYMBOL"><!-- --></A><H3>MODIFIER_SYMBOL</H3><PRE>public static final byte <B>MODIFIER_SYMBOL</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></DL><HR><A NAME="OTHER_SYMBOL"><!-- --></A><H3>OTHER_SYMBOL</H3><PRE>public static final byte <B>OTHER_SYMBOL</B></PRE><DL><DD>Public data for enumerated Unicode general category types.<DD><DL><DT><B>Since: </B><DD>JDK1.1</DD></DL></DD></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="Character(char)"><!-- --></A><H3>Character</H3><PRE>public <B>Character</B>(char&nbsp;value)</PRE><DL><DD>Constructs a <code>Character</code> object and initializes it so  that it represents the primitive <code>value</code> argument.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - value for the new <code>Character</code> object.</DL></DD></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="charValue()"><!-- --></A><H3>charValue</H3><PRE>public char <B>charValue</B>()</PRE><DL><DD>Returns the value of this Character object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the primitive <code>char</code> value represented by          this object.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Returns a hash code for this Character.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/lang/Object.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a hash code value for this object.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;obj)</PRE><DL><DD>Compares this object against the specified object. The result is <code>true</code> if and only if the argument is not  <code>null</code> and is a <code>Character</code> object that  represents the same <code>char</code> value as this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/lang/Object.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to compare with.<DT><B>Returns:</B><DD><code>true</code> if the objects are the same;          <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>toString</B>()</PRE><DL><DD>Returns a String object representing this character's value. Converts this <code>Character</code> object to a string. The  result is a string whose length is <code>1</code>. The string's  sole component is the primitive <code>char</code> value represented  by this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../java/lang/Object.html">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representation of this object.</DL></DD></DL><HR><A NAME="isLowerCase(char)"><!-- --></A><H3>isLowerCase</H3><PRE>public static boolean <B>isLowerCase</B>(char&nbsp;ch)</PRE><DL><DD>Determines if the specified character is a lowercase character.  A character is lowercase if it is not in the range  <code>'&#92;u2000'</code> through <code>'&#92;u2FFF'</code>, the Unicode  attribute table does not specify a mapping to lowercase for the  character, and at least one of the following is true:  <ul> <li>The attribute table specifies a mapping to uppercase for the      character.  <li>The name for the character contains the words "<code>SMALL      LETTER</code>".  <li>The name for the character contains the words "<code>SMALL      LIGATURE</code>".  </ul> <p> A character is considered to be lowercase if and only if it is specified to be lowercase by the Unicode 2.0 standard (category "Ll" in the Unicode specification data file). <p> Of the ISO-LATIN-1 characters (character codes 0x0000 through 0x00FF), the following are lowercase: <p><blockquote><pre> a b c d e f g h i j k l m n o p q r s t u v w x y z &#92;u00DF &#92;u00E0 &#92;u00E1 &#92;u00E2 &#92;u00E3 &#92;u00E4 &#92;u00E5 &#92;u00E6 &#92;u00E7 &#92;u00E8 &#92;u00E9 &#92;u00EA &#92;u00EB &#92;u00EC &#92;u00ED &#92;u00EE &#92;u00EF &#92;u00F0 &#92;u00F1 &#92;u00F2 &#92;u00F3 &#92;u00F4 &#92;u00F5 &#92;u00F6 &#92;u00F8 &#92;u00F9 &#92;u00FA &#92;u00FB &#92;u00FC &#92;u00FD &#92;u00FE &#92;u00FF </pre></blockquote> <p> Many other Unicode characters are lowercase, too.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ch</CODE> - the character to be tested.<DT><B>Returns:</B><DD><code>true</code> if the character is lowercase;          <code>false</code> otherwise.<DT><B>See Also: </B><DD><A HREF="../../java/lang/Character.html#isLowerCase(char)"><CODE>isLowerCase(char)</CODE></A>, <A HREF="../../java/lang/Character.html#isTitleCase(char)"><CODE>isTitleCase(char)</CODE></A>, <A HREF="../../java/lang/Character.html#toLowerCase(char)"><CODE>toLowerCase(char)</CODE></A></DL></DD></DL><HR><A NAME="isUpperCase(char)"><!-- --></A><H3>isUpperCase</H3><PRE>public static boolean <B>isUpperCase</B>(char&nbsp;ch)</PRE><DL><DD>Determines if the specified character is an uppercase character.  A character is uppercase if it is not in the range  <code>'&#92;u2000'</code> through <code>'&#92;u2FFF'</code>, the Unicode  attribute table does not specify a mapping to uppercase for the  character, and at least one of the following is true:  <ul> <li>The attribute table specifies a mapping to lowercase for the     character.  <li>The name for the character contains the words      "<code>CAPITAL LETTER</code>". <li>The name for the character contains the words     "<code>CAPITAL LIGATURE</code>". </ul> <p> Of the ISO-LATIN-1 characters (character codes 0x0000 through 0x00FF), the following are uppercase: <p><blockquote><pre> A B C D E F G H I J K L M N O P Q R S T U V W X Y Z &#92;u00C0 &#92;u00C1 &#92;u00C2 &#92;u00C3 &#92;u00C4 &#92;u00C5 &#92;u00C6 &#92;u00C7 &#92;u00C8 &#92;u00C9 &#92;u00CA &#92;u00CB &#92;u00CC &#92;u00CD &#92;u00CE &#92;u00CF &#92;u00D0

⌨️ 快捷键说明

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