Returns the element at the specified index. Returns null if the index is out of bounds.
Example:
var list = new ArrayList<string> (GLib.str_equal);
list.add ("hello");
assert (list.get (0) == "hello");
assert (list.get (99) == null);
| index |
the zero-based index. |
|
the element at the index, or null if out of bounds. |