@SuppressWarnings("unchecked")
    public static <K, V> Map<K, V> createLRUMap(int size) {

        return new LRUMap(size);
    }
@ SuppressWarnings ( "unchecked" ) public static < K , V > Map < K , V > createLRUMap ( int size ) { return new LRUMap ( size ) ; }
Provides a wrapper to create a {@link LRUMap} with the given size that avoids warnings with Java 1.5 generic code.<p>

@param <K> the type of keys maintained by the returned map
@param <V> the type of mapped values
@param size the initial size of the created Map

@return a {@link LRUMap} with the given size of the required generic type