optionally Reverse
Optionally reverses this Iterable based on the reverse parameter. Delegates to specialized implementations for List and Set for better performance.
Return
The iterable, optionally reversed
Parameters
If true, reverses the iterable; otherwise returns it unchanged
Type Parameters
The type of items in the iterable
Optionally reverses this List based on the reverse parameter.
Return
The list, optionally reversed
Parameters
If true, reverses the list; otherwise returns it unchanged
Type Parameters
The type of items in the list
Optionally reverses this Set based on the reverse parameter. Note that the resulting set may have a different iteration order than the original.
Return
The set, optionally reversed
Parameters
If true, reverses the set; otherwise returns it unchanged
Type Parameters
The type of items in the set
Optionally reverses this Array based on the reverse parameter.
Return
The array, optionally reversed
Parameters
If true, creates a reversed copy of the array; otherwise returns it unchanged
Type Parameters
The type of items in the array