Loading src/main/java/cz/muni/fi/pb162/hw02/impl/DefaultCacheFactory.java 0 → 100644 +19 −0 Original line number Diff line number Diff line package cz.muni.fi.pb162.hw02.impl; import cz.muni.fi.pb162.hw02.Cache; import cz.muni.fi.pb162.hw02.CacheFactory; import cz.muni.fi.pb162.hw02.CacheType; public class DefaultCacheFactory<K, V> implements CacheFactory<K, V> { /** * Creates an instance of a cache * * @param type type of the cache * @param size size of the cache * @return cache */ @Override public Cache<K, V> create(CacheType type, int size) { return null; } } Loading
src/main/java/cz/muni/fi/pb162/hw02/impl/DefaultCacheFactory.java 0 → 100644 +19 −0 Original line number Diff line number Diff line package cz.muni.fi.pb162.hw02.impl; import cz.muni.fi.pb162.hw02.Cache; import cz.muni.fi.pb162.hw02.CacheFactory; import cz.muni.fi.pb162.hw02.CacheType; public class DefaultCacheFactory<K, V> implements CacheFactory<K, V> { /** * Creates an instance of a cache * * @param type type of the cache * @param size size of the cache * @return cache */ @Override public Cache<K, V> create(CacheType type, int size) { return null; } }