changeCapacity

abstract fun changeCapacity(value: Int)(source)

Sets the current capacity to value (may be 0, e.g., off-shift).