code: public <OUT> DataStreamSource<OUT> fromCollection(Iterator<OUT> data, Class<OUT> type) {
  		return fromCollection(data, TypeExtractor.getForClass(type));
  	}
docs: Creates a data stream from the given iterator.
  
  <p>Because the iterator will remain unmodified until the actual execution happens,
  the type of data returned by the iterator must be given explicitly in the form of the type
  class (this is due to the fact that the Java compiler erases the generic type information).
  
  <p>Note that this operation will result in a non-parallel data stream source, i.e.,
  a data stream source with a parallelism of one.
  
  @param data
  The iterator of elements to create the data stream from
  @param type
  The class of the data produced by the iterator. Must not be a generic class.
  @param <OUT>
  The type of the returned data stream
  @return The data stream representing the elements in the iterator
  @see #fromCollection(java.util.Iterator, org.apache.flink.api.common.typeinfo.TypeInformation)