Package org.orekit.utils
Class FieldDataDictionary.Entry
- java.lang.Object
-
- org.orekit.utils.FieldDataDictionary.Entry
-
- Enclosing class:
- FieldDataDictionary<T extends CalculusFieldElement<T>>
public class FieldDataDictionary.Entry extends Object
Entry in a dictionary.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()Get the entry key.ObjectgetValue()Get the value.voidscaledIncrement(double factor, FieldArrayDictionary.Entry raw)Increment the value with another scaled entry.voidscaledIncrement(T factor, FieldArrayDictionary.Entry raw)Increment the value with another scaled entry.
-
-
-
Method Detail
-
getKey
public String getKey()
Get the entry key.- Returns:
- entry key
-
getValue
public Object getValue()
Get the value.- Returns:
- a copy of the value (independent from internal array if it is a double array)
-
scaledIncrement
public void scaledIncrement(double factor, FieldArrayDictionary.Entry raw)Increment the value with another scaled entry.Each component
value[i]will be replaced byvalue[i] + factor * raw.value[i].For the sake of performance, no checks are done on arguments.
- Parameters:
factor- multiplicative factor for incrementraw- raw increment to be multiplied byfactorand then added
-
scaledIncrement
public void scaledIncrement(T factor, FieldArrayDictionary.Entry raw)
Increment the value with another scaled entry.Each component
value[i]will be replaced byvalue[i] + factor * raw.value[i].For the sake of performance, no checks are done on arguments.
- Parameters:
factor- multiplicative factor for incrementraw- raw increment to be multiplied byfactorand then added
-
-