langtools/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexWriter.java
changeset 1870 57a1138dffc8
parent 1789 7ac8c0815000
child 2212 1d3dc0e0ba0c
equal deleted inserted replaced
1869:0e193a8f3520 1870:57a1138dffc8
   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             }