List of usage examples for java.lang Character DIRECTIONALITY_ARABIC_NUMBER
byte DIRECTIONALITY_ARABIC_NUMBER
To view the source code for java.lang Character DIRECTIONALITY_ARABIC_NUMBER.
Click Source Link
From source file:Main.java
public static void main(String[] args) { for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) { if (Character.DIRECTIONALITY_ARABIC_NUMBER == Character.getDirectionality(ch)) { String s = String.format("\\u%04x", (int) ch); System.out.println(s); }//w w w .j a va2 s . co m } }