public class MessagesCache extends Object implements ICache<String,GroupsCache>
Constructor and Description |
---|
MessagesCache() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
GroupsCache |
get(String key)
Returns value by input key.
|
int |
hashCode() |
void |
put(String key,
GroupsCache value)
Puts the value by key into cache.
|
String |
toString() |
public GroupsCache get(String key)
ICache
get
in interface ICache<String,GroupsCache>
key
- Input key.public void put(String key, GroupsCache value)
ICache
put
in interface ICache<String,GroupsCache>
key
- Key of input value.value
- The instance that contains concrete value for input key.Copyright © 2000–2022 EPAM Systems. All rights reserved.