operator [] method

T operator [](
  1. int index
)

Gets the element at the specified index in the iterable.

Implementation

T operator [](int index) {
  return value.elementAt(index);
}