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 Object
This class is the type of the variable $foreach that is defined within #foreach loops. Its getHasNext() method means that we can write #if ($foreach.hasNext).
  • Field Details

    • iterator

      private final Iterator<?> iterator
  • Constructor Details

    • ForEachVar

      ForEachVar(Iterator<?> iterator)
  • Method Details

    • getHasNext

      public boolean getHasNext()