1. 首页
  2. Java

有初始化的 ThreadLocal

private static final ThreadLocal<Integer> hasPlatformPrice = ThreadLocal.withInitial(() -> 0);



TOP