- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for delegateCollection (0.1 sec)
-
guava/src/com/google/common/collect/ImmutableAsList.java
abstract ImmutableCollection<E> delegateCollection(); @Override public boolean contains(@CheckForNull Object target) { // The collection's contains() is at least as fast as ImmutableList's // and is often faster. return delegateCollection().contains(target); } @Override public int size() { return delegateCollection().size(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableAsList.java
abstract ImmutableCollection<E> delegateCollection(); @Override public boolean contains(@CheckForNull Object target) { // The collection's contains() is at least as fast as ImmutableList's // and is often faster. return delegateCollection().contains(target); } @Override public int size() { return delegateCollection().size(); } @Override
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/ImmutableSortedAsList.java
super(backingSet, backingList); } @Override ImmutableSortedSet<E> delegateCollection() { return (ImmutableSortedSet<E>) super.delegateCollection(); } @Override public Comparator<? super E> comparator() { return delegateCollection().comparator(); } // Override indexOf() and lastIndexOf() to be O(log N) instead of O(N).
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableAsList.java
} RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) { this(delegate, ImmutableList.<E>asImmutableList(array)); } @Override ImmutableCollection<E> delegateCollection() { return delegate; } ImmutableList<? extends E> delegateList() { return delegateList; } @SuppressWarnings("unchecked") // safe covariant cast! @Override
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 public int size() { return IndexedImmutableSet.this.size(); } @Override ImmutableCollection<E> delegateCollection() { return IndexedImmutableSet.this; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible // serialization
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
} RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array, int size) { this(delegate, ImmutableList.<E>asImmutableList(array, size)); } @Override ImmutableCollection<E> delegateCollection() { return delegate; } ImmutableList<? extends E> delegateList() { return delegateList; } @SuppressWarnings("unchecked") // safe covariant cast! @Override
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/ImmutableMapValues.java
return new ImmutableAsList<V>() { @Override public V get(int index) { return entryList.get(index).getValue(); } @Override ImmutableCollection<V> delegateCollection() { return ImmutableMapValues.this; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible // serialization
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
} @Override ImmutableList<C> createAsList() { if (domain.supportsFastOffset) { return new ImmutableAsList<C>() { @Override ImmutableSortedSet<C> delegateCollection() { return RegularContiguousSet.this; } @Override public C get(int i) { checkElementIndex(i, size()); return domain.offset(first(), 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
Entry<K, V> entry = entries[index]; return immutableEntry(entry.getValue(), entry.getKey()); } @Override ImmutableCollection<Entry<V, K>> delegateCollection() { return InverseEntrySet.this; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override
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
return CollectSpliterators.indexed( size(), ImmutableSet.SPLITERATOR_CHARACTERISTICS, this::get); } @Override ImmutableCollection<Entry<K, V>> delegateCollection() { return EntrySet.this; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0)