
public class JreMapFromIntToString extends Object implements MapFromIntToString
| Constructor and Description |
|---|
JreMapFromIntToString() |
| Modifier and Type | Method and Description |
|---|---|
String |
get(int key)
Retrieves a value for the specified key.
|
boolean |
hasKey(int key)
Indicates whether the map contains a value for the specified key.
|
ArrayOfInt |
keys()
The keys contained within this map.
|
void |
put(int key,
String value)
Associates a value to the specified key.
|
void |
remove(int key)
Removes the value associated with the specified value, if one exists.
|
void |
set(int key,
String value) |
ArrayOfString |
values()
The values contained in this map.
|
public String get(int key)
MapFromIntToStringget in interface MapFromIntToStringpublic boolean hasKey(int key)
MapFromIntToStringhasKey in interface MapFromIntToStringpublic ArrayOfInt keys()
MapFromIntToStringkeys in interface MapFromIntToStringpublic void put(int key,
String value)
MapFromIntToStringput in interface MapFromIntToStringpublic void remove(int key)
MapFromIntToStringremove in interface MapFromIntToStringpublic void set(int key,
String value)
public ArrayOfString values()
MapFromIntToStringvalues in interface MapFromIntToStringCopyright © 2016. All rights reserved.