|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfreemarker.testcase.models.ListModel1
public final class ListModel1
A simple list model for testing the list iterator functionality.
| Constructor Summary | |
|---|---|
ListModel1()
Default constructor that creates a simple list. |
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
Is the model empty? |
void |
releaseIterator(TemplateIteratorModel iterator)
Return the iterator to the object pool. |
TemplateIteratorModel |
templateIterator()
Retrieve an iterator to walk through the items in the list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListModel1()
| Method Detail |
|---|
public boolean isEmpty()
isEmpty in interface TemplateModeltrue if the list is empty, otherwise falsepublic TemplateIteratorModel templateIterator()
templateIterator in interface TemplateListModel2public void releaseIterator(TemplateIteratorModel iterator)
releaseIterator in interface TemplateListModel2iterator - the iterator to be returned
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||