Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for transformEntries (0.09 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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