Package mondrian.util

Class CacheMap<S,T>

java.lang.Object
mondrian.util.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 Details

    • CacheMap

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