freemarker.testcase.models
Class BooleanList1
java.lang.Object
freemarker.testcase.models.BooleanList1
- TemplateModel, TemplateSequenceModel
public class BooleanList1
extends java.lang.Object
Model for testing the impact of isEmpty() on template list models. Every
other method simply delegates to a SimpleList model.
$Id: BooleanList1.java,v 1.16 2004/01/06 17:06:44 szegedia Exp $
BooleanList1
public BooleanList1()
Creates new BooleanList1
hasNext
public boolean hasNext()
- true if there is a next element.
isRewound
public boolean isRewound()
- true if the cursor is at the beginning of the list.
rewind
public void rewind()
Resets the cursor to the beginning of the list.