集合知識點整理及其他

集合思維導圖 collection 繼承了iterator接口,使其增強了for循環(foreach) collection接口的remove()方法與iterator接口的remove()方法的區別 1.參數方面: collection的remove()方法有參 iterator的remove()方法無參 2.性能方面: collection的remove()方法效率比iterator的remo
相關文章
相關標籤/搜索