public boolean equals()

in sdk/src/main/java/com/google/cloud/dataflow/sdk/util/common/worker/ShuffleEntry.java [86:102]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o instanceof ShuffleEntry) {
      ShuffleEntry that = (ShuffleEntry) o;
      return (this.position == null ? that.position == null
              : Arrays.equals(this.position, that.position))
          && (this.key == null ? that.key == null
              : Arrays.equals(this.key, that.key))
          && (this.secondaryKey == null ? that.secondaryKey == null
              : Arrays.equals(this.secondaryKey, that.secondaryKey))
          && (this.value == null ? that.value == null
              : Arrays.equals(this.value, that.value));
    }
    return false;
  }