@Override
    public int hashCode() {
        int result = uri.hashCode();
        result = 31 * result + (isPathStyle ? 1 : 0);
        result = 31 * result + (bucket != null ? bucket.hashCode() : 0);
        result = 31 * result + (key != null ? key.hashCode() : 0);
        result = 31 * result + (versionId != null ? versionId.hashCode() : 0);
        result = 31 * result + (region != null ? region.hashCode() : 0);
        return result;
    }
Converts a hex character (0-9A-Fa-f) into its corresponding quad value.

@param c the hex character
@return the quad value
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/AmazonS3URI.java