ArrayDeque::map

(Available since version 1.0)

ArrayDeque::mapMaps an index to the internal array

Description

protected int ArrayDeque::map ( int $index )

Maps an index in the external array to its equivalent index in the internal array.

Parameters

index

An index in the external array

Return Values

The equivalent index in the internal array

To Top