- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 43 for Merged (0.18 sec)
-
guava/src/com/google/common/collect/CollectCollectors.java
this.mergeFunction = mergeFunction; } void put(K key, V value) { if (map == null) { map = new EnumMap<>(singletonMap(key, value)); } else { map.merge(key, value, mergeFunction); } } EnumMapAccumulator<K, V> combine(EnumMapAccumulator<K, V> other) { if (this.map == null) { return other; } else if (other.map == null) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 16:21:40 GMT 2024 - 16.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
checkArgument(columnIndex != null, "Column %s not in %s", columnKey, columnList); return set(rowIndex, columnIndex, value); } /* * TODO(jlevy): Consider creating a merge() method, similar to putAll() but * copying non-null values only. */ /** * {@inheritDoc} * * <p>If {@code table} is an {@code ArrayTable}, its null values will be stored in this table,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
* `new TypeParameter<@Nullable T>() {}` and have it act as a plain `TypeParameter<T>`, but * hopefully no one would do that, anyway. See also the comment on TypeParameter itself. * * TODO(cpovirk): Elaborate on this / merge with other comment? */ public final <X> TypeToken<T> where(TypeParameter<X> typeParam, TypeToken<X> typeArg) { TypeResolver resolver = new TypeResolver() .where(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
mergeModel(model, range3, 3, Integer::sum); RangeMap<Integer, Integer> test = TreeRangeMap.create(); test.merge(range1, 1, Integer::sum); test.merge(range2, 2, Integer::sum); test.merge(range3, 3, Integer::sum); verify(model, test); } } } } public void testSubRangeMapExhaustive() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 33.2K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 25 16:37:57 GMT 2021 - 12.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import junit.framework.TestCase; /** * Test suite for {@link CacheBuilder}. TODO(cpovirk): merge into CacheBuilderTest? * * @author Jon Donovan */ @GwtCompatible public class CacheBuilderGwtTest extends TestCase { private FakeTicker fakeTicker; @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 15K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
checkArgument(columnIndex != null, "Column %s not in %s", columnKey, columnList); return set(rowIndex, columnIndex, value); } /* * TODO(jlevy): Consider creating a merge() method, similar to putAll() but * copying non-null values only. */ /** * {@inheritDoc} * * <p>If {@code table} is an {@code ArrayTable}, its null values will be stored in this table,
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 26.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
and when Alice had been all the way down one side and up the other, trying every door, she walked sadly down the middle, wondering how she was ever to get out again. Suddenly she came upon a little three-legged table, all made of solid glass; there was nothing on it except a tiny golden key, and Alice's first thought was that it might belong to one of the doors of the hall; but, alas! either the locks were too large, or
Plain Text - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 145.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
entryKey, hash, value, valueReference.getWeight(), RemovalCause.COLLECTED); } else if (map.isExpired(e, now)) { // This is a duplicate check, as preWriteCleanup already purged expired // entries, but let's accommodate an incorrect expiration queue. enqueueNotification( entryKey, hash, value, valueReference.getWeight(), RemovalCause.EXPIRED);
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) -
android/guava/src/com/google/common/collect/Iterators.java
public static <T extends @Nullable Object> PeekingIterator<T> peekingIterator( PeekingIterator<T> iterator) { return checkNotNull(iterator); } /** * Returns an iterator over the merged contents of all given {@code iterators}, traversing every * element of the input iterators. Equivalent entries will not be de-duplicated. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 51.1K bytes - Viewed (0)