Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for valueFunction (0.23 sec)

  1. android/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,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (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)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       * k, valueFunction))}. {@code ImmutableMap.copyOf(stream.collect(Collectors.toMap(k -> k,
       * valueFunction)))} behaves similarly, but may not preserve the order of entries.
       *
       * @throws NullPointerException if any element of this iterable is {@code null}, or if {@code
       *     valueFunction} produces {@code null} for any key
       * @since 14.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. android/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.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. 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.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

              @Override
              public boolean removeAll(Collection<?> c) {
                return removeEntryIf(compose(in(c), Maps.<V>valueFunction()));
              }
    
              @Override
              public boolean retainAll(Collection<?> c) {
                return removeEntryIf(compose(not(in(c)), Maps.<V>valueFunction()));
              }
            };
          }
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. android/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.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableListMultimap.java

          Collector<T, ?, ImmutableListMultimap<K, V>> toImmutableListMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableListMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableListMultimap}. Each
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top