public class FieldArrayDictionary.Entry extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Get the entry key.
|
T[] |
getValue()
Get the value.
|
void |
increment(double[] increment)
Increment the value.
|
void |
increment(T[] increment)
Increment the value.
|
void |
scaledIncrement(double factor,
FieldArrayDictionary.Entry raw)
Increment the value with another scaled entry.
|
void |
scaledIncrement(T factor,
FieldArrayDictionary.Entry raw)
Increment the value with another scaled entry.
|
int |
size()
Get the size of the value array.
|
void |
zero()
Reset the value to zero.
|
public String getKey()
public T[] getValue()
public int size()
public void increment(T[] increment)
For the sake of performance, no checks are done on argument.
increment - increment to apply to the entry valuepublic void increment(double[] increment)
For the sake of performance, no checks are done on argument.
increment - increment to apply to the entry valuepublic void scaledIncrement(T factor, FieldArrayDictionary.Entry raw)
Each component value[i] will be replaced by value[i] + factor * raw.value[i].
For the sake of performance, no checks are done on arguments.
factor - multiplicative factor for incrementraw - raw increment to be multiplied by factor and then addedpublic void scaledIncrement(double factor,
FieldArrayDictionary.Entry raw)
Each component value[i] will be replaced by value[i] + factor * raw.value[i].
For the sake of performance, no checks are done on arguments.
factor - multiplicative factor for incrementraw - raw increment to be multiplied by factor and then addedpublic void zero()
Copyright © 2002-2022 CS GROUP. All rights reserved.