Array a = getElements();
Array[] a = getElements();
    public void set(int i, Array e) throws Exception {        Array a = getElements();        if (a != null) {            // If the array length is exceeded, a new adjusted array with            // extended length is created and delivered back.            while (i >= a.length) {                java.lang.System.out.println("DEBUG: Create new array in: " + this);                Array old = getElements();                a = createElements(old);//??                destroyElements(old);                setElements(a);            }            java.lang.System.out.println("DEBUG: Set element: " + e + " in: " + this);            //?? Temporary: Remove old and add new java tree node.            removeTreeNode(a[i]);            addTreeNode(e);            // Set element.            a[i] = e;        } else {            throw new Exception("Could not set element. The elements is null.");        }    }