Constructor and Description |
---|
IntegerRange(int start,
int finish) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true if the other object is an IntegerRange with the same start and finish values.
|
int |
getFinish() |
int |
getStart() |
int |
hashCode() |
Iterator<Integer> |
iterator()
The main puprose of a range object is to produce an Iterator.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public IntegerRange(int start, int finish)
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.