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