Constructor and Description |
---|
IntervalRange(int a,
int b)
Construct new interval range.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMore()
More indices available?
|
int |
index()
Consecutive numbering of current index.
|
void |
init(int lower,
int upper)
Initialize Range to available indices
|
int |
length()
Total number of indices.
|
void |
next()
Increase counter.
|
String |
toString() |
int |
value()
Get current index.
|
public IntervalRange(int a, int b)
public void init(int lower, int upper)
Range
public int length()
Range
public void next()
Range
public int index()
Range
public int value()
Range
public boolean hasMore()
Range
Copyright © 2015. All rights reserved.