- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ForwardingImmutableSet (0.39 sec)
-
android/guava/src/com/google/common/collect/ForwardingImmutableSet.java
* Unused stub class, unreferenced under Java and manually emulated under GWT. * * @author Chris Povirk */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault abstract class ForwardingImmutableSet<E> { private ForwardingImmutableSet() {}
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu May 27 11:06:23 GMT 2021 - 953 bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingImmutableSet.java
* Unused stub class, unreferenced under Java and manually emulated under GWT. * * @author Chris Povirk */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault abstract class ForwardingImmutableSet<E> { private ForwardingImmutableSet() {}
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu May 27 11:06:23 GMT 2021 - 953 bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java
* * @author Hayward Chan */ @ElementTypesAreNonnullByDefault @SuppressWarnings("serial") // Serialization only done in GWT. public abstract class ForwardingImmutableSet<E> extends ImmutableSet<E> { private final transient Set<E> delegate; ForwardingImmutableSet(Set<E> delegate) { // TODO(cpovirk): are we over-wrapping? this.delegate = Collections.unmodifiableSet(delegate); } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 2.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java
* to avoid code-size bloat. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> { static <E> ImmutableSet<E> asImmutable(Set<E> delegate) { switch (delegate.size()) { case 0: return ImmutableSet.of(); case 1:
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java
import java.util.Set; /** * GWT emulation of {@link RegularImmutableSet}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> { static final RegularImmutableSet<Object> EMPTY = new RegularImmutableSet<Object>(Collections.emptySet()); RegularImmutableSet(Set<E> delegate) { super(delegate); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableEnumSet.java
default: return new ImmutableEnumSet<>(set); } } /* * Notes on EnumSet and <E extends Enum<E>>: * * This class isn't an arbitrary ForwardingImmutableSet because we need to * know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
default: return new ImmutableEnumSet<>(set); } } /* * Notes on EnumSet and <E extends Enum<E>>: * * This class isn't an arbitrary ForwardingImmutableSet because we need to * know that calling {@code clone()} during deserialization will return an * object that no one else has a reference to, allowing us to guarantee
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
/** * GWT emulation of {@link com.google.common.collect.ImmutableSortedSet}. * * @author Hayward Chan */ @ElementTypesAreNonnullByDefault public abstract class ImmutableSortedSet<E> extends ForwardingImmutableSet<E> implements SortedSet<E>, SortedIterable<E> { // TODO(cpovirk): split into ImmutableSortedSet/ForwardingImmutableSortedSet? // In the non-emulated source, this is in ImmutableSortedSetFauxverideShim,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0)