- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for from (0.13 sec)
-
guava/src/com/google/common/cache/LocalCache.java
* {@code key} parameter. That way, we prevent the key from being garbage collected in the * case of weak keys. If we create a new entry with a key that is null at construction time, * we're not sure if entry will necessarily ever be garbage collected. * @param newNext entry in the same bucket * @param key the key to copy from the original entry to the new one. Use this in preference to
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K 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) -
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) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* callable block} that may capture objects for later closing. To start a pipeline from a {@link * ListenableFuture} that doesn't create resources that should be closed later, you can use {@link * #from(ListenableFuture)} instead. * * <h3>Derived steps</h3> * * A {@code ClosingFuture} step can be derived from one or more input {@code ClosingFuture} steps in
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 98.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* use the {@code EnumMap} constructor directly, taking advantage of <a * href="http://goo.gl/iz2Wi">"diamond" syntax</a>. * * @param map the map from which to initialize this {@code EnumMap} * @return a new {@code EnumMap} initialized with the mappings from {@code map} * @throws IllegalArgumentException if {@code m} is not an {@code EnumMap} instance and contains * no mappings */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
* {@code key} parameter. That way, we prevent the key from being garbage collected in the * case of weak keys. If we create a new entry with a key that is null at construction time, * we're not sure if entry will necessarily ever be garbage collected. * @param newNext entry in the same bucket * @param key the key to copy from the original entry to the new one. Use this in preference to
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 144.7K bytes - Viewed (0)