collection reverse function in java code example
Example: Collections reverse on java
//import java.util.Collections;
//create and add items to list
Collectons.reverse(list);
//import java.util.Collections;
//create and add items to list
Collectons.reverse(list);