class HugeLongArrayStack {

    public void push(long v) {
        if (size == capacity) {
            throw new IndexOutOfBoundsException("Stack is full.");
        }
        array.set(size++, v);
    }

    private  HugeLongArrayStack(HugeLongArray array);

}