Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for asMultimap (0.07 seconds)

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

            Integer value = getOnlyElement(entry.getValue());
            builder.put(entry.getKey(), value);
          }
          return builder.buildOrThrow().asMultimap().asMap();
        }
    
        @Override
        @SuppressWarnings({"unchecked", "rawtypes"}) // needed for arrays
        public Entry<String, Collection<Integer>>[] createArray(int length) {
          return new Entry[length];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

            Integer value = getOnlyElement(entry.getValue());
            builder.put(entry.getKey(), value);
          }
          return builder.buildOrThrow().asMultimap().asMap();
        }
    
        @Override
        @SuppressWarnings({"unchecked", "rawtypes"}) // needed for arrays
        public Entry<String, Collection<Integer>>[] createArray(int length) {
          return new Entry[length];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      // cached so that this.multimapView().inverse() only computes inverse once
      private transient @Nullable ImmutableSetMultimap<K, V> multimapView;
    
      public ImmutableSetMultimap<K, V> asMultimap() {
        ImmutableSetMultimap<K, V> result = multimapView;
        return (result == null)
            ? (multimapView =
                new ImmutableSetMultimap<K, V>(new MapViewOfValuesAsSingletonSets(), size(), null))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

      @LazyInit private transient @Nullable ImmutableSetMultimap<K, V> multimapView;
    
      /**
       * Returns a multimap view of the map.
       *
       * @since 14.0
       */
      public ImmutableSetMultimap<K, V> asMultimap() {
        if (isEmpty()) {
          return ImmutableSetMultimap.of();
        }
        ImmutableSetMultimap<K, V> result = multimapView;
        return (result == null)
            ? (multimapView =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

      @LazyInit private transient @Nullable ImmutableSetMultimap<K, V> multimapView;
    
      /**
       * Returns a multimap view of the map.
       *
       * @since 14.0
       */
      public ImmutableSetMultimap<K, V> asMultimap() {
        if (isEmpty()) {
          return ImmutableSetMultimap.of();
        }
        ImmutableSetMultimap<K, V> result = multimapView;
        return (result == null)
            ? (multimapView =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
Back to Top