statefun-sdk-embedded/src/main/java/org/apache/flink/statefun/sdk/Address.java [49:83]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    return type;
  }

  /**
   * Returns the unique function id, within its type, that this address identifies.
   *
   * @return unique id within the function type.
   */
  public String id() {
    return id;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Address address = (Address) o;
    return type.equals(address.type) && id.equals(address.id);
  }

  @Override
  public int hashCode() {
    int hash = 0;
    hash = 37 * hash + type.hashCode();
    hash = 37 * hash + id.hashCode();
    return hash;
  }

  @Override
  public String toString() {
    return String.format("Address(%s, %s, %s)", type.namespace(), type.name(), id);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



statefun-sdk-java/src/main/java/org/apache/flink/statefun/sdk/java/Address.java [49:83]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    return type;
  }

  /**
   * Returns the unique function id, within its type, that this address identifies.
   *
   * @return unique id within the function type.
   */
  public String id() {
    return id;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Address address = (Address) o;
    return type.equals(address.type) && id.equals(address.id);
  }

  @Override
  public int hashCode() {
    int hash = 0;
    hash = 37 * hash + type.hashCode();
    hash = 37 * hash + id.hashCode();
    return hash;
  }

  @Override
  public String toString() {
    return String.format("Address(%s, %s, %s)", type.namespace(), type.name(), id);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



