StackCapacity<T> constructor

StackCapacity<T>(
  1. int capacity
)

Implementation

StackCapacity(int capacity) {
  _stack = List<T>(capacity);
}