
public class JreMapFromStringToInt extends Object implements MapFromStringToInt
| Constructor and Description |
|---|
JreMapFromStringToInt() |
| Modifier and Type | Method and Description |
|---|---|
int |
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,
int value)
Associates a value to the specified key.
|
void |
remove(String key)
Removes the value associated with the specified value, if one exists.
|
ArrayOfInt |
values()
The values contained in this map.
|
public int get(String key)
MapFromStringToIntget in interface MapFromStringToIntpublic boolean hasKey(String key)
MapFromStringToInthasKey in interface MapFromStringToIntpublic ArrayOfString keys()
MapFromStringToIntkeys in interface MapFromStringToIntpublic void put(String key, int value)
MapFromStringToIntput in interface MapFromStringToIntpublic void remove(String key)
MapFromStringToIntremove in interface MapFromStringToIntpublic ArrayOfInt values()
MapFromStringToIntvalues in interface MapFromStringToIntCopyright © 2016. All rights reserved.