code: public static <T> ObjIterator<T> generate(final Supplier<T> supplier) {
          N.checkArgNotNull(supplier);
  
          return new ObjIterator<T>() {
              @Override
              public boolean hasNext() {
                  return true;
              }
  
              @Override
              public T next() {
                  return supplier.get();
              }
          };
      }
docs: Returns an infinite {@code ObjIterator}.
  
  @param supplier
  @return