code: public static <T> Iterable<T> iterableOf(Iterator<T> it) {
          final Iterator<T> theIt = Require.nonNull(it, "it");
          return new Iterable<T>() {
  
              @Override
              public Iterator<T> iterator() {
                  return theIt;
              }
          };
      }
docs: Wraps the given Iterator into an Iterable.
  
  @param it The Iterator to wrap.
  @return An {@link Iterable} which returns the given Iterator.