Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toArrayImpl (0.23 sec)

  1. android/guava/src/com/google/common/collect/ObjectArrays.java

       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in the specified collection
       */
      static <T extends @Nullable Object> T[] toArrayImpl(Collection<?> c, T[] array) {
        int size = c.size();
        if (array.length < size) {
          array = newArray(array, size);
        }
        fillArray(c, array);
        if (array.length > size) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ObjectArrays.java

       * @throws ArrayStoreException if the runtime type of the specified array is not a supertype of
       *     the runtime type of every element in the specified collection
       */
      static <T extends @Nullable Object> T[] toArrayImpl(Collection<?> c, T[] array) {
        int size = c.size();
        if (array.length < size) {
          array = newArray(array, size);
        }
        fillArray(c, array);
        if (array.length > size) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:48:28 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

      }
    
      @Override
      public @Nullable Object[] toArray() {
        return ObjectArrays.toArrayImpl(this);
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] a) {
        return ObjectArrays.toArrayImpl(this, a);
      }
    
      @Override
      public void clear() {
        if (needsAllocArrays()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactLinkedHashSet.java

      }
    
      @Override
      public @Nullable Object[] toArray() {
        return ObjectArrays.toArrayImpl(this);
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] a) {
        return ObjectArrays.toArrayImpl(this, a);
      }
    
      @Override
      public Spliterator<E> spliterator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top