org.icepdf.core.util
Class SoftLRUCache<K,V>

java.lang.Object
  extended by org.icepdf.core.util.SoftLRUCache<K,V>

public class SoftLRUCache<K,V>
extends java.lang.Object

Least recently used cache using SoftReferences.

Since:
5.0

Constructor Summary
SoftLRUCache(int aInitialSize)
           
 
Method Summary
 void clear()
           
 V get(K aKey)
           
 V put(K aKey, V aValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftLRUCache

public SoftLRUCache(int aInitialSize)
Method Detail

get

public V get(K aKey)

put

public V put(K aKey,
             V aValue)

clear

public void clear()