Compruebe si Char es igual a Java

//Method 1
if (CHAR == VALUE) {
  System.out.println("CHAR matches with VALUE");
}

//Method 2
if (CHAR.equals(VALUE)) {
  System.out.println("CHAR matches with VALUE");
}
BlessedDog