Because we'd like our Lists to be generic in the type of element they contain, we'd like our static factory method to take an argument of type variable t and return an instance of List.
因为我们希望List成为其所包含的元素类型的泛型,所以希望静态factory方法带有类型变量t这一参数并返回List的实例。
I also present a useful feature for variable-length argument lists, the gather and scatter operators.
此外还有一个非常有用的功能:可变长度的列表,聚集和分散运算符。
应用推荐