Constructor and Description |
---|
PointRange(int v)
Construct a new PointRange with the one given index.
|
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 PointRange(int v)
public void init(int l, int u)
Range
public int length()
Range
public int value()
Range
public int index()
Range
public void next()
Range
public boolean hasMore()
Range
Copyright © 2015. All rights reserved.