- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for ImmutableAsList (0.2 seconds)
-
guava/src/com/google/common/collect/ImmutableMapValues.java
} @Override boolean isPartialView() { return true; } @Override public ImmutableList<V> asList() { 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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 4.1K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (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()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 11.1K bytes - Click Count (0) -
android/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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (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));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 52.1K bytes - Click Count (0)