Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSupplierFunction (0.09 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top