Java Character.isIdeographic(int codePoint)
Syntax
Character.isIdeographic(int codePoint) has the following syntax.
public static boolean isIdeographic(int codePoint)
Example
In the following code shows how to use Character.isIdeographic(int codePoint) method.
public class Main {
// w ww. j a v a 2 s . c o m
public static void main(String[] args) {
int cp1 = 0x008f, cp2 = 0x0123;
boolean b1 = Character.isIdeographic(cp1);
boolean b2 = Character.isIdeographic(cp2);
System.out.println( b1 );
System.out.println( b2 );
}
}
The code above generates the following result.