Package io.pebbletemplates.pebble.node
Class ForNode.LoopVariables
- java.lang.Object
-
- io.pebbletemplates.pebble.node.ForNode.LoopVariables
-
- Enclosing class:
- ForNode
public static class ForNode.LoopVariables extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
first
private int
index
private boolean
last
private LazyLength
length
private LazyRevIndex
revindex
-
Constructor Summary
Constructors Constructor Description LoopVariables()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
LazyLength
getLength()
LazyRevIndex
getRevindex()
boolean
isFirst()
boolean
isLast()
java.lang.String
toString()
-
-
-
Field Detail
-
first
private boolean first
-
last
private boolean last
-
length
private LazyLength length
-
index
private int index
-
revindex
private LazyRevIndex revindex
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isFirst
public boolean isFirst()
-
isLast
public boolean isLast()
-
getLength
public LazyLength getLength()
-
getIndex
public int getIndex()
-
getRevindex
public LazyRevIndex getRevindex()
-
-