Commit 6df6ba27 authored by Richard Pánek's avatar Richard Pánek
Browse files

Branch 'Submit' created

parent 149e72d5
Loading
Loading
Loading
Loading
Loading
+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;
    }
}