Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 248 for AsMap (0.07 sec)

  1. 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)
  2. android/guava/src/com/google/common/collect/AbstractListMultimap.java

      /**
       * {@inheritDoc}
       *
       * <p>Though the method signature doesn't say so explicitly, the returned map has {@link List}
       * values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/plan/ValuedVfsHierarchyTest.groovy

            when:
            def visitor = new CollectingValueVisitor()
            hierarchy.visitValues(location, visitor)
            then:
            visitor.ancestorValues.asMap() == values
    
            where:
            location                                        | values
            ""                                              | [:]
            "some"                                          | [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 17:21:57 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
        }
        return size;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        if (unfiltered.containsKey(key)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FilteredKeyMultimap.java

      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
        }
        return size;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        if (unfiltered.containsKey(key)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/ForwardingCache.java

      public long size() {
        return delegate().size();
      }
    
      @Override
      public CacheStats stats() {
        return delegate().stats();
      }
    
      @Override
      public ConcurrentMap<K, V> asMap() {
        return delegate().asMap();
      }
    
      @Override
      public void cleanUp() {
        delegate().cleanUp();
      }
    
      /**
       * A simplified version of {@link ForwardingCache} where subclasses can pass in an already
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top