Searched refs:nonThreadSafe (Results 1 – 2 of 2) sorted by relevance
386 final Supplier<Integer> nonThreadSafe = in testSynchronizedSupplierThreadSafe() local408 Suppliers.synchronizedSupplier(nonThreadSafe).get(); in testSynchronizedSupplierThreadSafe()420 assertEquals(numThreads * iterations + 1, (int) nonThreadSafe.get()); in testSynchronizedSupplierThreadSafe()