Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for valueFunction (0.07 seconds)

  1. guava/src/com/google/common/collect/CollectCollectors.java

              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        checkNotNull(keyFunction, "keyFunction");
        checkNotNull(valueFunction, "valueFunction");
        return Collector.of(
            ImmutableListMultimap::<K, V>builder,
            (builder, t) -> builder.put(keyFunction.apply(t), valueFunction.apply(t)),
            ImmutableListMultimap.Builder::combine,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

              Function<? super T, ? extends V> valueFunction,
              BinaryOperator<V> mergeFunction) {
        checkNotNull(comparator);
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        return Collectors.collectingAndThen(
            Collectors.toMap(
                keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableTable.java

              Function<? super T, ? extends R> rowFunction,
              Function<? super T, ? extends C> columnFunction,
              Function<? super T, ? extends V> valueFunction) {
        return TableCollectors.toImmutableTable(rowFunction, columnFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

              Function<? super T, ? extends R> rowFunction,
              Function<? super T, ? extends C> columnFunction,
              Function<? super T, ? extends V> valueFunction) {
        return TableCollectors.toImmutableTable(rowFunction, columnFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableBiMap.java

          Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Tables.java

              java.util.function.Function<? super T, ? extends C> columnFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
            rowFunction, columnFunction, valueFunction, tableSupplier);
      }
    
      /**
       * Returns a {@link Collector} that accumulates elements into a {@code Table} created using the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * and whose value for each key was computed by {@code valueFunction}. The map's iteration order
       * is the order of the first appearance of each key in this iterable.
       *
       * <p>When there are multiple instances of a key in this iterable, it is unspecified whether
       * {@code valueFunction} will be applied to more than one instance of that key and, if it is,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableRangeMap.java

          Collector<T, ?, ImmutableRangeMap<K, V>> toImmutableRangeMap(
              Function<? super T, Range<K>> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableRangeMap(keyFunction, valueFunction);
      }
    
      /**
       * Returns an empty immutable range map.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              Comparator<? super K> comparator,
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableSortedMap(comparator, keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableSortedMap} whose
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 52.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       * @throws NullPointerException if any element of {@code keys} is {@code null}, or if {@code
       *     valueFunction} produces {@code null} for any key
       * @since 14.0
       */
      public static <K, V> ImmutableMap<K, V> toMap(
          Iterable<K> keys, Function<? super K, V> valueFunction) {
        return toMap(keys.iterator(), valueFunction);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
Back to Top