Class Range
- java.lang.Object
-
- com.atlassian.confluence.util.collections.Range
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<Integer>
iterator()
static Range
range(int start, int end)
Creates a new range with a given start value (inclusive) and end value (exclusive).-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
range
public static Range range(int start, int end)
Creates a new range with a given start value (inclusive) and end value (exclusive).- Throws:
IllegalArgumentException
- ifstart
is not less than or equal toend
-
-