Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 120 for transformed (0.06 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/Multimaps.java

        final EntryTransformer<? super K, ? super V1, V2> transformer;
    
        TransformedEntriesMultimap(
            Multimap<K, V1> fromMultimap, EntryTransformer<? super K, ? super V1, V2> transformer) {
          this.fromMultimap = checkNotNull(fromMultimap);
          this.transformer = checkNotNull(transformer);
        }
    
        Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Multimaps.java

        final EntryTransformer<? super K, ? super V1, V2> transformer;
    
        TransformedEntriesMultimap(
            Multimap<K, V1> fromMultimap, EntryTransformer<? super K, ? super V1, V2> transformer) {
          this.fromMultimap = checkNotNull(fromMultimap);
          this.transformer = checkNotNull(transformer);
        }
    
        Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
    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)
  4. android/guava/src/com/google/common/collect/Maps.java

         *       v2)} implies that {@code Objects.equals(transformer.transform(k1, v1),
         *       transformer.transform(k2, v2))}.
         * </ul>
         *
         * @throws NullPointerException if the key or value is null and this transformer does not accept
         *     null arguments
         */
        @ParametricNullness
    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)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        EntryTransformer<String, Integer, String> transformer =
            new EntryTransformer<String, Integer, String>() {
              @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(
    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)
  6. guava/src/com/google/common/collect/Maps.java

         *       v2)} implies that {@code Objects.equals(transformer.transform(k1, v1),
         *       transformer.transform(k2, v2))}.
         * </ul>
         *
         * @throws NullPointerException if the key or value is null and this transformer does not accept
         *     null arguments
         */
        @ParametricNullness
    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)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            output.cancel(false);
            throw new SomeUncheckedException();
          }
        }
        Transformer transformer = new Transformer();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = transform(input, transformer, directExecutor());
        transformer.output = output;
    
        input.set("foo");
        assertTrue(output.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            output.cancel(false);
            throw new SomeUncheckedException();
          }
        }
        Transformer transformer = new Transformer();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = transform(input, transformer, directExecutor());
        transformer.output = output;
    
        input.set("foo");
        assertTrue(output.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/BaseGraph.java

       * EndpointPair<N>} objects (that is, a {@code Network<N, EndpointPair<N>>}). The resulting {@code
       * Network}'s edge-oriented methods (such as {@code inEdges()}) will return views transformed from
       * the corresponding node-oriented methods (such as {@code predecessors()}).
       *
       * <p>This capability facilitates writing implementations of <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Tables.java

        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
       * of the table, such as iteration order, are left intact.
       *
       * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
Back to Top