svoid clear(Collection c) { if (c != null) c.clear(); } svoid clear(Map map) { if (map != null) map.clear(); }