class PipInstalledPackage implements Comparable {

  @Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;
    if (getClass() != obj.getClass()) return false;
    PipInstalledPackage other = (PipInstalledPackage) obj;
    if (name == null) {
      if (other.name != null) return false;
    } else if (!this.getStandardDistributionName().equals(other.getStandardDistributionName()))
      return false;
    if (version == null) {
      if (other.version != null) return false;
    } else if (!version.equals(other.version)) return false;
    return true;
  }

  public  PipInstalledPackage(String _name, String _version);

}