public class TemplateModelListSequence
extends java.lang.Object
implements freemarker.template.TemplateSequenceModel
java.util.List of already wrapped objects
directly, with minimal resource usage. Warning! It does not copy the original
list.| Constructor and Description |
|---|
TemplateModelListSequence(java.util.List list) |
| Modifier and Type | Method and Description |
|---|---|
freemarker.template.TemplateModel |
get(int index) |
java.lang.Object |
getWrappedObject() |
int |
size() |
public freemarker.template.TemplateModel get(int index)
throws freemarker.template.TemplateModelException
get in interface freemarker.template.TemplateSequenceModelfreemarker.template.TemplateModelExceptionpublic int size()
throws freemarker.template.TemplateModelException
size in interface freemarker.template.TemplateSequenceModelfreemarker.template.TemplateModelExceptionpublic java.lang.Object getWrappedObject()