Cache
public Cache(int size,
Map<String,Tree> secondary)
Constructor.
If the least recently used entry is removed from the primary cache, it is added to
the secondary map.
- Parameters:
size - maximum primary cache sizesecondary - the secondary map (may be null)