public void printTopTwenties() { for (Category c : categories.values()) { System.out.println("Class: " + c.getCategory()); List<String> twenty = c.topTwentyWords(); for (int i = 0; i < twenty.size(); i++) { System.out.println(i + ": " + twenty.get(i)); } System.out.println(); } }