Class Codepoint

    • Constructor Detail

      • Codepoint

        public Codepoint​(byte[] bytes)
        Deprecated.
        Create a Codepoint from a byte array using the default encoding (UTF-8)
      • Codepoint

        public Codepoint​(CharSequence value)
        Deprecated.
        Create a Codepoint from a CharSequence. Length must equal 1
      • Codepoint

        public Codepoint​(char value)
        Deprecated.
        Create a codepoint from a single char
      • Codepoint

        public Codepoint​(char high,
                         char low)
        Deprecated.
        Create a codepoint from a surrogate pair
      • Codepoint

        public Codepoint​(Codepoint codepoint)
        Deprecated.
        Create a codepoint as a copy of another codepoint
      • Codepoint

        public Codepoint​(int value)
        Deprecated.
        Create a codepoint from a specific integer value
    • Method Detail

      • getValue

        public int getValue()
        Deprecated.
        The codepoint value
      • isSupplementary

        public boolean isSupplementary()
        Deprecated.
        True if this codepoint is supplementary
      • isLowSurrogate

        public boolean isLowSurrogate()
        Deprecated.
        True if this codepoint is a low surrogate
      • isHighSurrogate

        public boolean isHighSurrogate()
        Deprecated.
        True if this codepoint is a high surrogate
      • getHighSurrogate

        public char getHighSurrogate()
        Deprecated.
        Get the high surrogate of this Codepoint
      • getLowSurrogate

        public char getLowSurrogate()
        Deprecated.
        Get the low surrogate of this Codepoint
      • isBidi

        public boolean isBidi()
        Deprecated.
        True if this Codepoint is a bidi control char
      • isDigit

        public boolean isDigit()
        Deprecated.
      • isAlpha

        public boolean isAlpha()
        Deprecated.
      • isAlphaDigit

        public boolean isAlphaDigit()
        Deprecated.
      • toChars

        public char[] toChars()
        Deprecated.
      • getCharCount

        public int getCharCount()
        Deprecated.
        Get the number of chars necessary to represent this codepoint. Returns 2 if this is a supplementary codepoint
      • toBytes

        public byte[] toBytes()
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • getPlane

        public int getPlane()
        Deprecated.
        Plane 0 (0000–FFFF): Basic Multilingual Plane (BMP). This is the plane containing most of the character assignments so far. A primary objective for the BMP is to support the unification of prior character sets as well as characters for writing systems in current use. Plane 1 (10000–1FFFF): Supplementary Multilingual Plane (SMP). Plane 2 (20000–2FFFF): Supplementary Ideographic Plane (SIP) Planes 3 to 13 (30000–DFFFF) are unassigned Plane 14 (E0000–EFFFF): Supplementary Special-purpose Plane (SSP) Plane 15 (F0000–FFFFF) reserved for the Private Use Area (PUA) Plane 16 (100000–10FFFF), reserved for the Private Use Area (PUA)
      • clone

        public Codepoint clone()
        Deprecated.
      • next

        public Codepoint next()
        Deprecated.
        Get the next codepoint
      • previous

        public Codepoint previous()
        Deprecated.
        Get the previous codepoint