- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 189 for AsMap (0.04 sec)
-
android/guava/src/com/google/common/collect/Serialization.java
static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap( Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException { stream.writeInt(multimap.asMap().size()); for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) { stream.writeObject(entry.getKey()); stream.writeInt(entry.getValue().size()); for (V value : entry.getValue()) { stream.writeObject(value);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap( Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException { stream.writeInt(multimap.asMap().size()); for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) { stream.writeObject(entry.getKey()); stream.writeInt(entry.getValue().size()); for (V value : entry.getValue()) { stream.writeObject(value);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfoTest.groovy
(new NamespaceId('http://some.extra.info', 'foo')): 'anotherValue', (new NamespaceId('http://my.extra.info', 'bar')): 'barValue' ]) expect: extraInfo.asMap() == [ (new QName('http://my.extra.info', 'foo')): 'fooValue', (new QName('http://some.extra.info', 'foo')): 'anotherValue', (new QName('http://my.extra.info', 'bar')): 'barValue'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
nonZeroKeys.add(key); } } assertEquals(ITERATIONS, map.size()); assertTrue(map.asMap().containsValue(0L)); map.removeAllZeros(); assertFalse(map.asMap().containsValue(0L)); assertEquals(ITERATIONS / 2, map.size()); assertEquals(nonZeroKeys, map.asMap().keySet()); } public void testClear() { AtomicLongMap<Object> map = AtomicLongMap.create();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy
assertProblem(it, "ERROR", false) fqid == 'compilation:java:java-compilation-error' details == 'warnings found and -Werror specified' solutions.empty additionalData.asMap == ["formatted": "error: warnings found and -Werror specified"] } // Based on the Java version, the types in the lint message will differ... String expectedType
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:15:29 UTC 2024 - 24K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy
list.index.asMap().size() == 2 list.index.pendingAsMap.size() == 2 when: "filter the list via the `named` method" def filtered = list.named { it.contains("2") } then: "unrealized elements remain as such" list.index.asMap().size() == 2 list.index.pendingAsMap.size() == 2 filtered.index.asMap().size() == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:21:31 UTC 2023 - 13K bytes - Viewed (0) -
guava/src/com/google/common/cache/LoadingCache.java
* * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values * into the cache. Newly loaded values are added to the cache using {@code * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with * {@code key} while the new value was loading then a removal notification will be sent for the * new value. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values * into the cache. Newly loaded values are added to the cache using {@code * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with * {@code key} while the new value was loading then a removal notification will be sent for the * new value. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyModuleDescriptorTest.groovy
def map = [(new NamespaceId('http://my.extra.info', 'some')): 'value'] def ivyModuleDescriptor = new DefaultIvyModuleDescriptor(map, null, null) when: ivyModuleDescriptor.getExtraInfo().asMap().put(new QName('namespace', 'new'), 'value') then: thrown(UnsupportedOperationException) } def "getBranch returns branch" () { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/LockCache.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.1K bytes - Viewed (0)