in amazon-kinesis-connector-flink/src/main/java/software/amazon/kinesis/connectors/flink/model/StreamShardMetadata.java [149:178]
public int hashCode() {
int hash = 17;
if (streamName != null) {
hash = 37 * hash + streamName.hashCode();
}
if (shardId != null) {
hash = 37 * hash + shardId.hashCode();
}
if (parentShardId != null) {
hash = 37 * hash + parentShardId.hashCode();
}
if (adjacentParentShardId != null) {
hash = 37 * hash + adjacentParentShardId.hashCode();
}
if (startingHashKey != null) {
hash = 37 * hash + startingHashKey.hashCode();
}
if (endingHashKey != null) {
hash = 37 * hash + endingHashKey.hashCode();
}
if (startingSequenceNumber != null) {
hash = 37 * hash + startingSequenceNumber.hashCode();
}
if (endingSequenceNumber != null) {
hash = 37 * hash + endingSequenceNumber.hashCode();
}
return hash;
}