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
-
Method Summary
-
Constructor Details
-
ShuffleMethod
public ShuffleMethod()
-
-
Method Details
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-