com.epam.fix.validation.engine.utils.cache
Class MessagesCache

java.lang.Object
  extended by com.epam.fix.validation.engine.utils.cache.MessagesCache
All Implemented Interfaces:
ICache<String,GroupsCache>, Cloneable

public class MessagesCache
extends Object
implements ICache<String,GroupsCache>

Author:
Serhiy_Zahriychuk

Constructor Summary
MessagesCache()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessagesCache

public MessagesCache()
Method Detail

get

public GroupsCache get(String key)
Description copied from interface: ICache
Returns value by input key.

Specified by:
get in interface ICache<String,GroupsCache>
Parameters:
key - Input key.
Returns:
Instance of value.

put

public void put(String key,
                GroupsCache value)
Description copied from interface: ICache
Puts the value by key into cache.

Specified by:
put in interface ICache<String,GroupsCache>
Parameters:
key - Key of input value.
value - The instance that contains concrete value for input key.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.