- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for checkMemoize (0.04 seconds)
-
guava-tests/test/com/google/common/base/SuppliersTest.java
} static class SerializableThrowingSupplier extends ThrowingSupplier implements Serializable { @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0L; } static void checkMemoize(CountingSupplier countingSupplier, Supplier<Integer> memoizedSupplier) { // the underlying supplier hasn't executed yet assertEquals(0, countingSupplier.calls); assertEquals(10, (int) memoizedSupplier.get());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 17.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
} static class SerializableThrowingSupplier extends ThrowingSupplier implements Serializable { @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0L; } static void checkMemoize(CountingSupplier countingSupplier, Supplier<Integer> memoizedSupplier) { // the underlying supplier hasn't executed yet assertEquals(0, countingSupplier.calls); assertEquals(10, (int) memoizedSupplier.get());Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 17.9K bytes - Click Count (0)