|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.linear.RealVector.Entry
org.apache.commons.math.linear.OpenMapRealVector.OpenMapEntry
protected class OpenMapRealVector.OpenMapEntry
Implementation of Entry optimized for OpenMap.
This implementation does not allow arbitrary calls to setIndex
since the order that entries are returned is undefined.
| Constructor Summary | |
|---|---|
protected |
OpenMapRealVector.OpenMapEntry(OpenIntToDoubleHashMap.Iterator iter)
Build an entry from an iterator point to an element. |
| Method Summary | |
|---|---|
int |
getIndex()
Get the index of the entry. |
double |
getValue()
Get the value of the entry. |
void |
setValue(double value)
Set the value of the entry. |
| Methods inherited from class org.apache.commons.math.linear.RealVector.Entry |
|---|
setIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected OpenMapRealVector.OpenMapEntry(OpenIntToDoubleHashMap.Iterator iter)
iter - iterator pointing to the entry| Method Detail |
|---|
public double getValue()
getValue in class RealVector.Entrypublic void setValue(double value)
setValue in class RealVector.Entryvalue - New value for the entry.public int getIndex()
getIndex in class RealVector.Entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||