- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for toImmutableSet (0.05 sec)
-
guava/src/com/google/common/collect/CollectCollectors.java
return (Collector) TO_IMMUTABLE_LIST; } // Sets @SuppressWarnings({"rawtypes", "unchecked"}) static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return (Collector) TO_IMMUTABLE_SET; } static <E> Collector<E, ?, ImmutableSortedSet<E>> toImmutableSortedSet( Comparator<? super E> comparator) { checkNotNull(comparator);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 16.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* duplicates removed. * * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSet#toImmutableSet} to {@code * stream.collect()}. * * @throws NullPointerException if any element is {@code null} * @since 14.0 (since 12.0 as {@code toImmutableSet()}). */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* duplicate in encounter order will appear in the result. * * @since 21.0 */ public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return CollectCollectors.toImmutableSet(); } /** * Returns the empty immutable set. Preferred over {@link Collections#emptySet} for code * consistency, and because the return type conveys the immutability guarantee. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
} } } /** * Returns a {@code Collector} that accumulates the input elements into a new {@code ImmutableSet} * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the * resulting set will iterate over elements in their enum definition order, not encounter order. * * @since 33.2.0 (available since 21.0 in guava-jre) */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0)