public class JreMapFromStringToNumber extends Object implements MapFromStringToNumber
Constructor and Description |
---|
JreMapFromStringToNumber() |
Modifier and Type | Method and Description |
---|---|
double |
get(String key)
Retrieves a value for the specified key.
|
boolean |
hasKey(String key)
Indicates whether the map contains a value for the specified key.
|
ArrayOfString |
keys()
The keys contained within this map.
|
void |
put(String key,
double value)
Associates a value to the specified key.
|
void |
remove(String key)
Removes the value associated with the specified value, if one exists.
|
ArrayOfNumber |
values()
The values contained in this map.
|
public double get(String key)
MapFromStringToNumber
get
in interface MapFromStringToNumber
public boolean hasKey(String key)
MapFromStringToNumber
hasKey
in interface MapFromStringToNumber
public ArrayOfString keys()
MapFromStringToNumber
keys
in interface MapFromStringToNumber
public void put(String key, double value)
MapFromStringToNumber
put
in interface MapFromStringToNumber
public void remove(String key)
MapFromStringToNumber
remove
in interface MapFromStringToNumber
public ArrayOfNumber values()
MapFromStringToNumber
values
in interface MapFromStringToNumber
Copyright © 2016. All rights reserved.