Class DirectiveNode.ForEachNode.ForEachVar
- java.lang.Object
-
- com.google.auto.value.processor.escapevelocity.DirectiveNode.ForEachNode.ForEachVar
-
- Enclosing class:
- DirectiveNode.ForEachNode
private static class DirectiveNode.ForEachNode.ForEachVar extends java.lang.Object
This class is the type of the variable$foreach
that is defined within#foreach
loops. ItsgetHasNext()
method means that we can write#if ($foreach.hasNext)
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Iterator<?>
iterator
-
Constructor Summary
Constructors Constructor Description ForEachVar(java.util.Iterator<?> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getHasNext()
-