class ExtendedCommunity extends Community {

  @Override
  public boolean equals(@Nullable Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof ExtendedCommunity)) {
      return false;
    }
    ExtendedCommunity that = (ExtendedCommunity) o;
    return _type == that._type
        && _subType == that._subType
        && _globalAdministrator == that._globalAdministrator
        && _localAdministrator == that._localAdministrator;
  }

  private  ExtendedCommunity(
      byte type, byte subType, long globalAdministrator, long localAdministrator);

}