Package org.jblas.ranges
Class AllRange
- java.lang.Object
-
- org.jblas.ranges.AllRange
-
-
Constructor Summary
Constructors Constructor Description AllRange()
-
Method Summary
All Methods Instance Methods Concrete Methods 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 indicesint
length()
Total number of indices.void
next()
Increase counter.java.lang.String
toString()
int
value()
Get current index.
-
-
-
Constructor Detail
-
AllRange
public AllRange()
-
-
Method Detail
-
init
public void init(int l, int u)
Description copied from interface:Range
Initialize Range to available indices
-
index
public int index()
Description copied from interface:Range
Consecutive numbering of current index.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-