Contient Hashmap Java


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

Courageous Caiman