org.eclipse.xtend.backend.util
Class Cache<K,V>

java.lang.Object
  extended by org.eclipse.xtend.backend.util.Cache<K,V>

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

Author:
Arno Haase (http://www.haase-consulting.com)

Constructor Summary
Cache()
           
 
Method Summary
protected abstract  V create(K key)
           
 V get(K key)
           
 java.util.Map<K,V> getMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cache

public Cache()
Method Detail

get

public V get(K key)

create

protected abstract V create(K key)

getMap

public java.util.Map<K,V> getMap()