| Constructor and Description |
|---|
AllRange() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMore()
More indices available?
|
int |
index()
Consecutive numbering of current index.
|
void |
init(int l,
int u)
Initialize Range to available indices
|
int |
length()
Total number of indices.
|
void |
next()
Increase counter.
|
String |
toString() |
int |
value()
Get current index.
|
public void init(int l,
int u)
Rangepublic int length()
Rangepublic int value()
Rangepublic int index()
Rangepublic void next()
Rangepublic boolean hasMore()
RangeCopyright © 2015. All rights reserved.