- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ImmutableAsList (0.05 sec)
-
android/guava/src/com/google/common/collect/ImmutableAsList.java
* backing collection. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") abstract class ImmutableAsList<E> extends ImmutableList<E> { abstract ImmutableCollection<E> delegateCollection(); @Override public boolean contains(@Nullable Object target) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableAsList.java
import org.jspecify.annotations.Nullable; /** * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already * backed by an {@code ImmutableList} or array. * * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace, not default serialization class RegularImmutableAsList<E> extends ImmutableAsList<E> { private final ImmutableCollection<E> delegate;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
import org.jspecify.annotations.Nullable; /** * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already * backed by an {@code ImmutableList} or array. * * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace, not default serialization class RegularImmutableAsList<E> extends ImmutableAsList<E> { private final ImmutableCollection<E> delegate;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* @since 7.0 (source-compatible since 2.0) */ public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { /* * TODO(lowasser): consider checking for ImmutableAsList here * TODO(lowasser): consider checking for Multiset here */ // Don't refer to ImmutableSortedSet by name so it won't pull in all that code
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/RegularContiguousSet.java
return requireNonNull(range.upperBound.greatestValueBelow(domain)); } @Override ImmutableList<C> createAsList() { if (domain.supportsFastOffset) { return new ImmutableAsList<C>() { @Override ImmutableSortedSet<C> delegateCollection() { return RegularContiguousSet.this; } @Override public C get(int i) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
public void forEach(Consumer<? super Entry<V, K>> action) { asList().forEach(action); } @Override ImmutableList<Entry<V, K>> createAsList() { return new ImmutableAsList<Entry<V, K>>() { @Override public Entry<V, K> get(int index) { Entry<K, V> entry = entries[index]; return immutableEntry(entry.getValue(), entry.getKey()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 11K bytes - Viewed (0)