Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 248 for AsMap (0.03 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

        for (Collection<V> valueCollection : multimap().asMap().values()) {
          SortedSet<V> valueSet = (SortedSet<V>) valueCollection;
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    
      public void testAsMapGetImplementsSortedSet() {
        for (K key : multimap().keySet()) {
          SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().get(key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

        assertContentsAnyOrder(multimap().asMap().get(null), getValueForNullKey());
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testAsMapGetNullKeyAbsent() {
        assertNull(multimap().asMap().get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testAsMapGetNullKeyUnsupported() {
        try {
          multimap().asMap().get(null);
          fail("Expected NullPointerException");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/JavaEcosystemAttributesDescriberTest.groovy

                .attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 11)
                .attribute(ProjectInternal.STATUS_ATTRIBUTE, "release")
    
            then:
            describer.describeAttributeSet(attributes.asMap()) == "a library for use during compile-time, with a release status, compatible with Java 11, packaged as a jar"
        }
    
        def "describes a library with MAX_VALUE target JVM version"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 13 17:05:19 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. test/named.go

    	asInt(Int(0))
    	isInt(Int(0))
    	i = 10
    	asInt(*&i)
    	isInt(*&i)
    	asInt(23)
    	asInt(Int(f))
    	isInt(Int(f))
    
    	asMap(m)
    	isMap(m)
    	asMap(nil)
    	m = nil
    	asMap(make(Map))
    	isMap(make(Map))
    	asMap(*&m)
    	isMap(*&m)
    	asMap(Map(nil))
    	isMap(Map(nil))
    	asMap(Map{})
    	isMap(Map{})
    
    	asSlice(slice)
    	isSlice(slice)
    	asSlice(make(Slice, 5))
    	isSlice(make(Slice, 5))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMultimap.java

        return Spliterators.spliterator(valueIterator(), size(), 0);
      }
    
      @LazyInit @CheckForNull private transient Map<K, Collection<V>> asMap;
    
      @Override
      public Map<K, Collection<V>> asMap() {
        Map<K, Collection<V>> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      abstract Map<K, Collection<V>> createAsMap();
    
      // Comparison and hashing
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

        Multimap<String, Integer> multimap = createMultimap();
        return multimap.asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> multimap = createMultimap();
        populate(multimap);
        return multimap.asMap();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  10. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
                request.read(ByteBuffer.allocateDirect(4096 * 8))
              }
    
              override fun onReadCompleted(
                request: UrlRequest,
                info: UrlResponseInfo,
                byteBuffer: ByteBuffer,
              ) {
                println("onReadCompleted ${info.headers.asMap}")
                byteBuffer.flip()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top