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:


Lakshay Katney

Salesforce Architect by profession but I like to work with various technologies. I blog about Force.com, Mobile Apps, Angular(JavaScript in general). I am a Salesforce, JavaScript & NodeJS fan.