Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for transformValues (0.08 sec)

  1. android/guava/src/com/google/common/collect/Tables.java

              : null;
        }
    
        @Override
        public Map<C, V2> row(@ParametricNullness R rowKey) {
          return Maps.transformValues(fromTable.row(rowKey), function);
        }
    
        @Override
        public Map<R, V2> column(@ParametricNullness C columnKey) {
          return Maps.transformValues(fromTable.column(columnKey), function);
        }
    
        Function<Cell<R, C, V1>, Cell<R, C, V2>> cellFunction() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. 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(), collection -> unmodifiableValueCollection(collection)));
          }
          return result;
        }
    
        @Override
        public Collection<Entry<K, V>> entries() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

          NavigableMap<K, V2> transformValues(
              NavigableMap<K, V1> fromMap, Function<? super V1, V2> function) {
        return transformEntries(fromMap, asEntryTransformer(function));
      }
    
      /**
       * Returns a view of a map whose values are derived from the original map's entries. In contrast
       * to {@link #transformValues}, this method's entry-transformation logic may depend on the key as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

          NavigableMap<K, V2> transformValues(
              NavigableMap<K, V1> fromMap, Function<? super V1, V2> function) {
        return transformEntries(fromMap, asEntryTransformer(function));
      }
    
      /**
       * Returns a view of a map whose values are derived from the original map's entries. In contrast
       * to {@link #transformValues}, this method's entry-transformation logic may depend on the key as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Synchronized.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Maps.transformValues;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
Back to top