- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for copyIntoArray (0.06 sec)
-
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
return (UnmodifiableListIterator<E>) delegateList.listIterator(index); } @GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) { return delegateList.copyIntoArray(dst, offset); } @Override @Nullable Object @Nullable [] internalArray() { return delegateList.internalArray(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
} @Override public ImmutableList<E> asList() { return ImmutableList.of(element); } @Override boolean isPartialView() { return false; } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { dst[offset] = element; return offset + 1; } @Override public final int hashCode() { return element.hashCode(); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
return array; } @Override int internalArrayStart() { return 0; } @Override int internalArrayEnd() { return size; } @Override int copyIntoArray(@Nullable Object[] dst, int dstOff) { arraycopy(array, 0, dst, dstOff, size); return dstOff + size; } // The fake cast to E is safe because the creation methods only allow E's @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
} @Override public UnmodifiableIterator<Entry<K, V>> iterator() { return asList().iterator(); } @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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
} other = ObjectArrays.newArray(other, size); } else if (other.length > size) { other[size] = null; } copyIntoArray(other, 0); return other; } /** If this collection is backed by an array of its elements in insertion order, returns it. */ @Nullable Object @Nullable [] internalArray() { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
} other = ObjectArrays.newArray(other, size); } else if (other.length > size) { other[size] = null; } copyIntoArray(other, 0); return other; } /** If this collection is backed by an array of its elements in insertion order, returns it. */ Object @Nullable [] internalArray() { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
return multimap.valueIterator(); } @GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) { for (ImmutableCollection<V> valueCollection : multimap.map.values()) { offset = valueCollection.copyIntoArray(dst, offset); } return offset; } @Override public int size() { return multimap.size();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
*/ @InlineMe(replacement = "this") @Deprecated @Override public final ImmutableList<E> asList() { return this; } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { // this loop is faster for RandomAccess instances, which ImmutableLists are int size = size(); for (int i = 0; i < size; i++) { dst[offset + i] = get(i); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
checkNotNull(consumer); int n = size(); for (int i = 0; i < n; i++) { consumer.accept(get(i)); } } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { return asList().copyIntoArray(dst, offset); } @Override ImmutableList<E> createAsList() { return new ImmutableAsList<E>() { @Override public E get(int index) {
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/ImmutableMultiset.java
public final boolean setCount(E element, int oldCount, int newCount) { throw new UnsupportedOperationException(); } @GwtIncompatible // not present in emulated superclass @Override int copyIntoArray(@Nullable Object[] dst, int offset) { for (Multiset.Entry<E> entry : entrySet()) { Arrays.fill(dst, offset, offset + entry.getCount(), entry.getElement()); offset += entry.getCount(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0)