T - resourcepublic interface Store<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get(T object)
Returns the requested item.
|
T |
getByKey(String key)
Returns the request item with specific key.
|
String |
getKey(T object)
Use the key function to extract the object's key.
|
List<T> |
list()
Returns a list of all the items.
|
List<String> |
listKeys()
returns a list of all keys of the object currently in the store.
|
List<String> listKeys()
T get(T object)
object - objectT getByKey(String key)
key - specific keyCopyright © 2015–2023 Red Hat. All rights reserved.