- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testSupplierFunction (0.21 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
t.start(); } for (Thread t : threads) { t.join(); } assertEquals(numThreads * iterations + 1, (int) nonThreadSafe.get()); } public void testSupplierFunction() { Supplier<Integer> supplier = Suppliers.ofInstance(14); Function<Supplier<Integer>, Integer> supplierFunction = Suppliers.supplierFunction(); assertEquals(14, (int) supplierFunction.apply(supplier));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
t.start(); } for (Thread t : threads) { t.join(); } assertEquals(numThreads * iterations + 1, (int) nonThreadSafe.get()); } public void testSupplierFunction() { Supplier<Integer> supplier = Suppliers.ofInstance(14); Function<Supplier<Integer>, Integer> supplierFunction = Suppliers.supplierFunction(); assertEquals(14, (int) supplierFunction.apply(supplier));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0)