Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for AsMap (0.04 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. 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)
  3. android/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top