code: @NullSafe
    public static <T> Iterable<T> asIterable(Enumeration<T> enumeration) {
      return () -> asIterator(enumeration);
    }
docs: Adapts the {@link Enumeration} into an instance of the {@link Iterable} interface.
  
  @param <T> Class type of the elements in the {@link Enumeration}.
  @param enumeration {@link Enumeration} to adapt into an {@link Iterable}.
  @return an {@link Iterable} implementation backed by the {@link Enumeration}.
  @see #asIterator(java.util.Enumeration)
  @see java.util.Enumeration
  @see java.lang.Iterable