• + 0 comments

    public static List reverseArray(List a) { ArrayList list=new ArrayList<>(a); Collections.reverse(list); return list; }