code: @NullSafe
    @SafeVarargs
    public static <T> Iterable<T> asIterable(T... array) {
      return () -> asIterator(array);
    }
docs: Returns an {@link Iterable} over the elements in the array.
  
  @param <T> Class type of the elements in the array.
  @param array array to iterate.
  @return an {@link Iterable} over the elements in the array
  or an empty {@link Iterable} if the array is null or empty.
  @see java.lang.Iterable
  @see #asIterator(Object[])