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