Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for transformEntries (0.11 seconds)

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

        // objectKeyed = transformEntries(map6, transformer);
        // objectKeyed = transformEntries(map8, transformer);
        // objectKeyed = transformEntries(map9, transformer);
        // numberKeyed = transformEntries(map8, transformer);
        // numberKeyed = transformEntries(map9, transformer);
    
        // Can't loosen the value type:
        // Map<Number, Number> looseValued1 = transformEntries(map5, transformer);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        static <K, V extends @Nullable Object> Set<Entry<K, V>> transformEntries(
            Set<Entry<K, V>> entries) {
          return new ForwardingSet<Map.Entry<K, V>>() {
            @Override
            protected Set<Entry<K, V>> delegate() {
              return entries;
            }
    
            @Override
            public Iterator<Entry<K, V>> iterator() {
              return UnmodifiableEntry.transformEntries(super.iterator());
            }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          return transformEntries(fromMap().headMap(toKey), transformer);
        }
    
        @Override
        @ParametricNullness
        public K lastKey() {
          return fromMap().lastKey();
        }
    
        @Override
        public SortedMap<K, V2> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
          return transformEntries(fromMap().subMap(fromKey, toKey), transformer);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

          return transformEntries(fromMap().headMap(toKey), transformer);
        }
    
        @Override
        @ParametricNullness
        public K lastKey() {
          return fromMap().lastKey();
        }
    
        @Override
        public SortedMap<K, V2> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
          return transformEntries(fromMap().subMap(fromKey, toKey), transformer);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

              Multimap<K, V1> fromMultimap, Function<? super V1, V2> function) {
        checkNotNull(function);
        EntryTransformer<K, V1, V2> transformer = (key, value) -> function.apply(value);
        return transformEntries(fromMultimap, transformer);
      }
    
      /**
       * Returns a view of a {@code ListMultimap} where each value is transformed by a function. All
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Multimaps.java

              Multimap<K, V1> fromMultimap, Function<? super V1, V2> function) {
        checkNotNull(function);
        EntryTransformer<K, V1, V2> transformer = (key, value) -> function.apply(value);
        return transformEntries(fromMultimap, transformer);
      }
    
      /**
       * Returns a view of a {@code ListMultimap} where each value is transformed by a function. All
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      @Override
                      Multimap<String, String> transform(Multimap<String, String> multimap) {
                        return Multimaps.transformEntries(multimap, ENTRY_TRANSFORMER);
                      }
                    })
                .named("Multimaps.transformEntries[Multimap]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.SUPPORTS_REMOVE,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                          map.put(entry.getKey(), encode(entry.getValue()));
                        }
                        return Maps.transformEntries(map, DECODE_ENTRY_TRANSFORMER);
                      }
                    })
                .named("Maps.transformEntries[Map, EntryTransformer]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      @Override
                      Multimap<String, String> transform(Multimap<String, String> multimap) {
                        return Multimaps.transformEntries(multimap, ENTRY_TRANSFORMER);
                      }
                    })
                .named("Multimaps.transformEntries[Multimap]")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.SUPPORTS_REMOVE,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

              @Override
              public String transformEntry(String key, Integer value) {
                return (value >= 0) ? key : "no" + key;
              }
            };
        Multimap<String, String> transformed = Multimaps.transformEntries(multimap, transformer);
        assertThat(transformed.entries())
            .containsExactly(
                immutableEntry("a", "a"), immutableEntry("a", "a"), immutableEntry("b", "nob"))
            .inOrder();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 39.2K bytes
    - Click Count (0)
Back to Top