com.opensymphony.webwork.views.jsp
Class IteratorStatus
java.lang.Object
com.opensymphony.webwork.views.jsp.IteratorStatus
- public class IteratorStatus
- extends Object
The iterator tag can export an IteratorStatus object so that
one can get information about the status of the iteration, such as
the size, current index, and whether any more items are available.
- Author:
- Rickard ?berg (rickard@dreambean.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
protected IteratorStatus.StatusState state
IteratorStatus
public IteratorStatus(IteratorStatus.StatusState aState)
getCount
public int getCount()
isEven
public boolean isEven()
isFirst
public boolean isFirst()
getIndex
public int getIndex()
isLast
public boolean isLast()
isOdd
public boolean isOdd()
modulus
public int modulus(int operand)