- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for memoize (0.03 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// Once more, with feeling. holder.value = 4; assertEquals(6, getDone(transformedFuture).intValue()); assertEquals(8, adder.apply(4).intValue()); // Memoized get also retains the value. assertEquals(6, getDoneFromTimeoutOverload(transformedFuture).intValue()); // Unsurprisingly, recomposing the future will return an updated value.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// Once more, with feeling. holder.value = 4; assertEquals(6, getDone(transformedFuture).intValue()); assertEquals(8, adder.apply(4).intValue()); // Memoized get also retains the value. assertEquals(6, getDoneFromTimeoutOverload(transformedFuture).intValue()); // Unsurprisingly, recomposing the future will return an updated value.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)