I have created a function for the pallet picking process from my rack system (agent forklift) and I would like to know if it is possible to first pick up the pallets of the higher racks and then the lower ones. Ho creato un evento pick con esso all'interno dell'azione: Container cntTemp = new Container(); cntTemp = getContainerToPick(); if (cntTemp != null) { entPick.take(cntTemp); } dopo aver creato un collecton cllStore e una funcion (suggerita dal professore) con esso all'interno: if (cllStore.size() > 0 ) { int intIndex = (int) (random() * cllStore.size()); Container cntTemp = new Container(); cntTemp = cllStore.get(intIndex); cllStore.remove(cntTemp); restituire cntTemp; } else { return null; }