Randomize a List - Apex

Salesforce Feb 28, 2015

A very simple scenario wherein we to have to access a list with random indexes every time for gamification stuff. Below code exactly does that :

Hope this helps!!

Related Tags:

Salesforce