Mega Code Archive

 
Categories / Java Book / 005 Collection
 

0339 Reverse a list

static void reverse(List<?> list) Reverses the order of the elements in the specified list.