contiene java hashmap


Integer val = map.get(c);
if (val != null) {
  ...
} else {
  ...
}

Courageous Caiman