public PythonDataStream from_collection(Collection<Object> collection) {
		return new PythonDataStream<>(env.fromCollection(collection).map(new AdapterMap<>()));
	}
public PythonDataStream from_collection ( Collection < Object > collection ) { return new PythonDataStream < > ( env . fromCollection ( collection ) . map ( new AdapterMap < > ( ) ) ) ; }
A thin wrapper layer over {@link StreamExecutionEnvironment#fromCollection(java.util.Collection)}

<p>The input {@code Collection} is of type {@code Object}, because it is a collection
of Python elements. * There type is determined in runtime, by the Jython framework.</p>

@param collection The collection of python elements to create the data stream from.
@return The data stream representing the given collection