Array a = getElements();
Array[] a = getElements();
    public void remove(int i) throws Exception {        Array a = getElements();        if (a != null) {            java.lang.System.out.println("DEBUG: Remove element: " + e + " in: " + this);            //?? Temporary: Remove java tree node.            removeTreeNode(a[i]);            // Move all remaining elements one place towards the            // beginning of the elements.            int index = i;            while ((index + 1) < getNumber()) {                a[index] = a[index + 1];                index++;            }            // Set former last element to null.            a[index] = null;        } else {            throw new Exception("Could not remove element. The elements is null.");        }    }