How to empty a Map object?

I have defined a Map object, using:

Map<Object,Object> mapObj=new HashMap<Object,Object>();

I usemapObj.put(obj,obj) to put some values in to thismapObj, after that, I want to empty thismapObj, that's delete all the value inside, make the mapObj empty. How to do that?

[331 byte] By [Mellona] at [2007-11-27 2:53:06]
# 1
How? By examining the API: http://java.sun.com/javase/6/docs/api/java/util/Map.html
DrLaszloJamfa at 2007-7-12 3:27:45 > top of Java-index,Java Essentials,Java Programming...