|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemarker.template.TemplateModelListSequence
Sequence that wraps a java.util.List
of already wrapped objects
directly, with minimal resource usage. Warning! It does not copy the original
list.
Field Summary |
Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
Constructor Summary | |
TemplateModelListSequence(java.util.List list)
|
Method Summary | |
TemplateModel |
get(int index)
Retrieves the i-th template model in this sequence. |
java.lang.Object |
getWrappedObject()
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemplateModelListSequence(java.util.List list)
Method Detail |
public TemplateModel get(int index)
TemplateSequenceModel
get
in interface TemplateSequenceModel
public int size()
size
in interface TemplateSequenceModel
public java.lang.Object getWrappedObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |