112 public ClassDocCatalog () { |
112 public ClassDocCatalog () { |
113 init(); |
113 init(); |
114 } |
114 } |
115 |
115 |
116 private void init() { |
116 private void init() { |
117 allClasses = new HashMap<String,Set<ClassDoc>>(); |
117 allClasses = new HashMap<>(); |
118 ordinaryClasses = new HashMap<String,Set<ClassDoc>>(); |
118 ordinaryClasses = new HashMap<>(); |
119 exceptions = new HashMap<String,Set<ClassDoc>>(); |
119 exceptions = new HashMap<>(); |
120 enums = new HashMap<String,Set<ClassDoc>>(); |
120 enums = new HashMap<>(); |
121 annotationTypes = new HashMap<String,Set<ClassDoc>>(); |
121 annotationTypes = new HashMap<>(); |
122 errors = new HashMap<String,Set<ClassDoc>>(); |
122 errors = new HashMap<>(); |
123 interfaces = new HashMap<String,Set<ClassDoc>>(); |
123 interfaces = new HashMap<>(); |
124 packageSet = new HashSet<String>(); |
124 packageSet = new HashSet<>(); |
125 } |
125 } |
126 |
126 |
127 /** |
127 /** |
128 * Add the given class to the catalog. |
128 * Add the given class to the catalog. |
129 * @param classdoc the ClassDoc to add to the catelog. |
129 * @param classdoc the ClassDoc to add to the catelog. |