I need to add elements to an ArrayList queue whatever, but when I call the function to add an element, I want it to add the element at the beginning of the arra
List element1 = new ArrayList<>();
element1.add("two");
element1.add("three");
List element2 = new ArrayList<>();
element2.add("one");
element2.addAll(element1);