freemarker.core
public class StringArraySequence extends Object implements TemplateSequenceModel
NOTHING| Constructor and Description |
|---|
StringArraySequence(String[] stringArray)
Warning: Does not copy the argument array!
|
public StringArraySequence(String[] stringArray)
public TemplateModel get(int index)
TemplateSequenceModelget in interface TemplateSequenceModelnull if
the index is out of bounds. Note that a null value is
interpreted by FreeMarker as "variable does not exist", and accessing
a missing variables is usually considered as an error in the FreeMarker
Template Language, so the usage of a bad index will not remain hidden.public int size()
size in interface TemplateSequenceModel