Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 265 for armap (0.2 sec)

  1. 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)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/LockCache.java

            return producer.create(key, coordinationService, owner);
        }
    
        public Iterable<T> values() {
            return resourceLocks.asMap().values();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyModuleDescriptorSpecTest.groovy

        def "getExtraInfo returns IvyExtraInfo with immutable map" () {
            when:
            spec.getExtraInfo().asMap().put(new QName('http://some.namespace', 'foo'), 'fooValue')
    
            then:
            thrown(UnsupportedOperationException)
        }
    
        def "can add extra info elements" () {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top