langtools/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java
equal
deleted
inserted
replaced
117 * Depending upon the grouping information and their titles, generate |
117 * Depending upon the grouping information and their titles, generate |
118 * separate table indices for each package group. |
118 * separate table indices for each package group. |
119 */ |
119 */ |
120 protected void generateIndex() { |
120 protected void generateIndex() { |
121 for (int i = 0; i < groupList.size(); i++) { |
121 for (int i = 0; i < groupList.size(); i++) { |
122 String groupname = (String)groupList.get(i); |
122 String groupname = groupList.get(i); |
123 List<PackageDoc> list = groupPackageMap.get(groupname); |
123 List<PackageDoc> list = groupPackageMap.get(groupname); |
124 if (list != null && list.size() > 0) { |
124 if (list != null && list.size() > 0) { |
125 printIndexContents(list.toArray(new PackageDoc[list.size()]), |
125 printIndexContents(list.toArray(new PackageDoc[list.size()]), |
126 groupname); |
126 groupname); |
127 } |
127 } |