edu.stanford.smi.protege.util
Class CacheMap<X,Y>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.WeakHashMap<X,Y>
edu.stanford.smi.protege.util.CacheMap<X,Y>
- All Implemented Interfaces:
- Map<X,Y>
public class CacheMap<X,Y>
- extends WeakHashMap<X,Y>
- Author:
- Ray Fergerson
Description of this class
Method Summary |
Y |
put(X key,
Y value)
|
Methods inherited from class java.util.WeakHashMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values |
CacheMap
public CacheMap(int maxSize)
CacheMap
public CacheMap()
put
public Y put(X key,
Y value)
- Specified by:
put
in interface Map<X,Y>
- Overrides:
put
in class WeakHashMap<X,Y>
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.