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)
MapFromStringToInt
get
in interface MapFromStringToInt
public boolean hasKey(String key)
MapFromStringToInt
hasKey
in interface MapFromStringToInt
public ArrayOfString keys()
MapFromStringToInt
keys
in interface MapFromStringToInt
public void put(String key, int value)
MapFromStringToInt
put
in interface MapFromStringToInt
public void remove(String key)
MapFromStringToInt
remove
in interface MapFromStringToInt
public ArrayOfInt values()
MapFromStringToInt
values
in interface MapFromStringToInt
Copyright © 2016. All rights reserved.