is Braille Character - Java java.lang

Java examples for java.lang:char

Description

is Braille Character

Demo Code


//package com.java2s;

public class Main {
    public static void main(String[] argv) throws Exception {
        char c = 'a';
        System.out.println(isBraille(c));
    }//from  ww w .  j  av a2  s.c om

    public static boolean isBraille(char c) {
        return Character.UnicodeBlock.of(c) == Character.UnicodeBlock.BRAILLE_PATTERNS;
    }
}

Related Tutorials