removeAll

removeAll 方法會從對映中刪除所有元素。

可見性
Public
簽章
void removeAll()

回饋