HashSet<String> Cats = map.getAll();
int numCats = Cats.size()
I have tried in so many different ways, but I always get an unchecked exception. getAll generates a HashSet.
int numCats = map.getAll.size(); HashSet<String> Cats = new HashSet <String>(); Cats = map.getAll(); or Cats.add(map.getAll()); etc
no matter what I do I get unchecked