Example usage for java.lang Character MIN_VALUE

List of usage examples for java.lang Character MIN_VALUE

Introduction

In this page you can find the example usage for java.lang Character MIN_VALUE.

Prototype

char MIN_VALUE

To view the source code for java.lang Character MIN_VALUE.

Click Source Link

Document

The constant value of this field is the smallest value of type char , '\u005Cu0000' .

Usage

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_OTHER_NEUTRALS == Character.getDirectionality(ch)) {
            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }// w  w  w  . j  a  va  2  s  .  c om
    }
}

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_RIGHT_TO_LEFT_ARABIC == Character.getDirectionality(ch)) {
            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }/*from  ww w . j  a  va  2  s.c  o  m*/
    }
}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.isSurrogate(ch)) {
            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }//from  ww w . j a va 2  s  . com
    }

}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.OTHER_PUNCTUATION == Character.getType(ch)) {

            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }//from ww w. j  a  v  a  2 s  . co m
    }
}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.MAX_CODE_POINT == Character.getType(ch)) {

            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }// w  w  w  .j  a v a 2  s  .c  o m
    }
}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.LETTER_NUMBER == Character.getType(ch)) {

            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }//  www .ja  va 2  s. c o m
    }
}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.OTHER_LETTER == Character.getType(ch)) {

            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }/* w w  w .  ja v  a  2s . c  o  m*/
    }
}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.OTHER_SYMBOL == Character.getType(ch)) {

            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }/*ww w  . j a  v a  2  s  . co  m*/
    }
}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.INITIAL_QUOTE_PUNCTUATION == Character.getType(ch)) {

            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }//w  w  w  . j  av a 2 s .c om
    }
}

From source file:Main.java

public static void main(String[] args) {
    for (char ch = Character.MIN_VALUE; ch < Character.MAX_VALUE; ch++) {
        if (Character.isMirrored(ch)) {
            String s = String.format("\\u%04x", (int) ch);
            System.out.println(s);
        }//  w ww.  java 2 s  . c  o m
    }

}