public int getPosition() {
        int counter = 0;

        for (int i = 0; i < this.parent.elementsIndex.size(); i++) {
            if (!this.parent.elementsIndex.get(i).equals(this)) {
                counter++;
                break;
            }
        }
        return counter;
    }