- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for toImmutableMultiset (1.23 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.ImmutableMultiset.toImmutableMultiset; import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.Iterators.singletonIterator; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* encounter order. * * @since 21.0 */ public static <E> Collector<E, ?, ImmutableMultiset<E>> toImmutableMultiset() { return CollectCollectors.toImmutableMultiset(Function.identity(), e -> 1); } /** * Returns a {@code Collector} that accumulates elements into an {@code ImmutableMultiset} whose
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>{@code Stream} equivalent:</b> {@code ImmutableMultiset.copyOf(stream.iterator())}, or * pass {@link ImmutableMultiset#toImmutableMultiset} to {@code stream.collect()}. * * @throws NullPointerException if any element is null * @since 19.0 */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
} /** * Returns an {@code ImmutableMultiset} containing all of the elements from this fluent iterable. * * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableMultiset#toImmutableMultiset} to * {@code stream.collect()}. * * @throws NullPointerException if any element is null * @since 19.0 */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0)