Java tutorial
//package com.java2s; import java.util.Collections; import java.util.List; public class Main { public static void reverse(List<?> list) { Collections.reverse(list); } }