public CharVector(char[] a, int capacity) { if (capacity > 0) BLOCK_SIZE = capacity; else BLOCK_SIZE = DEFAULT_BLOCK_SIZE; array = a; n = a.Length; }