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

📄 character.java

📁 This is a resource based on j2me embedded,if you dont understand,you can connection with me .
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
// This file was generated AUTOMATICALLY from a template file Fri Jun 20 12:51:09 PDT 2003/* @(#)Character.java.template	1.7 03/01/13 * * Copyright  1990-2008 Sun Microsystems, Inc. All Rights Reserved.   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER   *    * This program is free software; you can redistribute it and/or   * modify it under the terms of the GNU General Public License version   * 2 only, as published by the Free Software Foundation.    *    * This program is distributed in the hope that it will be useful, but   * WITHOUT ANY WARRANTY; without even the implied warranty of   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   * General Public License version 2 for more details (a copy is   * included at /legal/license.txt).    *    * You should have received a copy of the GNU General Public License   * version 2 along with this work; if not, write to the Free Software   * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA   * 02110-1301 USA    *    * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa   * Clara, CA 95054 or visit www.sun.com if you need additional   * information or have any questions.  * */package java.lang;/** * The <code>Character</code> class wraps a value of the primitive * type <code>char</code> in an object. An object of type * <code>Character</code> contains a single field whose type is * <code>char</code>. * <p> * In addition, this class provides several methods for determining * a character's category (lowercase letter, digit, etc.) and for converting * characters from uppercase to lowercase and vice versa. * <p> * Character information is based on the Unicode Standard, version 3.0. * <p> * The methods and data of class <code>Character</code> are defined by * the information in the <i>UnicodeData</i> file that is part of the * Unicode Character Database maintained by the Unicode * Consortium. This file specifies various properties including name * and general category for every defined Unicode code point or * character range. * <p> * The file and its description are available from the Unicode Consortium at: * <ul> * <li><a href="http://www.unicode.org">http://www.unicode.org</a> * </ul> * * @author  Lee Boynton * @author  Guy Steele * @author  Akira Tanaka * @since   1.0 */public finalclass Character extends Object implements java.io.Serializable, Comparable {    /**     * The minimum radix available for conversion to and from strings.     * The constant value of this field is the smallest value permitted     * for the radix argument in radix-conversion methods such as the     * <code>digit</code> method, the <code>forDigit</code>     * method, and the <code>toString</code> method of class     * <code>Integer</code>.     *     * @see     java.lang.Character#digit(char, int)     * @see     java.lang.Character#forDigit(int, int)     * @see     java.lang.Integer#toString(int, int)     * @see     java.lang.Integer#valueOf(java.lang.String)     */    public static final int MIN_RADIX = 2;    /**     * The maximum radix available for conversion to and from strings.     * The constant value of this field is the largest value permitted     * for the radix argument in radix-conversion methods such as the     * <code>digit</code> method, the <code>forDigit</code>     * method, and the <code>toString</code> method of class     * <code>Integer</code>.     *     * @see     java.lang.Character#digit(char, int)     * @see     java.lang.Character#forDigit(int, int)     * @see     java.lang.Integer#toString(int, int)     * @see     java.lang.Integer#valueOf(java.lang.String)     */    public static final int MAX_RADIX = 36;    /**     * The constant value of this field is the smallest value of type     * <code>char</code>, <code>'&#92;u0000'</code>.     *     * @since   1.0.2     */    public static final char   MIN_VALUE = '\u0000';    /**     * The constant value of this field is the largest value of type     * <code>char</code>, <code>'&#92;uFFFF'</code>.     *     * @since   1.0.2     */    public static final char   MAX_VALUE = '\uffff';    /**     * The <code>Class</code> instance representing the primitive type     * <code>char</code>.     *     * @since   1.1     */    public static final Class TYPE = Class.getPrimitiveClass("char");   /*    * Normative general types    */   /*    * General character types    */   /**    * General category "Cn" in the Unicode specification.    * @since   1.1    */    public static final byte        UNASSIGNED                  = 0;   /**    * General category "Lu" in the Unicode specification.    * @since   1.1    */    public static final byte        UPPERCASE_LETTER            = 1;   /**    * General category "Ll" in the Unicode specification.    * @since   1.1    */    public static final byte        LOWERCASE_LETTER            = 2;   /**    * General category "Lt" in the Unicode specification.    * @since   1.1    */    public static final byte        TITLECASE_LETTER            = 3;   /**    * General category "Lm" in the Unicode specification.    * @since   1.1    */    public static final byte        MODIFIER_LETTER             = 4;   /**    * General category "Lo" in the Unicode specification.    * @since   1.1    */    public static final byte        OTHER_LETTER                = 5;   /**    * General category "Mn" in the Unicode specification.    * @since   1.1    */    public static final byte        NON_SPACING_MARK            = 6;   /**    * General category "Me" in the Unicode specification.    * @since   1.1    */    public static final byte        ENCLOSING_MARK              = 7;   /**    * General category "Mc" in the Unicode specification.    * @since   1.1    */    public static final byte        COMBINING_SPACING_MARK      = 8;   /**    * General category "Nd" in the Unicode specification.    * @since   1.1    */    public static final byte        DECIMAL_DIGIT_NUMBER        = 9;   /**    * General category "Nl" in the Unicode specification.    * @since   1.1    */    public static final byte        LETTER_NUMBER               = 10;   /**    * General category "No" in the Unicode specification.    * @since   1.1    */    public static final byte        OTHER_NUMBER                = 11;   /**    * General category "Zs" in the Unicode specification.    * @since   1.1    */    public static final byte        SPACE_SEPARATOR             = 12;   /**    * General category "Zl" in the Unicode specification.    * @since   1.1    */    public static final byte        LINE_SEPARATOR              = 13;   /**    * General category "Zp" in the Unicode specification.    * @since   1.1    */    public static final byte        PARAGRAPH_SEPARATOR         = 14;   /**    * General category "Cc" in the Unicode specification.    * @since   1.1    */    public static final byte        CONTROL                     = 15;   /**    * General category "Cf" in the Unicode specification.    * @since   1.1    */    public static final byte        FORMAT                      = 16;   /**    * General category "Co" in the Unicode specification.    * @since   1.1    */    public static final byte        PRIVATE_USE                 = 18;   /**    * General category "Cs" in the Unicode specification.    * @since   1.1    */    public static final byte        SURROGATE                   = 19;   /**    * General category "Pd" in the Unicode specification.    * @since   1.1    */    public static final byte        DASH_PUNCTUATION            = 20;   /**    * General category "Ps" in the Unicode specification.    * @since   1.1    */    public static final byte        START_PUNCTUATION           = 21;   /**    * General category "Pe" in the Unicode specification.    * @since   1.1    */    public static final byte        END_PUNCTUATION             = 22;   /**    * General category "Pc" in the Unicode specification.    * @since   1.1    */    public static final byte        CONNECTOR_PUNCTUATION       = 23;   /**    * General category "Po" in the Unicode specification.    * @since   1.1    */    public static final byte        OTHER_PUNCTUATION           = 24;   /**    * General category "Sm" in the Unicode specification.    * @since   1.1    */    public static final byte        MATH_SYMBOL                 = 25;   /**    * General category "Sc" in the Unicode specification.    * @since   1.1    */    public static final byte        CURRENCY_SYMBOL             = 26;   /**    * General category "Sk" in the Unicode specification.    * @since   1.1    */    public static final byte        MODIFIER_SYMBOL             = 27;   /**    * General category "So" in the Unicode specification.    * @since   1.1    */    public static final byte        OTHER_SYMBOL                = 28;   /**    * General category "Pi" in the Unicode specification.    * @since   1.4    */    public static final byte        INITIAL_QUOTE_PUNCTUATION   = 29;   /**    * General category "Pf" in the Unicode specification.    * @since   1.4    */    public static final byte        FINAL_QUOTE_PUNCTUATION     = 30;    /**     * Error or non-char flag     * @since 1.4     */     static final char CHAR_ERROR = '\uFFFF';    /**     * Undefined bidirectional character type. Undefined <code>char</code>     * values have undefined directionality in the Unicode specification.     * @since 1.4     */     public static final byte DIRECTIONALITY_UNDEFINED = -1;    /**     * Strong bidirectional character type "L" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_LEFT_TO_RIGHT = 0;    /**     * Strong bidirectional character type "R" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_RIGHT_TO_LEFT = 1;    /**

⌨️ 快捷键说明

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