com.epam.fix.validation.engine.utils.cache
Class AbstractCache
java.lang.Object
com.epam.fix.validation.engine.utils.cache.AbstractCache
- All Implemented Interfaces:
- ICache<Integer,Field>, Cloneable
- Direct Known Subclasses:
- AbstractGroupsCache, BlockCache, GroupCache
public abstract class AbstractCache
- extends Object
- implements ICache<Integer,Field>
- Author:
- Serhiy_Zahriychuk
mapCache
protected Map<Integer,Field> mapCache
AbstractCache
public AbstractCache()
get
public Field get(Integer key)
- Description copied from interface:
ICache
- Returns value by input key.
- Specified by:
get
in interface ICache<Integer,Field>
- Parameters:
key
- Input key.
- Returns:
- Instance of value.
put
public void put(Integer key,
Field value)
- Description copied from interface:
ICache
- Puts the value by key into cache.
- Specified by:
put
in interface ICache<Integer,Field>
- Parameters:
key
- Key of input value.value
- The instance that contains concrete value for input key.
clone
public Object clone()
- Overrides:
clone
in class Object
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.