HomeSort by relevance Sort by last modified time
    Searched refs:memoizedSupplier (Results 1 - 2 of 2) sorted by null

  /external/guava/guava-tests/test/com/google/common/base/
SuppliersTest.java 106 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
107 checkMemoize(countingSupplier, memoizedSupplier);
112 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
113 assertSame(memoizedSupplier, Suppliers.memoize(memoizedSupplier));
119 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
120 checkMemoize(countingSupplier, memoizedSupplier);
122 memoizedSupplier.get();
124 Supplier<Integer> copy = reserialize(memoizedSupplier);
125 memoizedSupplier.get()
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
SuppliersTest.java 98 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
99 checkMemoize(countingSupplier, memoizedSupplier);
104 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier);
105 assertSame(memoizedSupplier, Suppliers.memoize(memoizedSupplier));
109 CountingSupplier countingSupplier, Supplier<Integer> memoizedSupplier) {
113 assertEquals(10, (int) memoizedSupplier.get());
118 assertEquals(10, (int) memoizedSupplier.get());
132 Supplier<Integer> memoizedSupplier = Suppliers.memoize(exceptingSupplier);
138 memoizedSupplier.get()
    [all...]

Completed in 1015 milliseconds