java.lang.Character isIdeographic(int codePoint)


The Character.isIdeographic(int codePoint) java method determines if the specified character (Unicode code point) is a CJKV (Chinese, Japanese, Korean and Vietnamese) ideograph, as defined by the Unicode Standard.

The isIdeographic(int codePoint) method of Character class is static thus it should be accessed statically which means the we would be calling this method in this format:

Character.isIdeographic(int codePoint)

Non static method is usually called by just declaring method_name(argument) however in this case since the method is static, it should be called by appending the class name as suffix. We will be encountering a compilation problem if we call the java isIdeographic() method non statically.

Method Syntax

public static boolean isIdeographic(int codePoint)

Method Argument

Data Type Parameter Description
int codepoint the character (Unicode code point) to be tested.

Method Returns

The isIdeographic(int codePoint) method of Character class returns true if the character is a Unicode ideograph character, false otherwise.


Requires Java 1.7 and up

Java Character isIdeographic(int codePoint) Example

Below is a simple java example on the usage of isIdeographic(int codePoint) method of Character class.


 * This example source code demonstrates the use of 
 * isIdeographic(int codePoint) method of Character class.

public class CharacterIsIdeographicExample {

	public static void main(String[] args) {
		// initialize a codepoint
		int codepoint = 13480;
		// check if the codepoint is a CJKV ideograph
		boolean checkBool = Character.isIdeographic(codepoint);
		// print result
			System.out.print("Codepoint '"+codepoint+"' is a CJKV ideograph");
			System.out.print("Codepoint '"+codepoint+"' is not a CJKV ideograph");


Sample Output

Below is the sample output when you run the above example.

java Character isIdeographic(int codePoint) example output