Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for transformEntries (0.2 sec)

  1. 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());
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. 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());
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. 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,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. 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,
    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/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);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. 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);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

              Multimap<K, V1> fromMultimap, final Function<? super V1, V2> function) {
        checkNotNull(function);
        EntryTransformer<K, V1, V2> transformer = Maps.asEntryTransformer(function);
        return transformEntries(fromMultimap, transformer);
      }
    
      /**
       * Returns a view of a {@code ListMultimap} where each value is transformed by a function. All
    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-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();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top