org.eclipse.emf.mwe.internal.core.util
Class WeakCache<K,V>

java.lang.Object
  extended by org.eclipse.emf.mwe.internal.core.util.WeakCache<K,V>

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


Constructor Summary
WeakCache()
           
 
Method Summary
 void clear()
          Clears the cache.
protected abstract  V createNew(K arg0)
           
 V get(K key)
           
 java.util.Collection<V> getValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakCache

public WeakCache()
Method Detail

createNew

protected abstract V createNew(K arg0)

get

public V get(K key)

getValues

public java.util.Collection<V> getValues()

clear

public void clear()
Clears the cache.

Since:
4.2