public int hashCode()

in flink-connector-aws/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/model/StreamShardMetadata.java [163:192]


    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;
    }