Package freemarker.template
Class MapKeyValuePairIterator
java.lang.Object
freemarker.template.MapKeyValuePairIterator
- All Implemented Interfaces:
TemplateHashModelEx2.KeyValuePairIterator
public class MapKeyValuePairIterator
extends Object
implements TemplateHashModelEx2.KeyValuePairIterator
Implementation of
TemplateHashModelEx2.KeyValuePairIterator
for a TemplateHashModelEx2
that wraps or otherwise uses a
Map
internally.- Since:
- 2.3.25
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
Similar toIterator.hasNext()
.next()
Similar toIterator.next()
.
-
Constructor Details
-
MapKeyValuePairIterator
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:TemplateHashModelEx2.KeyValuePairIterator
Similar toIterator.hasNext()
.- Specified by:
hasNext
in interfaceTemplateHashModelEx2.KeyValuePairIterator
-
next
Description copied from interface:TemplateHashModelEx2.KeyValuePairIterator
Similar toIterator.next()
.- Specified by:
next
in interfaceTemplateHashModelEx2.KeyValuePairIterator
- Returns:
- Not
null
-