Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for AsMap (0.04 sec)

  1. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
        return asMap().keySet();
      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return new AsMap();
      }
    
      @Override
      Set<K> createKeySet() {
        return asMap().keySet();
      }
    
      boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
        Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator();
        boolean changed = false;
        while (entryIterator.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                solutions == [ 'Use type \'java.net.URI\' instead' ]
                additionalData.asMap == [
                    'typeName' : 'MyTask',
                    'propertyName' : 'direct',
                ]
            }
            verifyAll(receivedProblem(1)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                    solutions == [
                        'Add an input or output annotation',
                        'Mark it as @Internal',
                    ]
                    additionalData.asMap == [
                        'typeName' : 'MyTask',
                        'propertyName' : 'badTime',
                    ]
                }
                verifyAll(receivedProblem(1)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          try {
            multimap.asMap().get(presentKey).remove(sampleValue);
            fail("asMap().get().remove() succeeded on unmodifiable multimap");
          } catch (UnsupportedOperationException expected) {
          }
          assertMultimapRemainsUnmodified(multimap, originalEntries);
    
          try {
            multimap.asMap().values().iterator().next().remove(sampleValue);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                solutions == [
                    'Add an input or output annotation',
                    'Mark it as @Internal',
                ]
                additionalData.asMap == [
                    'parentPropertyName' : 'tree',
                    'typeName' : 'MyTask',
                    'propertyName' : 'nonAnnotated',
                ]
            }
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          try {
            multimap.asMap().get(presentKey).remove(sampleValue);
            fail("asMap().get().remove() succeeded on unmodifiable multimap");
          } catch (UnsupportedOperationException expected) {
          }
          assertMultimapRemainsUnmodified(multimap, originalEntries);
    
          try {
            multimap.asMap().values().iterator().next().remove(sampleValue);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                solutions == [
                    'Assign a value to \'destFile\'',
                    'Mark property \'destFile\' as optional',
                ]
                additionalData.asMap == [
                    'typeName' : 'CustomTask',
                    'propertyName' : 'destFile',
                ]
            }
            verifyAll(receivedProblem(1)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

                    'Use a RegularFile instance',
                    'Use a URI or URL instance',
                    'Use a TextResource instance',
                ]
                additionalData.asMap == [
                    'typeName': 'org.gradle.api.DefaultTask',
                    'propertyName': 'input',
                ]
            }
    
            where:
            method | targetType
            "dir"  | "directory"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Returns {@link SetMultimap#asMap multimap.asMap()}, with its type corrected from {@code Map<K,
       * Collection<V>>} to {@code Map<K, Set<V>>}.
       *
       * @since 15.0
       */
      @SuppressWarnings("unchecked")
      // safe by specification of SetMultimap.asMap()
      public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, Set<V>> asMap(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top