android-apt plugin is incompatible with the android gradle plugin
Android Gradle 2.3開始停止維護android-apt
android-apt plugin is incompatible with the android gradle plugin
Android Gradle 2.3開始停止維護android-apt
通配符wildcard字元'?'在使用上配合extends(配合class)或是implements(配合 interface)
可以用來控制輸入的類型(Upper Bounded Wildcards)
當你的需要輸入不同類型的參數, 而不需要在使用時轉型
就該使用泛型Generics
Collection的拜訪有很多方式
其中一種就是使用foreach
Collections的排序最基本的就是用Collections的sort方法
Collections API是用來對Collection做處理的工具類別
像是排序, 搜尋, 比對不同Collection, 指定資料等等
Properties也是Map的一種
是一種線性安全的方法
Map的特性是以Key Value的方式來存放資料
一個Key對應一個Value