public class Counter extends Object implements Iterator, Serializable
Since it is an Iterator it can be used by the iterator tag
Constructor and Description |
---|
Counter() |
Modifier and Type | Method and Description |
---|---|
long |
getCurrent() |
long |
getFirst() |
long |
getInterval() |
long |
getLast() |
long |
getNext() |
long |
getPrevious() |
boolean |
hasNext() |
boolean |
isWrap() |
Object |
next() |
void |
remove() |
void |
setAdd(long addition) |
void |
setCurrent(long current) |
void |
setFirst(long first) |
void |
setInterval(long interval) |
void |
setLast(long last) |
void |
setWrap(boolean wrap) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public void setAdd(long addition)
public void setCurrent(long current)
public long getCurrent()
public void setFirst(long first)
public long getFirst()
public void setInterval(long interval)
public long getInterval()
public void setLast(long last)
public long getLast()
public long getNext()
public long getPrevious()
public void setWrap(boolean wrap)
public boolean isWrap()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.