Character.isMirrored(int codePoint) has the following syntax.
public static boolean isMirrored(int codePoint)
In the following code shows how to use Character.isMirrored(int codePoint) method.
public class Main { public static void main(String[] args) { int cp1 = 0x0c01; int cp2 = 0x003c; /*from w ww .ja v a2s.co m*/ boolean b1 = Character.isMirrored(cp1); boolean b2 = Character.isMirrored(cp2); System.out.println((char)cp1 + " represents a mirrored character is " + b1 ); System.out.println((char)cp2 + " represents a mirrored character is " + b2 ); } }
The code above generates the following result.