Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for keyFunction (0.26 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,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  2. 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,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

       * stream.collect(ImmutableMap.toImmutableMap(keyFunction, v -> v))}. {@code
       * ImmutableMap.copyOf(stream.collect(Collectors.toMap(keyFunction, v -> v)))}, but be aware that
       * this may not preserve the order of entries.
       *
       * @param keyFunction the function used to produce the key for each value
       * @return a map mapping the result of evaluating the function {@code keyFunction} on each value
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

       * stream.collect(ImmutableMap.toImmutableMap(keyFunction, v -> v))}.
       *
       * @param keyFunction the function used to produce the key for each value
       * @return a map mapping the result of evaluating the function {@code keyFunction} on each value
       *     in this fluent iterable to that value
       * @throws IllegalArgumentException if {@code keyFunction} produces the same key for more than one
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedLists.java

          List<E> list,
          Function<? super E, K> keyFunction,
          K key,
          KeyPresentBehavior presentBehavior,
          KeyAbsentBehavior absentBehavior) {
        checkNotNull(key);
        return binarySearch(
            list, keyFunction, key, Ordering.natural(), presentBehavior, absentBehavior);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction,
              BinaryOperator<V> mergeFunction) {
        checkNotNull(comparator);
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        return Collectors.collectingAndThen(
            Collectors.toMap(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableMap(keyFunction, valueFunction);
      }
    
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. android/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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        return CollectCollectors.toImmutableSetMultimap(keyFunction, valueFunction);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into an {@code ImmutableSetMultimap}. Each
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top