org.eclipse.xtext.util
Class OnChangeEvictingCache.CacheAdapter
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.ecore.util.EContentAdapter
org.eclipse.xtext.util.OnChangeEvictingCache.CacheAdapter
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
- Enclosing class:
- OnChangeEvictingCache
public static class OnChangeEvictingCache.CacheAdapter
- extends org.eclipse.emf.ecore.util.EContentAdapter
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
target |
Methods inherited from class org.eclipse.emf.ecore.util.EContentAdapter |
addAdapter, basicSetTarget, basicUnsetTarget, handleContainment, removeAdapter, selfAdapt, setTarget, setTarget, setTarget, setTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget, unsetTarget |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OnChangeEvictingCache.CacheAdapter
public OnChangeEvictingCache.CacheAdapter()
set
public void set(java.lang.Object name,
java.lang.Object value)
get
public <T> T get(java.lang.Object name)
addCacheListener
public void addCacheListener(OnChangeEvictingCache.Listener listener)
removeCacheListener
public void removeCacheListener(OnChangeEvictingCache.Listener listener)
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
- Specified by:
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
- Overrides:
notifyChanged
in class org.eclipse.emf.ecore.util.EContentAdapter
clearValues
public void clearValues()
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
- Specified by:
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
- Overrides:
isAdapterForType
in class org.eclipse.emf.common.notify.impl.AdapterImpl
setIgnoreNotifications
public void setIgnoreNotifications(boolean ignoreNotifications)
isIgnoreNotifications
public boolean isIgnoreNotifications()
resolve
protected boolean resolve()
- Overrides:
resolve
in class org.eclipse.emf.ecore.util.EContentAdapter