Randomize a List - Apex

Randomize a List - Apex

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!!

Lakshay Katney Avatar

Lakshay Katney

Saleforce developer by profession but I like to work with various technologies.I blog about Force.com, Hybrid Apps, PhoneGap, AngularJS, BackboneJS, JavaScript in general. I am Angular & NodeJS fan.

Read More
Share this page
Top 15 Posts

    100%