size--;
}
- type last() {
+ type last() const {
return array[size - 1];
}
array[size++] = item;
}
- type get(uint index) {
+ type get(uint index) const {
return array[index];
}
array[index] = item;
}
- uint getSize() {
+ uint getSize() const {
return size;
}