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

📄 character.java

📁 This is a resource based on j2me embedded,if you dont understand,you can connection with me .
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
    * Strong bidirectional character type "AL" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = 2;    /**     * Weak bidirectional character type "EN" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_EUROPEAN_NUMBER = 3;    /**     * Weak bidirectional character type "ES" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = 4;    /**     * Weak bidirectional character type "ET" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = 5;    /**     * Weak bidirectional character type "AN" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_ARABIC_NUMBER = 6;    /**     * Weak bidirectional character type "CS" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = 7;    /**     * Weak bidirectional character type "NSM" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_NONSPACING_MARK = 8;    /**     * Weak bidirectional character type "BN" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL = 9;    /**     * Neutral bidirectional character type "B" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR = 10;    /**     * Neutral bidirectional character type "S" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR = 11;    /**     * Neutral bidirectional character type "WS" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_WHITESPACE = 12;    /**     * Neutral bidirectional character type "ON" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_OTHER_NEUTRALS = 13;    /**     * Strong bidirectional character type "LRE" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = 14;    /**     * Strong bidirectional character type "LRO" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = 15;    /**     * Strong bidirectional character type "RLE" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = 16;    /**     * Strong bidirectional character type "RLO" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = 17;    /**     * Weak bidirectional character type "PDF" in the Unicode specification.     * @since 1.4     */    public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = 18;    // Maximum character handled by internal fast-path code which    // avoids initializing large tables.    // Note: performance of this "fast-path" code may be sub-optimal    // in negative cases for some accessors due to complicated ranges.    // Should revisit after optimization of table initialization.    private static final int FAST_PATH_MAX = 255;    /**     * Instances of this class represent particular subsets of the Unicode     * character set.  The only family of subsets defined in the     * <code>Character</code> class is <code>{@link Character.UnicodeBlock     * UnicodeBlock}</code>.  Other portions of the Java API may define other     * subsets for their own purposes.     *     * @since 1.2     */    public static class Subset  {        private String name;        /**         * Constructs a new <code>Subset</code> instance.         *         * @exception NullPointerException if name is <code>null</code>         * @param  name  The name of this subset         */        protected Subset(String name) {            if (name == null) {                throw new NullPointerException("name");            }            this.name = name;        }        /**         * Compares two <code>Subset</code> objects for equality.         * This method returns <code>true</code> if and only if         * <code>this</code> and the argument refer to the same         * object; since this method is <code>final</code>, this         * guarantee holds for all subclasses.         */        public final boolean equals(Object obj) {            return (this == obj);        }        /**         * Returns the standard hash code as defined by the         * <code>{@link Object#hashCode}</code> method.  This method         * is <code>final</code> in order to ensure that the         * <code>equals</code> and <code>hashCode</code> methods will         * be consistent in all subclasses.         */        public final int hashCode() {            return super.hashCode();        }        /**         * Returns the name of this subset.         */        public final String toString() {            return name;        }    }    /**     * A family of character subsets representing the character blocks in the     * Unicode specification. Character blocks generally define characters     * used for a specific script or purpose. A character is contained by     * at most one Unicode block.     *     * @since 1.2     */    public static final class UnicodeBlock extends Subset {        private UnicodeBlock(String name) {            super(name);        }        /**         * Constant for the Unicode character block of the same name.         */        public static final UnicodeBlock            BASIC_LATIN                = new UnicodeBlock("BASIC_LATIN"),            LATIN_1_SUPPLEMENT                = new UnicodeBlock("LATIN_1_SUPPLEMENT"),            LATIN_EXTENDED_A                = new UnicodeBlock("LATIN_EXTENDED_A"),            LATIN_EXTENDED_B                = new UnicodeBlock("LATIN_EXTENDED_B"),            IPA_EXTENSIONS                = new UnicodeBlock("IPA_EXTENSIONS"),            SPACING_MODIFIER_LETTERS                = new UnicodeBlock("SPACING_MODIFIER_LETTERS"),            COMBINING_DIACRITICAL_MARKS                = new UnicodeBlock("COMBINING_DIACRITICAL_MARKS"),            GREEK                = new UnicodeBlock("GREEK"),            CYRILLIC                = new UnicodeBlock("CYRILLIC"),            ARMENIAN                = new UnicodeBlock("ARMENIAN"),            HEBREW                = new UnicodeBlock("HEBREW"),            ARABIC                = new UnicodeBlock("ARABIC"),            DEVANAGARI                = new UnicodeBlock("DEVANAGARI"),            BENGALI                = new UnicodeBlock("BENGALI"),            GURMUKHI                = new UnicodeBlock("GURMUKHI"),            GUJARATI                = new UnicodeBlock("GUJARATI"),            ORIYA                = new UnicodeBlock("ORIYA"),            TAMIL                = new UnicodeBlock("TAMIL"),            TELUGU                = new UnicodeBlock("TELUGU"),            KANNADA                = new UnicodeBlock("KANNADA"),            MALAYALAM                = new UnicodeBlock("MALAYALAM"),            THAI                = new UnicodeBlock("THAI"),            LAO                = new UnicodeBlock("LAO"),            TIBETAN                = new UnicodeBlock("TIBETAN"),            GEORGIAN                = new UnicodeBlock("GEORGIAN"),            HANGUL_JAMO                = new UnicodeBlock("HANGUL_JAMO"),            LATIN_EXTENDED_ADDITIONAL                = new UnicodeBlock("LATIN_EXTENDED_ADDITIONAL"),            GREEK_EXTENDED                = new UnicodeBlock("GREEK_EXTENDED"),            GENERAL_PUNCTUATION                = new UnicodeBlock("GENERAL_PUNCTUATION"),            SUPERSCRIPTS_AND_SUBSCRIPTS                = new UnicodeBlock("SUPERSCRIPTS_AND_SUBSCRIPTS"),            CURRENCY_SYMBOLS                = new UnicodeBlock("CURRENCY_SYMBOLS"),            COMBINING_MARKS_FOR_SYMBOLS                = new UnicodeBlock("COMBINING_MARKS_FOR_SYMBOLS"),            LETTERLIKE_SYMBOLS                = new UnicodeBlock("LETTERLIKE_SYMBOLS"),            NUMBER_FORMS                = new UnicodeBlock("NUMBER_FORMS"),            ARROWS                = new UnicodeBlock("ARROWS"),            MATHEMATICAL_OPERATORS                = new UnicodeBlock("MATHEMATICAL_OPERATORS"),            MISCELLANEOUS_TECHNICAL                = new UnicodeBlock("MISCELLANEOUS_TECHNICAL"),            CONTROL_PICTURES                = new UnicodeBlock("CONTROL_PICTURES"),            OPTICAL_CHARACTER_RECOGNITION                = new UnicodeBlock("OPTICAL_CHARACTER_RECOGNITION"),            ENCLOSED_ALPHANUMERICS                = new UnicodeBlock("ENCLOSED_ALPHANUMERICS"),            BOX_DRAWING                = new UnicodeBlock("BOX_DRAWING"),            BLOCK_ELEMENTS                = new UnicodeBlock("BLOCK_ELEMENTS"),            GEOMETRIC_SHAPES                = new UnicodeBlock("GEOMETRIC_SHAPES"),            MISCELLANEOUS_SYMBOLS                = new UnicodeBlock("MISCELLANEOUS_SYMBOLS"),            DINGBATS                = new UnicodeBlock("DINGBATS"),            CJK_SYMBOLS_AND_PUNCTUATION                = new UnicodeBlock("CJK_SYMBOLS_AND_PUNCTUATION"),            HIRAGANA                = new UnicodeBlock("HIRAGANA"),            KATAKANA                = new UnicodeBlock("KATAKANA"),            BOPOMOFO                = new UnicodeBlock("BOPOMOFO"),            HANGUL_COMPATIBILITY_JAMO                = new UnicodeBlock("HANGUL_COMPATIBILITY_JAMO"),            KANBUN                = new UnicodeBlock("KANBUN"),            ENCLOSED_CJK_LETTERS_AND_MONTHS                = new UnicodeBlock("ENCLOSED_CJK_LETTERS_AND_MONTHS"),            CJK_COMPATIBILITY                = new UnicodeBlock("CJK_COMPATIBILITY"),            CJK_UNIFIED_IDEOGRAPHS                = new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS"),            HANGUL_SYLLABLES                = new UnicodeBlock("HANGUL_SYLLABLES"),            SURROGATES_AREA                = new UnicodeBlock("SURROGATES_AREA"),            PRIVATE_USE_AREA                = new UnicodeBlock("PRIVATE_USE_AREA"),            CJK_COMPATIBILITY_IDEOGRAPHS                = new UnicodeBlock("CJK_COMPATIBILITY_IDEOGRAPHS"),            ALPHABETIC_PRESENTATION_FORMS                = new UnicodeBlock("ALPHABETIC_PRESENTATION_FORMS"),            ARABIC_PRESENTATION_FORMS_A                = new UnicodeBlock("ARABIC_PRESENTATION_FORMS_A"),            COMBINING_HALF_MARKS                = new UnicodeBlock("COMBINING_HALF_MARKS"),            CJK_COMPATIBILITY_FORMS                = new UnicodeBlock("CJK_COMPATIBILITY_FORMS"),            SMALL_FORM_VARIANTS                = new UnicodeBlock("SMALL_FORM_VARIANTS"),            ARABIC_PRESENTATION_FORMS_B                = new UnicodeBlock("ARABIC_PRESENTATION_FORMS_B"),            HALFWIDTH_AND_FULLWIDTH_FORMS                = new UnicodeBlock("HALFWIDTH_AND_FULLWIDTH_FORMS"),            SPECIALS                = new UnicodeBlock("SPECIALS");        /**         * Constant for the Unicode character block of the same name.         *         * @since 1.4         */        public static final UnicodeBlock            SYRIAC                = new UnicodeBlock("SYRIAC"),            THAANA                = new UnicodeBlock("THAANA"),            SINHALA                = new UnicodeBlock("SINHALA"),            MYANMAR                = new UnicodeBlock("MYANMAR"),            ETHIOPIC                = new UnicodeBlock("ETHIOPIC"),            CHEROKEE                = new UnicodeBlock("CHEROKEE"),            UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS                = new UnicodeBlock("UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS"),            OGHAM                = new UnicodeBlock("OGHAM"),            RUNIC                = new UnicodeBlock("RUNIC"),            KHMER                = new UnicodeBlock("KHMER"),            MONGOLIAN                = new UnicodeBlock("MONGOLIAN"),            BRAILLE_PATTERNS                = new UnicodeBlock("BRAILLE_PATTERNS"),            CJK_RADICALS_SUPPLEMENT                = new UnicodeBlock("CJK_RADICALS_SUPPLEMENT"),            KANGXI_RADICALS                = new UnicodeBlock("KANGXI_RADICALS"),            IDEOGRAPHIC_DESCRIPTION_CHARACTERS =                new UnicodeBlock("IDEOGRAPHIC_DESCRIPTION_CHARACTERS"),            BOPOMOFO_EXTENDED                = new UnicodeBlock("BOPOMOFO_EXTENDED"),            CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A                = new UnicodeBlock("CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A"),            YI_SYLLABLES                = new UnicodeBlock("YI_SYLLABLES"),            YI_RADICALS                = new UnicodeBlock("YI_RADICALS");

⌨️ 快捷键说明

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