Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for applyAsInt (0.06 sec)

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

        checkNotNull(countFunction);
        return Collector.of(
            LinkedHashMultiset::create,
            (multiset, t) ->
                multiset.add(checkNotNull(elementFunction.apply(t)), countFunction.applyAsInt(t)),
            (multiset1, multiset2) -> {
              multiset1.addAll(multiset2);
              return multiset1;
            },
            (Multiset<E> multiset) -> ImmutableMultiset.copyFromEntries(multiset.entrySet()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(countFunction);
        return Collector.of(
            LinkedHashMultiset::create,
            (multiset, t) ->
                multiset.add(checkNotNull(elementFunction.apply(t)), countFunction.applyAsInt(t)),
            (multiset1, multiset2) -> {
              multiset1.addAll(multiset2);
              return multiset1;
            },
            (Multiset<E> multiset) -> ImmutableMultiset.copyFromEntries(multiset.entrySet()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * <p>If the mapped elements contain duplicates (according to {@code comparator}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 22.0
       */
      public static <T extends @Nullable Object, E>
          Collector<T, ?, ImmutableSortedMultiset<E>> toImmutableSortedMultiset(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMultiset.java

       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
       * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element.
       *
       * @since 22.0
       */
      public static <T extends @Nullable Object, E>
          Collector<T, ?, ImmutableMultiset<E>> toImmutableMultiset(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top