Modifier and Type | Method and 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).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static Range range(int start, int end)
IllegalArgumentException
- if start
is not less than or equal to end
Copyright © 2003–2017 Atlassian. All rights reserved.