Creates a Stream from an ArrayList.
Example:
var list = new ArrayList<string> (GLib.str_equal);
list.add ("a");
var s = Stream.fromList<string> (list);
| list |
the source ArrayList. |
|
a new Stream over the list elements. |