- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for ImmutableCollection (0.07 sec)
-
android/guava/src/com/google/common/collect/ImmutableCollection.java
Collection<?> collection = (Collection<?>) elements; ensureRoomFor(collection.size()); if (collection instanceof ImmutableCollection) { ImmutableCollection<?> immutableCollection = (ImmutableCollection<?>) collection; size = immutableCollection.copyIntoArray(contents, size); return this; } } super.addAll(elements); return this; } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
@Override public ImmutableCollection<Entry<K, V>> entries() { return (ImmutableCollection<Entry<K, V>>) super.entries(); } @Override ImmutableCollection<Entry<K, V>> createEntries() { return new EntryCollection<>(this); } private static final class EntryCollection<K, V> extends ImmutableCollection<Entry<K, V>> { @Weak final ImmutableMultimap<K, V> multimap;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 27.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
@Override public ImmutableCollection<Entry<K, V>> entries() { return (ImmutableCollection<Entry<K, V>>) super.entries(); } @Override ImmutableCollection<Entry<K, V>> createEntries() { return new EntryCollection<>(this); } private static final class EntryCollection<K, V> extends ImmutableCollection<Entry<K, V>> { @Weak final ImmutableMultimap<K, V> multimap;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
*/ @LazyInit private @Nullable ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures; private final boolean allMustSucceed; private final boolean collectsValues; AggregateFuture( ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures, boolean allMustSucceed, boolean collectsValues) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
if (elements instanceof ImmutableCollection) { /* * TODO: When given an ImmutableList that's a sublist, copy the referenced * portion of the array into a new array to save space? */ @SuppressWarnings("unchecked") // all supported methods are covariant ImmutableCollection<E> list = (ImmutableCollection<E>) elements; return list.asList(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
Collection<?> collection = (Collection<?>) elements; ensureRoomFor(collection.size()); if (collection instanceof ImmutableCollection) { ImmutableCollection<?> immutableCollection = (ImmutableCollection<?>) collection; size = immutableCollection.copyIntoArray(contents, size); return this; } } super.addAll(elements); return this; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.common.collect.ClassToInstanceMap; import com.google.common.collect.ImmutableBiMap; import com.google.common.collect.ImmutableClassToInstanceMap; import com.google.common.collect.ImmutableCollection; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableListMultimap; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableMultimap;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
*/ public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) { if (elements instanceof ImmutableCollection) { @SuppressWarnings("unchecked") // all supported methods are covariant ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList(); return list.isPartialView() ? asImmutableList(list.toArray()) : list; } return construct(elements.toArray());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
final UnmodifiableIterator<Cell<R, C, V>> cellIterator() { throw new AssertionError("should never be called"); } @Override public ImmutableCollection<V> values() { return (ImmutableCollection<V>) super.values(); } @Override abstract ImmutableCollection<V> createValues(); @Override final Iterator<V> valuesIterator() { throw new AssertionError("should never be called"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* {@link ImmutableCollection}. * * @since 2.0 */ @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements Set<E> { static final int SPLITERATOR_CHARACTERISTICS = ImmutableCollection.SPLITERATOR_CHARACTERISTICS | Spliterator.DISTINCT; /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0)