Class Range
java.lang.Object
com.atlassian.confluence.util.collections.Range
Represents an integer range suitable for iterating over. As is typical in Java,
it is inclusive for the start value and exclusive for the end value.
-
Method Details
-
range
Creates a new range with a given start value (inclusive) and end value (exclusive).- Throws:
IllegalArgumentException
- ifstart
is not less than or equal toend
-
iterator
-