Package org.jblas.ranges
Class PointRange
java.lang.Object
org.jblas.ranges.PointRange
- All Implemented Interfaces:
Range
A PointRange is a range which only has a single point.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasMore()More indices available?intindex()Consecutive numbering of current index.voidinit(int l, int u) Initialize Range to available indicesintlength()Total number of indices.voidnext()Increase counter.toString()intvalue()Get current index.
-
Constructor Details
-
PointRange
Construct a new PointRange with the one given index.
-
-
Method Details
-
init
Description copied from interface:RangeInitialize Range to available indices -
length
Description copied from interface:RangeTotal number of indices. -
value
Description copied from interface:RangeGet current index. -
index
Description copied from interface:RangeConsecutive numbering of current index. -
next
Description copied from interface:RangeIncrease counter. -
hasMore
Description copied from interface:RangeMore indices available? -
toString
-