Related to multiple patten generation in a class

Hi Everyone,
we need to generate multiple patterns specifically in a class and push those patterns in queue in queue or queue in associative or any other which is suitable.
for Example patterns are : 1)0120
2)012340
3)0123240
4)01340
5)0132340 like this few patterns we need to specifically generate with rand variable

please share your knowledge.
Thanks in Advance

You need to provide many more details of what these patterns look like. Perhaps show us an example of a non-random version of your simulus,