bilateralarray

An array-like object where the zero index is at the middle of the array. tracks left and right offsets as items are added

BilateralArray

An array-like object where the zero index is at the middle of the array. tracks left and right offsets as items are added

Add the specified values to the left side of the array.

Add the specified values to the right side of the array.

Get the length of the array

The number of items that have been added to the left

The number of items that have been added to the right

Access to the actual array