Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 248 for AsMap (0.05 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/internal/IdeaDependenciesOptimizer.java

        }
    
        private void optimizeScopes(Multimap<Object, GeneratedIdeaScope> scopesByDependencyKey) {
            for (Map.Entry<Object, Collection<GeneratedIdeaScope>> entry : scopesByDependencyKey.asMap().entrySet()) {
                optimizeScopes(entry.getValue());
            }
        }
    
        private void applyScopesToDependencies(Collection<Dependency> deps, Multimap<Object, GeneratedIdeaScope> scopesByDependencyKey) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                solutions == [
                    "Use a $fileType as an input",
                    "Declare the input as a ${getOppositeKind(fileType)} instead",
                ].collect { it.toString() }
                additionalData.asMap == [
                    'typeName': 'org.gradle.api.DefaultTask',
                    'propertyName': 'input',
                ]
            }
    
            where:
            method | path             | fileType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
      }
    
      public void testHashCodeMatchesAsMap() {
        assertEquals(multimap().asMap().hashCode(), multimap().hashCode());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

        } else {
          return SetTestSuiteBuilder.using(
                  new MultimapAsMapGetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
              .named(parentBuilder.getName() + ".asMap[].get[key]")
              .suppressing(parentBuilder.getSuppressedTests())
              .createTestSuite();
        }
      }
    
      @Override
      TestSuite computeEntriesTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStore.java

                encoder.writeSmallInt(outputPropertyHashes.keySet().size());
                for (Map.Entry<String, Collection<HashCode>> entry : outputPropertyHashes.asMap().entrySet()) {
                    encoder.writeString(entry.getKey());
                    Collection<HashCode> hashes = entry.getValue();
                    encoder.writeSmallInt(hashes.size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 14:27:26 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return new AsMap(map);
      }
    
      final Map<K, Collection<V>> createMaybeNavigableAsMap() {
        if (map instanceof NavigableMap) {
          return new NavigableAsMap((NavigableMap<K, Collection<V>>) map);
        } else if (map instanceof SortedMap) {
          return new SortedAsMap((SortedMap<K, Collection<V>>) map);
        } else {
          return new AsMap(map);
        }
      }
    
      @WeakOuter
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

       * access. Access time is reset by all cache read and write operations (including {@code
       * Cache.asMap().get(Object)} and {@code Cache.asMap().put(K, V)}), but not by {@code
       * containsKey(Object)}, nor by operations on the collection-views of {@link Cache#asMap}}. So,
       * for example, iterating through {@code Cache.asMap().entrySet()} does not reset access time for
       * the entries you retrieve.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

            multimap.putAll("bar", asList(10, 11));
            multimap.putAll("cat", asList(12, 13, 14));
            return multimap.asMap().entrySet().iterator();
          }
    
          @Override
          protected void verify(List<Entry<String, Collection<Integer>>> elements) {
            assertEquals(newHashSet(elements), multimap.asMap().entrySet());
          }
        }.test();
      }
    
      public void testKeysSpliterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

      void register(Object listener) {
        Multimap<Class<?>, Subscriber> listenerMethods = findAllSubscribers(listener);
    
        for (Entry<Class<?>, Collection<Subscriber>> entry : listenerMethods.asMap().entrySet()) {
          Class<?> eventType = entry.getKey();
          Collection<Subscriber> eventMethodsInListener = entry.getValue();
    
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Returns an immutable multimap containing the same mappings as {@code multimap}. The generated
       * multimap's key and value orderings correspond to the iteration ordering of the {@code
       * multimap.asMap()} view.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top