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