Add final modifier
This commit is contained in:
parent
5cc56b6ab0
commit
f49c3e4f4d
@ -6,7 +6,7 @@ import org.nd4j.linalg.api.shape.Shape
|
|||||||
internal sealed class INDArrayIteratorBase<T>(protected val iterateOver: INDArray) : Iterator<Pair<IntArray, T>> {
|
internal sealed class INDArrayIteratorBase<T>(protected val iterateOver: INDArray) : Iterator<Pair<IntArray, T>> {
|
||||||
private var i: Int = 0
|
private var i: Int = 0
|
||||||
|
|
||||||
override fun hasNext(): Boolean = i < iterateOver.length()
|
final override fun hasNext(): Boolean = i < iterateOver.length()
|
||||||
|
|
||||||
abstract fun getSingle(indices: LongArray): T
|
abstract fun getSingle(indices: LongArray): T
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user