Package mondrian.util

Class CacheMap<S,​T>

  • All Implemented Interfaces:
    Map<S,​T>

    public class CacheMap<S,​T>
    extends Object
    implements Map<S,​T>
    Map with limited size to be used as cache.
    Author:
    lcanals, www.tasecurity.net
    • Constructor Detail

      • CacheMap

        public CacheMap​(int size)
        Creates an empty map with limited size.
        Parameters:
        size - Maximum number of mapped elements.