class RouteFilterLine implements Serializable {

  @Override
  public boolean equals(@Nullable Object o) {
    if (o == this) {
      return true;
    } else if (!(o instanceof RouteFilterLine)) {
      return false;
    }

    RouteFilterLine other = (RouteFilterLine) o;
    return Objects.equals(_action, other._action)
        && Objects.equals(_lengthRange, other._lengthRange)
        && Objects.equals(_ipWildcard, other._ipWildcard);
  }

  public  RouteFilterLine(LineAction action, IpWildcard ipWildcard, SubRange lengthRange);
  public  RouteFilterLine(LineAction action, Prefix prefix, SubRange lengthRange);
  public  RouteFilterLine(LineAction action, PrefixRange prefixRange);

}