Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 189 for AsMap (0.04 sec)

  1. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyModuleDescriptorSpecTest.groovy

        def "getExtraInfo returns IvyExtraInfo with immutable map" () {
            when:
            spec.getExtraInfo().asMap().put(new QName('http://some.namespace', 'foo'), 'fooValue')
    
            then:
            thrown(UnsupportedOperationException)
        }
    
        def "can add extra info elements" () {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        assertEqualIgnoringOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualIgnoringOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
    
        assertEquals(values.size() > 0, multimap().containsKey(key));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K 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. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyExtraInfoSpecTest.groovy

            def DefaultIvyExtraInfoSpec extraInfo = new DefaultIvyExtraInfoSpec()
    
            when:
            extraInfo.add("http://my.extra.info", "foo", "fooValue")
    
            then:
            extraInfo.asMap() == [ (new QName("http://my.extra.info", "foo")): "fooValue" ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

            params.putAll(map);
        }
    
        public boolean containsKey(final String key) {
            return params.containsKey(key);
        }
    
        public Map<String, Object> asMap() {
            return new ParamMap<>(new HashMap<>(getDataMap(params)));
        }
    
        protected static Map<String, Object> getDataMap(final Map<String, Object> params) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AmbiguousArtifactVariantsFailureDescriber.java

            } else {
                formatter.node("The consumer was configured to find " + describer.describeAttributeSet(failure.getRequestedAttributes().asMap()) + ". However we cannot choose between the following variants of " + failure.getRequestedName());
            }
            formatter.startChildren();
            for (AssessedCandidate assessedCandidate : failure.getCandidates()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. operator/pkg/validate/validate_values.go

    	}
    	val := &v1alpha1.Values{}
    	if err := util.UnmarshalWithJSONPB(string(vs), val, false); err != nil {
    		return util.Errors{err}
    	}
    	return ValuesValidate(DefaultValuesValidations, root.(*structpb.Struct).AsMap(), nil)
    }
    
    // ValuesValidate validates the values of the tree using the supplied Func
    func ValuesValidate(validations map[string]ValidatorFunc, node any, path util.Path) (errs util.Errors) {
    	pstr := path.String()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClassLoaderCache.java

            }
        }
    
        /**
         * Clears all entries in the cache.
         */
        public void clear() {
            lock.lock();
            try {
                for (ClassLoader classLoader : classLoaderDetails.asMap().keySet()) {
                    ClassLoaderUtils.tryClose(classLoader);
                }
                classLoaderDetails.invalidateAll();
                classLoaderIds.invalidateAll();
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        List<K> keys = Helpers.copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().asMap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = Helpers.copyToList(collection);
    
          multimap().put(key, v3());
          expectedCollection.add(v3());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top