class ConcreteInterfaceAddress extends InterfaceAddress {

  @Override
  public boolean equals(@Nullable Object o) {
    if (o == this) {
      return true;
    } else if (!(o instanceof ConcreteInterfaceAddress)) {
      return false;
    }
    ConcreteInterfaceAddress rhs = (ConcreteInterfaceAddress) o;
    return _ip.equals(rhs._ip) && _networkBits == rhs._networkBits;
  }

  private  ConcreteInterfaceAddress(Ip ip, int networkBits);

}