freemarker.testcase.models

Class BooleanList2

Implemented Interfaces:
TemplateModel, TemplateSequenceModel

public class BooleanList2
extends java.lang.Object
implements TemplateSequenceModel

Model for testing list models. Every other method simply delegates to a SimpleList model.
Version:
$Id: BooleanList2.java,v 1.12 2003/01/12 23:40:25 revusky Exp $
Author:
Nicholas Cull

Fields inherited from interface freemarker.template.TemplateModel

NOTHING

Constructor Summary

BooleanList2()
Creates new BooleanList2

Method Summary

TemplateModel
get(int i)
int
size()

Constructor Details

BooleanList2

public BooleanList2()
Creates new BooleanList2

Method Details

get

public TemplateModel get(int i)
            throws TemplateModelException
Specified by:
get in interface TemplateSequenceModel
Returns:
the specified index in the list

size

public int size()
Specified by:
size in interface TemplateSequenceModel