Class ShuffleMethod
java.lang.Object
ch.tocco.nice2.templating.impl.freemarker.methods.ShuffleMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
Method to shuffle any sequence.
Usage: `[#assign shuffledSequence = shuffle(mySequence) /]`
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ShuffleMethod
public ShuffleMethod()
-
-
Method Details
-
exec
- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException
-