Package org.thymeleaf.engine
Class IterationStatusVar
- java.lang.Object
-
- org.thymeleaf.engine.IterationStatusVar
-
public final class IterationStatusVar extends java.lang.Object- Since:
- 3.0.0 (equivalent to the one existing since 1.0)
-
-
Constructor Summary
Constructors Constructor Description IterationStatusVar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()java.lang.ObjectgetCurrent()intgetIndex()java.lang.IntegergetSize()booleanhasSize()booleanisEven()booleanisFirst()booleanisLast()booleanisOdd()java.lang.StringtoString()
-
-
-
Method Detail
-
getIndex
public int getIndex()
-
getCount
public int getCount()
-
hasSize
public boolean hasSize()
-
getSize
public java.lang.Integer getSize()
-
getCurrent
public java.lang.Object getCurrent()
-
isEven
public boolean isEven()
-
isOdd
public boolean isOdd()
-
isFirst
public boolean isFirst()
-
isLast
public boolean isLast()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-