Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for transformValues (0.06 sec)

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

        return transformValues(table, TableCollectionTest.DIVIDE_BY_2);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 2);
        table.put('a', "two", 4);
        table.put('a', "three", 6);
        table.put('b', "four", 8);
        return transformValues(table, TableCollectionTest.DIVIDE_BY_2).row('a');
    Registered: Fri Dec 26 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/TablesTransformValuesColumnTest.java

        return transformValues(table, DIVIDE_BY_2);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<String, Character, Integer> table = HashBasedTable.create();
        table.put("one", 'a', 1);
        table.put("two", 'a', 2);
        table.put("three", 'a', 3);
        table.put("four", 'b', 4);
        return transformValues(table, DIVIDE_BY_2).column('a');
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                          map.put(entry.getKey(), encode(entry.getValue()));
                        }
                        return transformValues(map, DECODE_FUNCTION);
                      }
                    })
                .named("Maps.transformValues[Map, Function]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                          map.put(entry.getKey(), encode(entry.getValue()));
                        }
                        return transformValues(map, DECODE_FUNCTION);
                      }
                    })
                .named("Maps.transformValues[Map, Function]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  7. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

              @Override
              public Integer apply(Integer in) {
                return in * in;
              }
            };
        Multimap<String, Integer> transformed = Multimaps.transformValues(multimap, square);
        assertThat(transformed.entries())
            .containsExactly(
                immutableEntry("a", 4),
                immutableEntry("a", 16),
                immutableEntry("b", 9),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Maps.transformEntries;
    import static com.google.common.collect.Maps.transformValues;
    import static com.google.common.collect.Maps.unmodifiableNavigableMap;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
Back to top