Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for AsMap (0.21 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                solutions == [
                    'Add an input or output annotation',
                    'Mark it as @Internal',
                ]
                additionalData.asMap == [
                    'parentPropertyName' : 'tree',
                    'typeName' : 'MyTask',
                    'propertyName' : 'nonAnnotated',
                ]
            }
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // 1 won't be cached
        assertThat(cache.getUnchecked(1)).isEqualTo(1);
        assertThat(cache.asMap().keySet()).isEmpty();
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 2 will be cached
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(cache.asMap().keySet()).containsExactly(2);
    
        CacheTesting.processPendingNotifications(cache);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimap.java

       * nor do its entries support {@link Entry#setValue setValue}.
       */
      Map<K, Collection<V>> asMap();
    
      // Comparison and hashing
    
      /**
       * Compares the specified object with this multimap for equality. Two multimaps are equal when
       * their map views, as returned by {@link #asMap}, are also equal.
       *
       * <p>In general, two multimaps with identical key-value mappings may or may not be equal,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectSetSpec.groovy

            filtered.index.pendingAsMap.size() == 1
    
            expect: "list contains the right elements when iterated"
            filtered.asList()*.name == ["realized2", "unrealized2"]
    
            and: "unrealized element get realized"
            container.index.asMap().size() == 4
            container.index.pendingAsMap.size() == 2
    
            filtered.index.asMap().size() == 2
            filtered.index.pendingAsMap.size() == 1
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          try {
            multimap.asMap().get(presentKey).remove(sampleValue);
            fail("asMap().get().remove() succeeded on unmodifiable multimap");
          } catch (UnsupportedOperationException expected) {
          }
          assertMultimapRemainsUnmodified(multimap, originalEntries);
    
          try {
            multimap.asMap().values().iterator().next().remove(sampleValue);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
        assertEquals(1, Iterators.size(cache.asMap().keySet().iterator()));
        assertEquals(1, Iterators.size(cache.asMap().values().iterator()));
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
    
        for (int i = 0; i < 11; i++) {
          assertFalse(cache.asMap().containsKey(KEY_PREFIX + i));
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                solutions == [
                    'Assign a value to \'destFile\'',
                    'Mark property \'destFile\' as optional',
                ]
                additionalData.asMap == [
                    'typeName' : 'CustomTask',
                    'propertyName' : 'destFile',
                ]
            }
            verifyAll(receivedProblem(1)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testTreeMultimapAsMapSorted() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        SortedMap<String, Collection<Integer>> asMap = multimap.asMap();
        assertEquals(Ordering.natural(), asMap.comparator());
        assertEquals("foo", asMap.firstKey());
        assertEquals("tree", asMap.lastKey());
        Set<Integer> fooValues = ImmutableSet.of(1, 3, 7);
        Set<Integer> googleValues = ImmutableSet.of(2, 6);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/IvySpecificComponentMetadataRulesIntegrationTest.groovy

        @Override
        void execute(ComponentMetadataContext context) {
                ruleInvoked = true
                def descriptor = context.getDescriptor(IvyModuleDescriptor)
                assert descriptor.extraInfo.asMap() == [${declareNS('foo')}: "fooValue", ${declareNS('bar')}: "barValue"]
                assert descriptor.extraInfo.get('foo') == 'fooValue'
                assert descriptor.extraInfo.get('${ns('foo').namespace}', 'foo') == 'fooValue'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimap.java

       * nor do its entries support {@link Entry#setValue setValue}.
       */
      Map<K, Collection<V>> asMap();
    
      // Comparison and hashing
    
      /**
       * Compares the specified object with this multimap for equality. Two multimaps are equal when
       * their map views, as returned by {@link #asMap}, are also equal.
       *
       * <p>In general, two multimaps with identical key-value mappings may or may not be equal,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top