Rangepublic class PointRange extends java.lang.Object implements Range
| Constructor | Description |
|---|---|
PointRange(int v) |
Construct a new PointRange with the one given index.
|
| Modifier and Type | Method | 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.
|
java.lang.String |
toString() |
|
int |
value() |
Get current index.
|
public PointRange(int v)
public void init(int l, int u)
Rangepublic int index()
Rangepublic java.lang.String toString()
toString in class java.lang.Object© 2008-2013 by Mikio L. Braun and contributors