public abstract class AIterator extends Object
| Modifier and Type | Method and Description | 
|---|---|
abstract AIterator | 
clone()
Copy the iterator with the current values. 
 | 
int | 
getDataIndex()
Get the current data index associated with the index returned from value. 
 | 
int | 
getDataIndexAndIncrement()
Get the current data index and increment the pointers using the next operator. 
 | 
abstract boolean | 
hasNext()
Get a boolean specifying if the iterator is done 
 | 
abstract void | 
next()
Increment the pointers such that the both index and dataIndex is incremented to the next entry. 
 | 
int | 
skipTo(int index)
Skip values until index is achieved. 
 | 
int | 
value()
Get the current index value, note this correspond to a row index in the original matrix. 
 | 
int | 
valueAndIncrement()
Get the current index value and increment the pointers 
 | 
public abstract void next()
public abstract boolean hasNext()
public int value()
public int valueAndIncrement()
public int getDataIndex()
public int getDataIndexAndIncrement()
public int skipTo(int index)
index - The index to skip to.Copyright © 2021 The Apache Software Foundation. All rights reserved.