Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for AsMap (0.04 sec)

  1. guava/src/com/google/common/collect/MultimapBuilder.java

       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in sorted order.
       *
       * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be
       * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be
       * cast to a {@link java.util.SortedMap}.
       */
      @SuppressWarnings("rawtypes")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java

            return getDisplayName();
        }
    
        @Override
        public SortedMap<String, T> getAsMap() {
            return index.asMap();
        }
    
        @Override
        public SortedSet<String> getNames() {
            NavigableSet<String> realizedNames = index.asMap().navigableKeySet();
            Set<String> pendingNames = index.getPendingAsMap().keySet();
            if (pendingNames.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                          checkNotNull(entry.getValue());
                          set.add((String) checkNotNull(entry.getKey()));
                        }
                        return Maps.asMap(
                            set,
                            new Function<String, Integer>() {
                              @Override
                              public Integer apply(String input) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ProblemProgressEventCrossVersionTest.groovy

                (locations[1] as LineInFileLocation).path == "build file '$buildFile.path'"
                additionalData instanceof GeneralData
                additionalData.asMap['type'] == 'USER_CODE_DIRECT'
            }
        }
    
        def "Problems expose details via Tooling API events with failure"() {
            given:
            withReportProblemTask """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultimap.java

        }
    
        /**
         * Stores another multimap's entries in the built multimap. The generated multimap's key and
         * value orderings correspond to the iteration ordering of the {@code multimap.asMap()} view,
         * with new keys and values following any existing keys and values.
         *
         * @throws NullPointerException if any key or value in {@code multimap} is null. The builder is
         *     left in an invalid state.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

                details == 'Gradle cannot track the implementation for classes loaded with an unknown classloader.'
                solutions == [ 'Load your class by using one of Gradle\'s built-in ways.' ]
                additionalData.asMap == [
                    'typeName' : 'CustomTask'
                ]
            }
            verifyAll(receivedProblem(1)) {
                fqid == 'validation:property-validation:unknown-implementation'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            MapTestSuiteBuilder.using(new AsMapGenerator<K, V, M>(parentBuilder.getSubjectGenerator()))
                .withFeatures(computeAsMapFeatures(parentBuilder.getFeatures()))
                .named(parentBuilder.getName() + ".asMap")
                .suppressing(parentBuilder.getSuppressedTests())
                .withSetUp(parentBuilder.getSetUp())
                .withTearDown(parentBuilder.getTearDown())
                .createTestSuite());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataHandlerTest.groovy

            with(capturedDescriptor1) {
                extraInfo.asMap() == [(new QName(id1.namespace, id1.name)): "info1 value", (new QName(id2.namespace, id2.name)): "info2 value"]
            }
            capturedDescriptor2 instanceof IvyModuleDescriptor
            with(capturedDescriptor2) {
                extraInfo.asMap() == [(new QName(id1.namespace, id1.name)): "info1 value", (new QName(id2.namespace, id2.name)): "info2 value"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) {
          for (Entry<? extends K, ? extends Collection<? extends V>> entry :
              multimap.asMap().entrySet()) {
            putAll(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. 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)
Back to top