public void setCursor(int cursor) {
        if (cursor < 0 || cursor > _size) {
            throw new IllegalArgumentException("Cursor out of bound (0," + _size + ")");
        }
        _next = cursor;
    }