@get


Description:

public T @get (int index)

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);

Parameters:

index

the zero-based index.

Returns:

the element at the index, or null if out of bounds.