org.objectweb.jac.aspects.gui
Class WrappableMap
java.lang.Object
org.objectweb.jac.aspects.gui.WrappableMap
- public class WrappableMap
- extends Object
This class is a mere wrapper which delegates all methods to a real
Map. It allows you to have wrappable maps.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrappableMap
public WrappableMap(Map delegate)
getDelegate
protected Map getDelegate()
put
public void put(String key,
Integer value)
throws gnu.regexp.REException
- Calls put on delegate for every key already in delegate which
matches key. For instance, call with
put("gui.*",0)
will turn off all gui traces.
- Parameters:
key
- regexp keyvalue
- trace level
- Throws:
gnu.regexp.REException
clear
public void clear()
remove
public Object remove(String key)
getCategories
public static String[] getCategories(WrappableMap wmap)
getLevels
public static Integer[] getLevels(WrappableMap wmap)