Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for castOrCopyToCollection (0.08 sec)

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

        return toArray(iterable, ObjectArrays.newArray(type, 0));
      }
    
      static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) {
        Collection<? extends T> collection = castOrCopyToCollection(iterable);
        return collection.toArray(array);
      }
    
      /**
       * Copies an iterable's elements into an array.
       *
       * @param iterable the iterable to copy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterables.java

        return toArray(iterable, ObjectArrays.newArray(type, 0));
      }
    
      static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) {
        Collection<? extends T> collection = castOrCopyToCollection(iterable);
        return collection.toArray(array);
      }
    
      /**
       * Copies an iterable's elements into an array.
       *
       * @param iterable the iterable to copy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
Back to top