elementAt

abstract fun elementAt(index: Int): T

返回此可迭代对象中指定 index 处的元素。

Return

此可迭代对象中指定 index 处的元素。

Parameters

index

要返回的元素的索引。

Throws

如果 index 超出范围。