Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for transformValues (0.09 sec)

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

        return transformValues(
            new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = new HashMap<>();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
        return transformValues(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        public Map<R, Map<C, V2>> rowMap() {
          return Maps.transformValues(fromTable.rowMap(), row -> Maps.transformValues(row, function));
        }
    
        @Override
        public Map<C, Map<R, V2>> columnMap() {
          return Maps.transformValues(
              fromTable.columnMap(), column -> Maps.transformValues(column, function));
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. 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)
  7. 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