public final class KeyedParameters<KEY> extends Object implements Parameters<KeyedParameters<KEY>>, Iterable<KeyedParameters.ObjectDoubleEntry<KEY>>
Modifier and Type | Class and Description |
---|---|
static class |
KeyedParameters.ObjectDoubleEntry<KEY> |
Constructor and Description |
---|
KeyedParameters() |
Modifier and Type | Method and Description |
---|---|
void |
addInplace(double value) |
void |
addInplace(KEY key,
double value) |
void |
addInplace(KeyedParameters<KEY> other) |
boolean |
contains(KEY key) |
double |
get(KEY key) |
Iterator<KeyedParameters.ObjectDoubleEntry<KEY>> |
iterator() |
void |
multiplyInplace(double value) |
void |
multiplyInplace(KEY key,
double value) |
void |
multiplyInplace(KeyedParameters<KEY> other) |
void |
set(KEY key,
double value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public KeyedParameters()
public void multiplyInplace(KeyedParameters<KEY> other)
multiplyInplace
in interface Parameters<KeyedParameters<KEY>>
public void multiplyInplace(KEY key, double value)
public void addInplace(KeyedParameters<KEY> other)
addInplace
in interface Parameters<KeyedParameters<KEY>>
public void addInplace(KEY key, double value)
public void multiplyInplace(double value)
multiplyInplace
in interface Parameters<KeyedParameters<KEY>>
public void addInplace(double value)
addInplace
in interface Parameters<KeyedParameters<KEY>>
public Iterator<KeyedParameters.ObjectDoubleEntry<KEY>> iterator()
iterator
in interface Iterable<KeyedParameters.ObjectDoubleEntry<KEY>>