List<RowStyle> rowStyles = new ArrayList<>();
时间: 2023-11-17 11:06:21 浏览: 157
Asp.net GridView隔行变色和光棒效果2种方法实现
This line of code creates a new ArrayList object called "rowStyles" that can hold objects of type "RowStyle". The "<>" notation indicates that this is a generic ArrayList, meaning it can hold any type of object as long as it is a subclass of "RowStyle". The "List" interface is implemented by ArrayList, which means that ArrayList can be used in any context where a List is expected.
阅读全文