Method ADT.CircularList()->`[]()


Method `[]

mixed res = ADT.CircularList()[ index ]

Description

Index operator

Parameter index

The index to get the value for, may be negative to index from the end.

Returns

The value at the index index

Throws

An error if the index is out of range.