English 中文(简体)
Java.lang - Character.UnicodeBlock
  • 时间:2024-12-22

Java.lang.Character.UnicodeBlock Class


Previous Page Next Page  

The java.lang.Character.UnicodeBlock class is 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.

Class Declaration

Following is the declaration for java.lang.Character.UnicodeBlock class −

pubpc static final class Character.UnicodeBlock
   extends Character.Subset

Class Methods

Sr.No.

Method & Description

1

forName()

This method returns the UnicodeBlock with the given name.

2

of()

This method returns the object representing the Unicode block containing the given character, or null if the character is not a member of a defined block.

Advertisements