Class IntegerRange
java.lang.Object
org.apache.tapestry5.commons.util.IntegerRange
Represents a sequence of integer values, either ascending or descending. The sequence is always inclusive (of the
finish value).
-
Constructor Details
-
IntegerRange
-
-
Method Details
-
getFinish
-
getStart
-
toString
-
iterator
The main puprose of a range object is to produce an Iterator. Since IntegerRange is iterable, it is useful with the Tapestry Loop component, but also with the Java for loop! -
hashCode
-
equals
Returns true if the other object is an IntegerRange with the same start and finish values.
-