- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ImmutableEnumSet (0.05 sec)
-
guava/src/com/google/common/collect/CollectCollectors.java
return this; } } ImmutableSet<E> toImmutableSet() { if (set == null) { return ImmutableSet.of(); } ImmutableSet<E> ret = ImmutableEnumSet.asImmutable(set); set = null; // subsequent manual manipulation of the accumulator mustn't affect ret return ret; } } @GwtIncompatible @SuppressWarnings({"rawtypes", "unchecked"})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/ImmutableSet.java
} else if (elements instanceof EnumSet) { EnumSet<?> clone = ((EnumSet<?>) elements).clone(); ImmutableSet<?> untypedResult = ImmutableEnumSet.asImmutable(clone); /* * The result has the same type argument we started with. We just couldn't express EnumSet<E> * or ImmutableEnumSet<E> along the way because our own <E> isn't <E extends Enum<E>>. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0)