@@ -0,0 +1,895 @@
+package org.wuxinshui.boosters.string;%0A%0A/**%0A * @Author: yoyo%0A * @Description:%0A * @Date: Created in 2019/8/23 11:34%0A */%0Apublic class LongStringUtil %7B%0A    public static Long getUid(CharSequence sequence) %7B%0A        try %7B%0A            Integer hashCode = Math.abs(sequence.hashCode());%0A            Integer length = sequence.length();%0A            StringBuilder builder = new StringBuilder();%0A            builder.append(hashCode);%0A            builder.append(length);%0A            Long sum = sequence.codePoints().parallel().asLongStream().sum();%0A            builder.append(sum);%0A            return Long.valueOf(builder.toString());%0A        %7D catch (Exception e) %7B%0A            System.out.println(e);%0A        %7D%0A        return Long.valueOf(sequence.hashCode());%0A    %7D%0A%0A%0A    public static void main(String%5B%5D args) %7B%0A        String str=%22Java%E4%B8%AD%E7%94%9F%E4%BA%A7%E8%80%85%E4%B8%8E%E6%B6%88%E8%B4%B9%E8%80%85%E9%97%AE%E9%A2%98%E7%9A%84%E6%BC%94%E5%8F%98%22;%0A%0A        System.out.println(getUid(str));%0A    %7D%0A%0A%0A%7D%0A

add get uid from long String