- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for createAsList (0.81 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java
final boolean isSubset; RegularImmutableSortedSet(SortedSet<E> delegate, boolean isSubset) { super(delegate); this.isSubset = isSubset; } @Override ImmutableList<E> createAsList() { return new ImmutableSortedAsList<>(this, ImmutableList.asImmutableList(toArray())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
@Override public ImmutableList<E> asList() { ImmutableList<E> result = asList; if (result == null) { return asList = createAsList(); } else { return result; } } @Override ImmutableList<E> createAsList() { return new RegularImmutableAsList<E>(this, toArray()); } } abstract static class Indexed<E> extends ImmutableSet<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
// requireNonNull is safe because we checked the range is not empty in ContiguousSet.create. return requireNonNull(range.upperBound.greatestValueBelow(domain)); } @Override ImmutableList<C> createAsList() { if (domain.supportsFastOffset) { return new ImmutableAsList<C>() { @Override ImmutableSortedSet<C> delegateCollection() { return RegularContiguousSet.this; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
} private transient @Nullable ImmutableList<E> asList; public ImmutableList<E> asList() { ImmutableList<E> list = asList; return (list == null) ? (asList = createAsList()) : list; } ImmutableList<E> createAsList() { switch (size()) { case 0: return ImmutableList.of(); case 1: return ImmutableList.of(iterator().next()); default:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
@Override public ImmutableList<E> asList() { ImmutableList<E> result = asList; if (result == null) { return asList = createAsList(); } else { return result; } } ImmutableList<E> createAsList() { return new RegularImmutableAsList<>(this, toArray()); } // redeclare to help optimizers with b/310253115
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
} @Override int copyIntoArray(@Nullable Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); } @Override ImmutableList<Entry<K, V>> createAsList() { return new ImmutableList<Entry<K, V>>() { @Override public Entry<K, V> get(int index) { checkElementIndex(index, size); /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0)