Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for transformValues (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

        return Multimaps.transformValues(
                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
        return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                          table.put(i, 'a', "x" + checkNotNull(elements[i]));
                        }
                        return transformValues(table, removeFirstCharacter).values();
                      }
                    })
                .named("TransformValues.values")
                .withFeatures(COLLECTION_FEATURES_REMOVE)
                .withFeatures(CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

    import static com.google.common.collect.Tables.transformValues;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test cases for {@link Tables#transformValues}.
     *
     * @author Jared Levy
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      @Override
                      Multimap<String, String> transform(Multimap<String, String> multimap) {
                        return Multimaps.transformValues(multimap, FUNCTION);
                      }
                    })
                .named("Multimaps.transformValues[Multimap]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.SUPPORTS_REMOVE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          Map<K, Collection<V>> result = map;
          if (result == null) {
            result =
                map =
                    Collections.unmodifiableMap(
                        Maps.transformValues(delegate.asMap(), Multimaps::unmodifiableValueCollection));
          }
          return result;
        }
    
        @Override
        public Collection<Entry<K, V>> entries() {
          Collection<Entry<K, V>> result = entries;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multimaps.java

          Map<K, Collection<V>> result = map;
          if (result == null) {
            result =
                map =
                    Collections.unmodifiableMap(
                        Maps.transformValues(delegate.asMap(), Multimaps::unmodifiableValueCollection));
          }
          return result;
        }
    
        @Override
        public Collection<Entry<K, V>> entries() {
          Collection<Entry<K, V>> result = entries;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

      public ImmutableListMultimap<String, String> parameters() {
        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

      @IgnoreJRERequirement
      public ImmutableMap<Service, Duration> startupDurations() {
        return ImmutableMap.copyOf(
            Maps.<Service, Long, Duration>transformValues(startupTimes(), Duration::ofMillis));
      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(ServiceManager.class)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/net/MediaType.java

      public ImmutableListMultimap<String, String> parameters() {
        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top