public class JreMapFromStringTo<T> extends Object implements MapFromStringTo<T>
Constructor and Description |
---|
JreMapFromStringTo() |
Modifier and Type | Method and Description |
---|---|
T |
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,
T value)
Associates a value to the specified key.
|
void |
remove(String key)
Removes the value associated with the specified value, if one exists.
|
ArrayOf<T> |
values()
The values contained in this map.
|
public T get(String key)
MapFromStringTo
get
in interface MapFromStringTo<T>
public boolean hasKey(String key)
MapFromStringTo
hasKey
in interface MapFromStringTo<T>
public ArrayOfString keys()
MapFromStringTo
keys
in interface MapFromStringTo<T>
public void put(String key, T value)
MapFromStringTo
put
in interface MapFromStringTo<T>
public void remove(String key)
MapFromStringTo
remove
in interface MapFromStringTo<T>
public ArrayOf<T> values()
MapFromStringTo
values
in interface MapFromStringTo<T>
Copyright © 2016. All rights reserved.