LinkedList::offsetGet

(Available since version 1.0)

LinkedList::offsetGetReturns the value at the specified index

Description

public mixed LinkedList::offsetGet ( int $index )

Note:

This is a slow method (Θ(n) amortized time) due to the seek operation involved.

Parameters

index

The index with the value.

Return Values

The value at the specified index.

Errors/Exceptions

Throws SEIDS::LinkedLists::OutOfRangeException when index is out of bounds or when index cannot be parsed as an integer.

To Top