📄 character.html
字号:
<BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#OTHER_SYMBOL">OTHER_SYMBOL</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#PARAGRAPH_SEPARATOR">PARAGRAPH_SEPARATOR</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#PRIVATE_USE">PRIVATE_USE</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#SPACE_SEPARATOR">SPACE_SEPARATOR</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#START_PUNCTUATION">START_PUNCTUATION</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#SURROGATE">SURROGATE</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#TITLECASE_LETTER">TITLECASE_LETTER</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../java/lang/Class.html">Class</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#TYPE">TYPE</A></B></CODE><BR> The Class object representing the primitive type char.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#UNASSIGNED">UNASSIGNED</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#UPPERCASE_LETTER">UPPERCASE_LETTER</A></B></CODE><BR> Public data for enumerated Unicode general category types.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../java/lang/Character.html#Character(char)">Character</A></B>(char value)</CODE><BR> Constructs a <code>Character</code> object and initializes it so that it represents the primitive <code>value</code> argument.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> char</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#charValue()">charValue</A></B>()</CODE><BR> Returns the value of this Character object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#compareTo(java.lang.Character)">compareTo</A></B>(<A HREF="../../java/lang/Character.html">Character</A> anotherCharacter)</CODE><BR> Compares two Characters numerically.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#compareTo(java.lang.Object)">compareTo</A></B>(<A HREF="../../java/lang/Object.html">Object</A> o)</CODE><BR> Compares this Character to another Object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#digit(char, int)">digit</A></B>(char ch, int radix)</CODE><BR> Returns the numeric value of the character <code>ch</code> in the specified radix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#equals(java.lang.Object)">equals</A></B>(<A HREF="../../java/lang/Object.html">Object</A> obj)</CODE><BR> Compares this object against the specified object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static char</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#forDigit(int, int)">forDigit</A></B>(int digit, int radix)</CODE><BR> Determines the character representation for a specific digit in the specified radix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#getNumericValue(char)">getNumericValue</A></B>(char ch)</CODE><BR> Returns the Unicode numeric value of the character as a nonnegative integer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#getType(char)">getType</A></B>(char ch)</CODE><BR> Returns a value indicating a character category.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns a hash code for this Character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isDefined(char)">isDefined</A></B>(char ch)</CODE><BR> Determines if a character has a defined meaning in Unicode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isDigit(char)">isDigit</A></B>(char ch)</CODE><BR> Determines if the specified character is a digit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isIdentifierIgnorable(char)">isIdentifierIgnorable</A></B>(char ch)</CODE><BR> Determines if the specified character should be regarded as an ignorable character in a Java identifier or a Unicode identifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isISOControl(char)">isISOControl</A></B>(char ch)</CODE><BR> Determines if the specified character is an ISO control character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isJavaIdentifierPart(char)">isJavaIdentifierPart</A></B>(char ch)</CODE><BR> Determines if the specified character may be part of a Java identifier as other than the first character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isJavaIdentifierStart(char)">isJavaIdentifierStart</A></B>(char ch)</CODE><BR> Determines if the specified character is permissible as the first character in a Java identifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isJavaLetter(char)">isJavaLetter</A></B>(char ch)</CODE><BR> <B>Deprecated.</B> <I>Replaced by isJavaIdentifierStart(char).</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isJavaLetterOrDigit(char)">isJavaLetterOrDigit</A></B>(char ch)</CODE><BR> <B>Deprecated.</B> <I>Replaced by isJavaIdentifierPart(char).</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isLetter(char)">isLetter</A></B>(char ch)</CODE><BR> Determines if the specified character is a letter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isLetterOrDigit(char)">isLetterOrDigit</A></B>(char ch)</CODE><BR> Determines if the specified character is a letter or digit.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isLowerCase(char)">isLowerCase</A></B>(char ch)</CODE><BR> Determines if the specified character is a lowercase character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isSpace(char)">isSpace</A></B>(char ch)</CODE><BR> <B>Deprecated.</B> <I>Replaced by isWhitespace(char).</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isSpaceChar(char)">isSpaceChar</A></B>(char ch)</CODE><BR> Determines if the specified character is a Unicode space character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isTitleCase(char)">isTitleCase</A></B>(char ch)</CODE><BR> Determines if the specified character is a titlecase character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isUnicodeIdentifierPart(char)">isUnicodeIdentifierPart</A></B>(char ch)</CODE><BR> Determines if the specified character may be part of a Unicode identifier as other than the first character.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/lang/Character.html#isUnicodeIdentifierStart(char)">isUnicodeIdentifierStart</A></B>(char ch)</CODE><BR> Determines if the specified character is permissible as the first character in a Unicode identifier.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -