class IpLink implements Comparable<IpLink> {

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    } else if (!(o instanceof IpLink)) {
      return false;
    }
    IpLink other = (IpLink) o;
    return _ip1.equals(other._ip1) && _ip2.equals(other._ip2);
  }

  public  IpLink(@Nonnull Ip ip1, @Nonnull Ip ip2);

}