The java.awt.Map.clear method is used to remove all the key-value mappings from a Map. This method essentially empties the map, leaving it with a size of zero. Once the clear method is invoked, the map will no longer contain any elements.
Java Map.clear - 25 examples found. These are the top rated real world Java examples of java.awt.Map.clear extracted from open source projects. You can rate examples to help us improve the quality of examples.