public interface IStorage
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String key)
delete value corresponding to key
|
String |
get(String key)
Returns the value for the given key
|
boolean |
has(String key)
Check if a given key is set
|
void |
put(String key,
String value)
Stores a string value under a given key
|
void put(String key, String value)
key - The key for the data to storevalue - The value of the data to storeString get(String key)
key - The key of the data to returnboolean has(String key)
key - The key to checkvoid delete(String key)
key - The key of the data to deleteCopyright © 2018. All rights reserved.