| java.lang.Object org.apache.tapestry.internal.util.IntegerRange
IntegerRange | final public class IntegerRange implements Iterable<Integer>(Code) | | Represents a sequence of integer values, either ascending or descending. The sequence is always
inclusive (of the finish value).
|
Constructor Summary | |
public | IntegerRange(int start, int finish) |
IntegerRange | public IntegerRange(int start, int finish)(Code) | | |
equals | public boolean equals(Object obj)(Code) | | Returns true if the other object is an IntegerRange with the same start and finish values.
|
getFinish | public int getFinish()(Code) | | |
getStart | public int getStart()(Code) | | |
hashCode | public int hashCode()(Code) | | |
iterator | public Iterator<Integer> iterator()(Code) | | 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!
|
|
|