public class SparseHashVectorIterator extends SparseVectorIterator
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
assignedPosition |
assignedPos, assignedSize, defaultValue, exclude, hasExclude, nextPos, nextValue, pos, size, value, vector| Constructor and Description |
|---|
SparseHashVectorIterator(SparseVector vector) |
SparseHashVectorIterator(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, setValuepublic SparseHashVectorIterator(SparseVector vector)
public SparseHashVectorIterator(SparseVector vector, double exclude)
Copyright © 2004–2014 CodeLutin. All rights reserved.