- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for internalArray (0.12 sec)
-
guava/src/com/google/common/collect/ImmutableCollection.java
@SuppressWarnings("nullness") public final <T extends @Nullable Object> T[] toArray(T[] other) { checkNotNull(other); int size = size(); if (other.length < size) { Object[] internal = internalArray(); if (internal != null) { return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other); } other = ObjectArrays.newArray(other, size); } else if (other.length > size) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
this.length = length; } @Override public int size() { return length; } @Override @CheckForNull @Nullable Object[] internalArray() { return ImmutableList.this.internalArray(); } @Override int internalArrayStart() { return ImmutableList.this.internalArrayStart() + offset; } @Override int internalArrayEnd() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we * used Object[], we might be able to optimize toArray() to use clone() sometimes. (See * cl/592273615 and cl/592273683.) */ public Builder(Comparator<? super E> comparator) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we * used Object[], we might be able to optimize toArray() to use clone() sometimes. (See * cl/592273615 and cl/592273683.) */ public Builder(Comparator<? super E> comparator) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0)