Package elemental.util
Interface MapFromStringTo<V>
-
- Type Parameters:
V
-
public interface MapFromStringTo<V>
A lightweight map fromString
to any object type.- See Also:
JsMapFromStringTo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
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, V value)
Associates a value to the specified key.void
remove(String key)
Removes the value associated with the specified value, if one exists.ArrayOf<V>
values()
The values contained in this map.
-
-
-
Method Detail
-
hasKey
boolean hasKey(String key)
Indicates whether the map contains a value for the specified key.
-
keys
ArrayOfString keys()
The keys contained within this map. This copies the keys into a new array.
-
remove
void remove(String key)
Removes the value associated with the specified value, if one exists.
-
-