摘要:
可以看作是一种对id 的hash public static void main(String[] args) { Random random = new Random(); for (int j = 1; j < 100; j++) { int i = random.nextInt(1000); 阅读全文
摘要:
userholder public class UserHolder { private static ThreadLocal<String> userThreadLocal = new ThreadLocal<>(); //为当前的线程变量赋值上用户信息 public static void se 阅读全文