HomeSort by relevance Sort by last modified time
    Searched full:threadlocalcount (Results 1 - 1 of 1) sorted by null

  /external/guava/guava-tests/test/com/google/common/util/concurrent/
MoreExecutorsTest.java 51 final ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() {
63 threadLocalCount.set(threadLocalCount.get() + 1);
74 assertEquals(1, threadLocalCount.get().intValue());
86 assertEquals(1, threadLocalCount.get().intValue());
97 final ThreadLocal<Integer> threadLocalCount = new ThreadLocal<Integer>() {
107 int i = threadLocalCount.get();
108 threadLocalCount.set(i + 1);
122 assertEquals(10, threadLocalCount.get().intValue());

Completed in 226 milliseconds