Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AsMap (0.08 sec)

  1. 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)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
        assertEquals(ImmutableMap.of("one", 3, "two", 3, "three", 5), map);
        assertEquals(Integer.valueOf(3), map.remove("two"));
        assertThat(strings).containsExactly("one", "three").inOrder();
      }
    
      public void testAsMapEmpty() {
        Set<String> strings = ImmutableSet.of();
        Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		redirectURL.RawQuery = v.Encode()
    		writeRedirectSeeOther(w, redirectURL.String())
    		return
    	}
    
    	// Add checksum header.
    	if checksum != nil && checksum.Valid() {
    		hash.AddChecksumHeader(w, checksum.AsMap())
    	}
    
    	// Decide what http response to send depending on success_action_status parameter
    	switch successStatus {
    	case "201":
    		resp := encodeResponse(PostResponse{
    			Bucket:   objInfo.Bucket,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top