Package ai.nexconn.chatui.utils.common
Class CollectionsUtils
-
- All Implemented Interfaces:
public class CollectionsUtils
-
-
Constructor Summary
Constructors Constructor Description CollectionsUtils()
-
Method Summary
Modifier and Type Method Description static voidreverse(List<out Object> list)Collections.reverse implementation compatible with Android M. -
-
Method Detail
-
reverse
static void reverse(List<out Object> list)
Collections.reverse implementation compatible with Android M.
Uses Collections.reverse on Android M+ and a custom implementation on Android M and below.
- Parameters:
list- the list to reverse
-
-
-
-