tzh
2024-08-20 ca8393c352368485bcb8b277004fdb0c6cb572c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package jdiff;
 
import java.util.*;
import com.sun.javadoc.*;
 
/**
 * Changes between two packages.
 *
 * See the file LICENSE.txt for copyright details.
 * @author Matthew Doar, mdoar@pobox.com
 */
class PackageDiff {
 
    public String name_;
 
    /** Classes added in the new API. */
    public final List<ClassAPI> classesAdded = new ArrayList<>();
    /** Classes removed in the new API. */
    public final List<ClassAPI> classesRemoved = new ArrayList<>();
    /** Classes changed in the new API. */
    public final List<ClassDiff> classesChanged = new ArrayList<>();
 
    /** 
     * A string describing the changes in documentation. 
     */
    public String documentationChange_ = null;
 
    /* The percentage difference for this package. */
    public double pdiff = 0.0;
 
    /** Default constructor. */
    public PackageDiff(String name) {
        name_ = name;
    }   
}