scaleFactor

val scaleFactor: Float = 1.5f

Parameters

scaleFactor

Internal storage reallocation scale factor.

If/when this Deque determines it needs to resize its internal data container to hold additional values being pushed, the internal data container will be resized at a rate of capacity * scaleFactor.

If the scale factor returns a value that is equal to or less than the current capacity, the resize will fall back to a size of capacity + 1.

Default: 1.5