Here you can find the source of reverse(final List
public static <T> List<T> reverse(final List<T> list)
//package com.java2s; //License from project: Apache License import java.util.Collections; import java.util.List; public class Main { public static <T> List<T> reverse(final List<T> list) { Collections.reverse(list); return list; }//from ww w.j a v a 2 s . co m }