class OspfIntraAreaRoute extends OspfInternalRoute {

  @Override
  public boolean equals(@Nullable Object o) {
    if (o == this) {
      return true;
    } else if (!(o instanceof OspfIntraAreaRoute)) {
      return false;
    }
    OspfIntraAreaRoute other = (OspfIntraAreaRoute) o;
    return _network.equals(other._network)
        && _admin == other._admin
        && _area == other._area
        && getNonRouting() == other.getNonRouting()
        && getNonForwarding() == other.getNonForwarding()
        && _metric == other._metric
        && _nextHopIp.equals(other._nextHopIp)
        && _tag == other._tag;
  }

  public  OspfIntraAreaRoute(
      Prefix network,
      Ip nextHopIp,
      int admin,
      long metric,
      long area,
      long tag,
      boolean nonForwarding,
      boolean nonRouting);

}