|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jblas.ranges.PointRange
public class PointRange
A PointRange is a range which only has a single point.
| Constructor Summary | |
|---|---|
PointRange(int v)
Construct a new PointRange with the one given index. |
|
| Method Summary | |
|---|---|
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. |
int |
value()
Get current index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointRange(int v)
| Method Detail |
|---|
public void init(int l,
int u)
Range
init in interface Rangepublic int length()
Range
length in interface Rangepublic int value()
Range
value in interface Rangepublic int index()
Range
index in interface Rangepublic void next()
Range
next in interface Rangepublic boolean hasMore()
Range
hasMore in interface Range
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||