- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for from (0.13 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// This function adds the holder's value to the input value. Function<Integer, Integer> adder = new Function<Integer, Integer>() { @Override public Integer apply(Integer from) { return from + holder.value; } }; // Since holder.value is 2, applying 4 should yield 6. assertEquals(6, adder.apply(4).intValue());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// This function adds the holder's value to the input value. Function<Integer, Integer> adder = new Function<Integer, Integer>() { @Override public Integer apply(Integer from) { return from + holder.value; } }; // Since holder.value is 2, applying 4 should yield 6. assertEquals(6, adder.apply(4).intValue());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0)