public CharVector(int capacity) {
if (capacity > 0)
BLOCK_SIZE = capacity;
else
BLOCK_SIZE = DEFAULT_BLOCK_SIZE;
array = new char[BLOCK_SIZE];
n = 0;
}
CharVector::CharVector ( ) : System | |
CharVector::CharVector ( char a ) : System | |
CharVector::CharVector ( char a, int capacity ) : System |