- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for toImmutableMultiset (0.18 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
public static <E> Collector<E, ?, ImmutableMultiset<E>> toImmutableMultiset() { throw new UnsupportedOperationException(); } /** * Not supported. Use {@link #toImmutableSortedMultiset} instead. This method exists only to hide * {@link ImmutableMultiset#toImmutableMultiset} from consumers of {@code * ImmutableSortedMultiset}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 35.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
return (Collector) TO_IMMUTABLE_RANGE_SET; } // Multisets static <T extends @Nullable Object, E> Collector<T, ?, ImmutableMultiset<E>> toImmutableMultiset( Function<? super T, ? extends E> elementFunction, ToIntFunction<? super T> countFunction) { checkNotNull(elementFunction); checkNotNull(countFunction); return Collector.of(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 17.1K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* {@code stream.map(function).collect(Collectors.toCollection(supplier))}. * * <p>To collect to an {@link ImmutableMultiset}, use {@link * ImmutableMultiset#toImmutableMultiset}. * * @since 33.2.0 (available since 22.0 in guava-jre) */ @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
* {@code stream.map(function).collect(Collectors.toCollection(supplier))}. * * <p>To collect to an {@link ImmutableMultiset}, use {@link * ImmutableMultiset#toImmutableMultiset}. * * @since 22.0 */ public static <T extends @Nullable Object, E extends @Nullable Object, M extends Multiset<E>> Collector<T, ?, M> toMultiset( Function<? super T, E> elementFunction,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 41.5K bytes - Viewed (0)