- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for asImmutableList (0.23 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
} RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) { this(delegate, ImmutableList.<E>asImmutableList(array)); } RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array, int size) { this(delegate, ImmutableList.<E>asImmutableList(array, size)); } @Override ImmutableCollection<E> delegateCollection() { return delegate; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
*/ static <E> ImmutableList<E> asImmutableList(Object[] elements) { return asImmutableList(elements, elements.length); } /** * Views the array as an immutable list. Copies if the specified range does not cover the complete * array. Does not check for nulls. */ static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) { switch (length) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ImmutableList.java
* * <p>The array must be internally created. */ static <E> ImmutableList<E> asImmutableList(Object[] elements) { return asImmutableList(elements, elements.length); } /** Views the array as an immutable list. Does not check for nulls. */ static <E> ImmutableList<E> asImmutableList(@Nullable Object[] elements, int length) { if (length == 0) { return of(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 27.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java
super(delegate); this.isSubset = isSubset; } @Override ImmutableList<E> createAsList() { return new ImmutableSortedAsList<E>(this, ImmutableList.<E>asImmutableList(toArray())); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
System.arraycopy(elements, 0, dst, offset, size); return offset + size; } @Override ImmutableList<E> createAsList() { return ImmutableList.asImmutableList(elements, size); } @Override boolean isPartialView() { return false; } @Override public int hashCode() { return hashCode; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
if (oldKey != null) { throw conflictException("value", oldKey + "=" + e.getValue(), entryArray[i]); } } ImmutableList<Entry<K, V>> entryList = ImmutableList.asImmutableList(entryArray, n); return new JdkBackedImmutableBiMap<>(entryList, forwardDelegate, backwardDelegate); } private final transient ImmutableList<Entry<K, V>> entries; private final Map<K, V> forwardDelegate;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
* * <p>The array must be internally created. */ @SuppressWarnings("unchecked") // caller is reponsible for getting this right static <E> ImmutableList<E> asImmutableList(Object[] elements) { return unsafeDelegateList((List) Arrays.asList(elements)); } public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf( Iterable<? extends E> elements) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 11K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
private final transient ImmutableList<Entry<K, V>> entries; RegularEntrySet(ImmutableMap<K, V> map, Entry<K, V>[] entries) { this(map, ImmutableList.<Entry<K, V>>asImmutableList(entries)); } RegularEntrySet(ImmutableMap<K, V> map, ImmutableList<Entry<K, V>> entries) { this.map = map; this.entries = entries; } @Override ImmutableMap<K, V> map() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java
private final transient ImmutableList<Entry<K, V>> entries; RegularEntrySet(ImmutableMap<K, V> map, Entry<K, V>[] entries) { this(map, ImmutableList.<Entry<K, V>>asImmutableList(entries)); } RegularEntrySet(ImmutableMap<K, V> map, ImmutableList<Entry<K, V>> entries) { this.map = map; this.entries = entries; } @Override ImmutableMap<K, V> map() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
duplicates.put(key, null); } newEntryArray[outI++] = entry; } entryArray = newEntryArray; } return new JdkBackedImmutableMap<>(delegateMap, ImmutableList.asImmutableList(entryArray, n)); } private final transient Map<K, V> delegateMap; private final transient ImmutableList<Entry<K, V>> entries;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 4.8K bytes - Viewed (0)