- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ImmutableAsList (0.13 sec)
-
android/guava/src/com/google/common/collect/ImmutableAsList.java
* backing collection. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") @ElementTypesAreNonnullByDefault abstract class ImmutableAsList<E> extends ImmutableList<E> { abstract ImmutableCollection<E> delegateCollection(); @Override public boolean contains(@CheckForNull Object target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableAsList.java
* backing collection. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible(serializable = true, emulated = true) @SuppressWarnings("serial") @ElementTypesAreNonnullByDefault abstract class ImmutableAsList<E> extends ImmutableList<E> { abstract ImmutableCollection<E> delegateCollection(); @Override public boolean contains(@CheckForNull Object target) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableAsList.java
/** * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already * backed by an {@code ImmutableList} or array. * * @author Louis Wasserman */ @GwtCompatible(emulated = true) @SuppressWarnings("serial") // uses writeReplace, not default serialization @ElementTypesAreNonnullByDefault class RegularImmutableAsList<E> extends ImmutableAsList<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
/** * An {@link ImmutableAsList} implementation specialized for when the delegate collection is already * backed by an {@code ImmutableList} or array. * * @author Louis Wasserman */ @GwtCompatible(emulated = true) @SuppressWarnings("serial") // uses writeReplace, not default serialization @ElementTypesAreNonnullByDefault class RegularImmutableAsList<E> extends ImmutableAsList<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/IndexedImmutableSet.java
@Override @GwtIncompatible int copyIntoArray(@Nullable Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); } @Override ImmutableList<E> createAsList() { return new ImmutableAsList<E>() { @Override public E get(int index) { return IndexedImmutableSet.this.get(index); } @Override boolean isPartialView() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapValues.java
@Override boolean isPartialView() { return true; } @Override public ImmutableList<V> asList() { final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList(); return new ImmutableAsList<V>() { @Override public V get(int index) { return entryList.get(index).getValue(); } @Override ImmutableCollection<V> delegateCollection() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.6K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 8.4K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
public void forEach(Consumer<? super Entry<K, V>> action) { asList().forEach(action); } @Override ImmutableList<Entry<K, V>> createAsList() { return new ImmutableAsList<Entry<K, V>>() { @Override public Entry<K, V> get(int index) { return new AbstractMap.SimpleImmutableEntry<>( keySet.asList().get(index), valueList.get(index));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0)