public class SparseArrayVectorIterator extends SparseVectorIterator
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
assignedPosition |
protected double[] |
assignedValues |
assignedPos, assignedSize, defaultValue, exclude, hasExclude, nextPos, nextValue, pos, size, value, vector| Constructor and Description |
|---|
SparseArrayVectorIterator(SparseVector vector) |
SparseArrayVectorIterator(SparseVector vector,
double exclude) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getAssignedPosition(int pos) |
protected double |
getAssignedValues(int pos) |
computeNextPosAndValue, getPosition, getValue, getValue, hasNext, next, setExclude, setValueprotected int[] assignedPosition
protected double[] assignedValues
public SparseArrayVectorIterator(SparseVector vector)
public SparseArrayVectorIterator(SparseVector vector, double exclude)
Copyright © 2004–2015 CodeLutin. All rights reserved.